Add General tab to team settings with team rename #501

Openpriya-raman wants to merge 2 commits into main from feat/team-settings-general· opened yesterday
+85−0
priya-raman commented yesterdayAuthor

What

Adds a General tab under team settings where admins can rename their team.

How

  • New route app/teams/[teamId]/settings/general
  • renameTeam Server Action, wired up with useActionState so we get a pending state and inline errors
  • Revalidates the team layout so the sidebar switcher picks up the new name, then redirects back with ?saved=1

Testing

Renamed my local team a few times, sidebar updates. Toast for ?saved=1 comes in a follow-up.

Closes #412

priya-raman added 2 commits yesterday
Add general settings route for teams42ddcad
Add renameTeam server action and form41ddc94

Review required

Review the changes, then submit to get graded.

Some checks haven’t completed yet

1 check: dojo / review-grader

Keyboard shortcuts

Site-wide

Focus the search bar
/
Show this dialog
?

Pull request

Move to the next file
j
Move to the previous file
k
Filter changed files
t
Comment on the selected lines
c
Select a range of lines
Shiftclick