Feat/dashboard view selector interns teams
Closes #9 (closed)
🔀 MR: Add Role-Style Dashboard View Selector (Interns / Team Dashboard)
Summary
This MR introduces a role-style dashboard entry selection that allows users to switch between Interns and Team Dashboard views. It improves clarity and UX by cleanly separating intern management from team-related workflows.
Changes
- Added a top-level View Selector with two options:
- Interns
- Team Dashboard
- Refactored dashboard layout to render only one scoped view at a time
- Created dedicated dashboard compositions:
-
InternsDashboard(Add Intern + Interns List) -
TeamsDashboard(existing team dashboard UI)
-
- Preserved all existing logic and styles
Scope
- Dashboard layout / composition only
- No backend or API changes
- No changes to intern or team business logic
UX Notes
- Clean separation of concerns
- No duplicate rendering
- Easy switching between views
- Existing styles and behaviors preserved
Testing
- Manual verification:
- Entry selector renders correctly
- Interns view shows only intern-related components
- Team Dashboard renders unchanged
- Switching views does not reset or break state unexpectedly
Notes
- UI/navigation-only refactor
- Safe, scalable, and regression-free