Feature: Role-Style Dashboard Entry Selection (Interns / Team Dashboard)
Description
Introduce a role-style entry selection at the dashboard level with two scoped views: Interns and Team Dashboard. This change reorganizes UI and navigation only, ensuring a clean separation between intern management and team dashboard functionality.
Important Rules
-
❌ Do NOT modify backend or API logic -
❌ Do NOT break existing Team Dashboard functionality -
✅ UI, layout, routing, and component-composition changes only -
✅ Work at dashboard / layout level
Desired Behavior
1. Entry Selection Screen
- On initial dashboard load, show two selectable cards/buttons:
- Interns
- Team Dashboard
- Styled like action/role cards (Volunteer-style)
- Clicking a card opens its respective dashboard view
2. Interns View
When Interns is selected, render ONLY:
-
Add Intern component
- Search intern by name
- Add intern logic unchanged
-
Interns List component
- Shows added interns
- Supports search/remove (existing behavior)
- Team stats
- Create Team
- Team verification UI
- Team list
3. Team Dashboard View
When Team Dashboard is selected:
- Render the existing Team-wise Standup Submission Dashboard as-is
- Team stats
- Create Team
- Team list
- Intern assignment
- Verification controls
Navigation Rules
- Only one view visible at a time
- Provide simple navigation:
- Tabs OR
- Back button OR
- Top-level selector buttons
- View state stored via:
activeView: "interns" | "teams"