Files
sure/app/javascript/controllers
Chakib d5d450fc1a Optimize privacy mode: move toggle to breadcrumbs bar, fix flash, improve UX
- Move privacy toggle button from dashboard-only to global breadcrumbs bar
  (desktop) and mobile top nav so it's accessible on every page
- Add _privacy_mode_check.html.erb inline script in <head> to prevent
  flash of unblurred content on first page load (same pattern as dark mode)
- Improve Stimulus controller: add iconOn/iconOff targets to toggle between
  eye/eye-off icons; update aria-pressed on all toggle targets simultaneously
- Remove hover-unblur (blur(4px) on hover) from CSS for security; add
  pointer-events: none to prevent interaction with blurred values
- Move i18n key from pages.dashboard scope to layouts.application scope;
  add privacy_mode translation to all 12 locales (EN, DE, FR, ES, CA,
  NL, NB, PT-BR, RO, TR, ZH-CN, ZH-TW)
2026-03-01 17:46:50 +01:00
..
2025-01-16 14:36:37 -05:00