You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert: Team Settings Tabbar layout and improve Sidebar NavItems (#177)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Replaces the tabbed `/settings` route with standalone `/general` and
`/keys` pages and updates redirects, URLs, layout config, and sidebar
structure.
>
> - **Routing & URLs**:
> - Remove `settings` parallel routes; add dedicated `pages` at
`.../[teamIdOrSlug]/general/page.tsx` and
`.../[teamIdOrSlug]/keys/page.tsx`.
> - Update `PROTECTED_URLS` to include `GENERAL` and `KEYS` (remove
`SETTINGS`).
> - Adjust `TAB_URL_MAP` in `src/app/dashboard/route.ts` to point
`settings/team` to `GENERAL` and add `keys` mapping.
> - Update layout configs to add `/dashboard/*/general` and
`/dashboard/*/keys` (remove `/dashboard/*/settings`).
> - **Sidebar**:
> - Replace `Settings` link with separate `General` and `API Keys`
links; reorder `Members`; update `activeMatch` patterns.
> - Allow `SidebarNavItem.icon` to accept custom function components;
use `SettingsIcon` for General.
> - Regroup billing links under `billing` group and adjust ordering.
> - **UI Pages**:
> - Implement `General` (profile, name, info cards) and `API Keys`
(table and create dialog) pages within `Frame` wrappers.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
cef069b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
0 commit comments