diff --git a/docs/superpowers/specs/2026-03-23-named-admins-design.md b/docs/superpowers/specs/2026-03-23-named-admins-design.md index 83d1f60..cd8f9ee 100644 --- a/docs/superpowers/specs/2026-03-23-named-admins-design.md +++ b/docs/superpowers/specs/2026-03-23-named-admins-design.md @@ -5,7 +5,7 @@ ## Overview -Replace the single shared `ADMIN_KEY` with named admin accounts, each with their own key. Per-admin preferences are stored in namespaced `localStorage`. A real-time "who is watching" presence bar shows which admins are on the same page. +Replace the single shared `ADMIN_KEY` with named admin accounts, each with their own key. Per-admin preferences are stored in namespaced `localStorage` (except theme, which stays shared — see Edge Cases). A real-time "who is watching" presence bar shows which admins are on the same page. ## Requirements @@ -84,7 +84,7 @@ A utility function (e.g. in `frontend/src/utils/adminPrefs.js`): ### One-time migration -On login, if old un-namespaced keys exist (e.g. `history-filter`), copy them to the namespaced version (`alice:history-filter`) and delete the originals. This preserves existing preferences for the first admin who logs in after the upgrade. +On login, if old un-namespaced keys exist (`history-filter`, `history-show-limit`), copy them to the namespaced versions (`alice:history-filter`, `alice:history-show-limit`) and delete the originals. This preserves existing preferences for the first admin who logs in after the upgrade. --- @@ -115,7 +115,7 @@ On login, if old un-namespaced keys exist (e.g. `history-filter`), copy them to ### Frontend component — `PresenceBar` - Renders below the `