forecasting/frontend
jtricerolph 2a7ee1d6b8 Expand AI insight: fix broken competitor query, add continuity, 30-day horizon, holidays
- Fix gather_competitor_data() tier filter: it queried tier IN ('primary','secondary'),
  values that never exist (real values are 'own'/'competitor'/'market'), so the
  cheapest-competitor comparison has always silently returned nothing.
- Feed the previous insight back into the prompt so the model can note what's
  changed/resolved instead of repeating itself.
- Extend forecast horizon from 14 to 30 days; add a per-day revenue table
  alongside the existing occupancy table.
- Annotate the occupancy table with UK (England) bank holidays.
- Add a same-channel market-movement section (B.com vs B.com, rack vs rack)
  diffing rates against the last insight's snapshot, threshold £3.
- Add a parsed headline field + insight history list on the Dashboard,
  collapsed to headline/age and expandable to full content.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-24 18:03:31 +00:00
..
public Replace letter icons with Lucide PWA icons 2026-07-11 20:30:11 +00:00
src Expand AI insight: fix broken competitor query, add continuity, 30-day horizon, holidays 2026-07-24 18:03:31 +00:00
Dockerfile Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
index.html Force desktop viewport (width=1280) — info-heavy display not suited to responsive layout 2026-07-20 23:15:55 +00:00
nginx.conf Remove PWA nginx location blocks from forecasting 2026-07-14 08:45:33 +00:00
package-lock.json Make forecasting installable as a PWA 2026-07-11 11:27:00 +00:00
package.json Remove vite-plugin-pwa from forecasting frontend 2026-07-14 08:39:39 +00:00
tsconfig.json Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
vite.config.ts Remove vite-plugin-pwa from forecasting frontend 2026-07-14 08:39:39 +00:00