Repository navigation
Description
Problem Statement
Users who belong to teams have no page where they can see which teams they are part of. This makes the app's team-support functionality difficult to discover and use.
Solution
Add a "My Teams" page to the authenticated account area. It lists the signed-in user's teams, showing each team's name and description, and identifies teams where that user is a manager. Users without team memberships see a clear empty state.
User Stories
- As a signed-in user, I want to open "My Teams" from the account menu, so that I can find my team memberships.
- As a signed-in user, I want to see the name of each team I belong to, so that I can recognise my teams.
- As a signed-in user, I want to see each team's description, so that I can understand what the team is for.
- As a user who belongs to multiple teams, I want to see all of my teams on the page, so that I can review my memberships in one place.
- As a team manager, I want my manager status shown for the relevant team, so that I can distinguish that role from ordinary membership.
- As a user who belongs to no teams, I want a clear empty state, so that I know I have no current team memberships.
- As a user who belongs to no teams, I want "My Teams" to remain accessible, so that I can find the page if I am added to a team later.
- As a user, I want the page to show only my own team memberships, so that I cannot use it to inspect other users' team associations.
- As a user, I want the page not to expose other members' skill assessments, so that my team view does not disclose their personal assessment data.
- As a signed-out visitor, I should not be able to view a user's team memberships, so that account information remains private.
- As a user who has not accepted the required terms, I should be directed through the existing terms-acceptance flow, so that account pages behave consistently.
- As a signed-in user, I want a direct "My Teams" link separate from "Overview", so that accessing teams does not change the existing Overview behaviour.
- As an administrator, I want to continue creating teams and assigning members through the existing process, so that the initial page can use current team data without a new creation workflow.
Implementation Decisions
- Use the existing User, Team, and TeamMembership models. No new model or schema change is needed for this page.
- A user may belong to multiple teams, and a team may have multiple managers. Manager status is per membership.
- Keep the page in the authenticated account area and add a direct account-menu link.
- Display each team's name, description, and the current user's manager status where applicable.
- Do not display team rosters or other members' skill assessments.
- Continue administrator-managed team creation and membership assignment initially. Record self-service team creation as a future question.
- Do not add manager actions to this page in the initial scope.
Testing Decisions
- Test externally visible behaviour at the account-page request and rendered-template level; avoid tests coupled to internal implementation details.
- Cover authentication and the existing terms-acceptance requirement.
- Verify that a user sees all and only their own teams, including their manager label where applicable.
- Verify the empty state for a user with no team memberships.
- Verify the account-menu link points to the page without changing the existing Overview route behaviour.
- Follow existing account-view, navigation, and team-model test patterns.
Out of Scope
- Creating teams through the user-facing interface.
- Adding, inviting, or removing team members.
- Promoting or demoting team members.
- Showing team rosters or members' assessments.
- Aggregating team assessments or displaying a team skill wheel.
- Invitations for people without existing accounts.
Further Notes
The initial request proposed a "My Teams" destination from the account dropdown and a list of the current user's teams. A future manager workflow may allow managers to add or invite existing users, remove members, and promote or demote members, while ensuring a team always has at least one manager. These actions need a separate design and are not part of this page. Self-service team creation should be considered separately; teams will initially be created and populated by administrators.
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields✅ Done
Activity
mjademitchell commentedon Apr 30, 2026
Hi I cant assigned myself but I am building this on my fork
TinyMarsh commentedon Dec 1, 2026
Closing this as it is tackled by #840