Vigil
← All news

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 user toggle 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 exposes actual_is_developer (the real status) alongside me.is_developer (which gets masked to false when 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 localStorage so the toggle survives reloads. When on, a viewing as user accent 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.