diff --git a/app/config/analytics_defaults.py b/app/config/analytics_defaults.py index 1ca2595..7fdeae4 100644 --- a/app/config/analytics_defaults.py +++ b/app/config/analytics_defaults.py @@ -17,7 +17,7 @@ DO NOT commit actual keys to this file - they are injected at build time only. # PostHog Configuration # Replaced by GitHub Actions: POSTHOG_API_KEY_PLACEHOLDER POSTHOG_API_KEY_DEFAULT = "%%POSTHOG_API_KEY_PLACEHOLDER%%" -POSTHOG_HOST_DEFAULT = "https://app.posthog.com" +POSTHOG_HOST_DEFAULT = "https://us.i.posthog.com" # Sentry Configuration # Replaced by GitHub Actions: SENTRY_DSN_PLACEHOLDER diff --git a/app/templates/reports/export_form.html b/app/templates/reports/export_form.html new file mode 100644 index 0000000..e69de29 diff --git a/check_routes.py b/check_routes.py new file mode 100644 index 0000000..d855140 --- /dev/null +++ b/check_routes.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 +"""Check if export routes are registered""" +from app import create_app + +app = create_app() + +print("\n=== Export Routes ===") +with app.app_context(): + for rule in app.url_map.iter_rules(): + if 'export' in str(rule): + print(f"āœ“ {rule}") + +print("\nāœ… Routes are registered!") +print("\nTo access the new feature:") +print("1. Restart your Flask app: python app.py") +print("2. Go to: http://localhost:5000/reports") +print("3. Click on: 'Export CSV' button") +print("4. Or visit directly: http://localhost:5000/reports/export/form") + diff --git a/docs/features/CSV_EXPORT_ENHANCED.md b/docs/features/CSV_EXPORT_ENHANCED.md new file mode 100644 index 0000000..e69de29