feat(preferences): move global preferences to account menu (IFC-2929)
Merged
PA
4mo ago+216+216+012345678901234567890123456789-68-68-01234567890123456789
Summary
- The Global preferences entry point moves from a profile tab to a permission-gated item in the account menu (below Account settings), visible only with
manage_global_preferences. - The page becomes a standalone top-level route
/global-preferenceswith its own title, card framing, and breadcrumb. The old/profile/global-preferencesURL is intentionally not redirected (all in-repo references were updated); it falls into the/profilecatch-all like any unknown profile sub-path. - Removes the descriptive helper paragraphs from the user and global preference cards.
- Coverage: new account-menu component tests, tightened page/tab tests, and E2E for admin navigation and read-only enforcement (menu item hidden + direct URL shows the unauthorized screen).
- Documents two component-testing gotchas (tooltip pointer parking, collapsed-accordion unauthorized message) in
dev/guides/frontend/writing-component-tests.md.
Test plan
-
pnpm exec biome ci .,pnpm knip,pnpm exec betterer ciโ clean -
pnpm testโ 146 files / 1000 tests pass - CI E2E:
tests/e2e/profile/profile.spec.ts(admin menu โ page, read-only gating) - Manual: as admin, account menu โ "Global preferences" opens the standalone page
๐ค Generated with Claude Code