v1.14.1 — dev "view as user" toggle
- Devs can now flip a `view as user` toggle in the header to render the consumer Home / hide dev-only surfaces (Abilities tab, FieldStats panel, "show all encounters") — without D…
Added
- Devs can now flip a
view as usertoggle in the header to render the consumer Home / hide dev-only surfaces (Abilities tab, FieldStats panel, "show all encounters") — without DB poking. Useful for testing the non-dev experience against the dev static's data. MeProvider(web/src/me.jsx) now exposesactual_is_developer(the real status) alongsideme.is_developer(which gets masked tofalsewhen the toggle is on). All existing consumers transparently switch to the consumer view; only the toggle button itself reads the real flag.- State persisted in
localStorageso the toggle survives reloads. When on, aviewing as useraccent pill appears in the header brand so you don't forget you're in the masked mode. - Pure frontend change — no Python touched, no API touched, no tests broken.