Version consent in localStorage (v1 + legacy migrate), point banner at Terms analytics section, and document the always-on vs optional policy. Banner/provider shipped in #42.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Closes #37.
Core banner + consent helpers already landed with #42 (
AnalyticsConsentBanner, context, page views always on / custom events gated).This PR finishes the ticket:
localStoragekeyhesychia_analytics_consent_v1(migrates legacyhesychia_analytics_consent)/terms_of_service/#analytics(pair with #43 for public ToS + analytics section)Test plan
npm run test:ci -- --testPathPattern='analyticsConsent|AnalyticsConsentBanner|analytics.test'11b5734812to9c814dcc60