Follow-on from beta / Tianji work (#35): add a cookie / analytics consent UX for Hesychia, modeled on dta_webapp AnalyticsConsentBanner.
dta_webapp
AnalyticsConsentBanner
Users need a clear grant/deny choice for behavioral analytics; copy should match Hesychia branding and Terms.
No consent banner or consent storage exists in llm-fe today. Tracker loads whenever the production build runs.
llm-fe
Desired policy (align with DTA after #46 unless legal says otherwise):
(No advertising cookies; JWT auth already avoids cookie-based session — this is analytics consent, not auth cookies.)
localStorage
AnalyticsConsentBanner.tsx
analyticsConsent.ts
No dependencies set.
The note is not visible to the blocked user.
Summary
Follow-on from beta / Tianji work (#35): add a cookie / analytics consent UX for Hesychia, modeled on
dta_webappAnalyticsConsentBanner.Users need a clear grant/deny choice for behavioral analytics; copy should match Hesychia branding and Terms.
Context
No consent banner or consent storage exists in
llm-fetoday. Tracker loads whenever the production build runs.Desired policy (align with DTA after #46 unless legal says otherwise):
(No advertising cookies; JWT auth already avoids cookie-based session — this is analytics consent, not auth cookies.)
Requirements
localStorage(or equivalent) with a versioned keyTests
Acceptance criteria
Depends on / related
References
dta_webappAnalyticsConsentBanner.tsx,analyticsConsent.ts, dta_webapp#46