hm_ai_qc_report_tool/modules/campaigns
nickviljoen 392e0e5864 Fix campaign upload: threading context, progress bar, auto-refresh table
- Fix background parsing thread: pass app reference explicitly instead of
  trying to access current_app inside the thread (was silently failing)
- Add progress bar with animated stages during upload and parsing
- Add data-id/data-status attributes to table rows for auto-polling
- On page load, automatically poll any pending/parsing rows and update
  their status badges in-place (fixes stale "Pending" on tab return)
- Immediately inject new row into table after upload so user sees it
  without needing to refresh
- Remove broken _parse_pricing_background function

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 18:03:13 +02:00
..
templates/campaigns Fix campaign upload: threading context, progress bar, auto-refresh table 2026-03-26 18:03:13 +02:00
__init__.py Add campaign presentation management and global pricing reference 2026-03-26 16:12:22 +02:00
blueprint.py Add campaign presentation management and global pricing reference 2026-03-26 16:12:22 +02:00
pricing_parser.py Add campaign presentation management and global pricing reference 2026-03-26 16:12:22 +02:00
routes.py Fix campaign upload: threading context, progress bar, auto-refresh table 2026-03-26 18:03:13 +02:00
services.py Fix campaign upload: threading context, progress bar, auto-refresh table 2026-03-26 18:03:13 +02:00