0c35531b8736d67514148022f4f747280a109ab7
After review, two additions to the multi-role UX section: 1. Replace static-priority post-login redirect with context-aware "go where the work is" via new user.getDefaultDashboard() — a juror+observer landing during an active jury round goes to /jury even though observer has no work; falls back to static priority when no role has actionable work. 2. Standardize the role switcher's location across all dashboards. Extract shared useRoleSwitcher hook + new RoleSwitcherPill that renders in the top-right of every layout, including admin (which currently puts switching in the bottom-left sidebar pill). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
99.5%
JavaScript
0.2%
Shell
0.2%
CSS
0.1%