1
0
Fork 0
polaris-task-force/src/components/ui
Z8MB1E 268d4bb117 feat(analytics): add first-party analytics collector, SDK, rollups, and admin dashboard
Phase 1 of replacing Microsoft Clarity with first-party usage analytics:
- Plain Postgres tables via shared DDL module (src/lib/analytics/schema.ts)
  executed by both the add_analytics_tables migration and the test bootstrap;
  test-db.ts drops them around drizzle push (composite-PK introspector bug)
- /api/collect beacon collector with IP/UA enrichment, retroactive login
  attribution, bot blocklist, per-IP rate limiting, strict validation
- Client SDK (src/lib/client-analytics): SPA pageviews, clicks, scroll depth,
  focus, data-track visibility, heartbeats; NEXT_PUBLIC_ANALYTICS_DEV=1 dev
  gate with console mirror; mounted beside Clarity in the two frontend layouts
- Hourly rollup + daily retention bins (payload analytics-rollup/-purge)
- Chronicle read progress/completion, wiki new-clicked/created, minigame
  route mapping custom events
- admin:analytics:manage permission (+ roles enum migration) and the
  /admin/analytics Payload view with six recharts-backed report panels
2026-10-14 12:12:53 -04:00
..
alert-dialog.tsx fix(ui): raise dialog and sheet z-indexes above map panes 2026-09-16 23:14:20 -04:00
alert.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
avatar.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
badge.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
breadcrumb.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
button.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
card.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
chart.tsx feat(analytics): add first-party analytics collector, SDK, rollups, and admin dashboard 2026-10-14 12:12:53 -04:00
checkbox.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
collapsible.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
combobox.tsx feat(ui): searchable combobox across data-driven dropdowns 2026-09-17 16:28:17 -04:00
command.tsx feat(ui): enhance shadcn dialog, tabs, tooltip, and command components 2026-08-17 22:18:31 -04:00
context-menu.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
dialog.tsx fix(mobile): meet the 24px tap-target floor across the app 2026-10-12 22:17:51 -04:00
dropdown-menu.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
input.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
item.tsx fix(mobile): resolve horizontal overflow and touch-only affordances 2026-10-12 20:17:21 -04:00
label.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
navigation-menu.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
popover.tsx feat(awards): add AwardCard and RibbonRack components for award display 2026-08-21 12:46:44 -04:00
progress.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
radio-group.tsx feat(ui): add shadcn switch and radio-group components 2026-08-19 20:40:46 -04:00
select.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
separator.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
sheet.tsx fix(ui): raise dialog and sheet z-indexes above map panes 2026-09-16 23:14:20 -04:00
sidebar.tsx fix(sidebar): ignore toggle shortcut while typing in inputs 2026-09-06 05:32:04 -04:00
skeleton.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
slider.tsx feat(missions): add a per-mission planning map with Arma markers 2026-10-04 02:53:21 -04:00
sonner.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
switch.tsx feat(ui): add shadcn switch and radio-group components 2026-08-19 20:40:46 -04:00
table.tsx feat(events): add global event log page 2026-09-07 05:07:51 -04:00
tabs.tsx fix(mobile): resolve horizontal overflow and touch-only affordances 2026-10-12 20:17:21 -04:00
textarea.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
toggle-group.tsx feat(missions): add a per-mission planning map with Arma markers 2026-10-04 02:53:21 -04:00
toggle.tsx feat(missions): add a per-mission planning map with Arma markers 2026-10-04 02:53:21 -04:00
tooltip.tsx feat(awards): finish award profile presentation 2026-08-21 15:40:33 -04:00
use-mobile.tsx style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00