Commit b3a537b
committed
refactor(dashboard): simplify sidebar and settings hierarchy
Collapse Billing and Organizations into a single Settings category with
three scoped sections (Workspace, Billing, Account). Sidebar top-level
goes from 6 to 4 categories.
Page merges:
- Fold /billing/cost-breakdown into /billing overview; consumption chart
and usage breakdown table now render below the usage stats. Components
and utils moved out of the cost-breakdown subdir.
- Merge /organizations/invitations into /organizations/members as a
tabbed page (?tab=invitations). Invitation files moved into members/.
- Fold /organizations/settings/websites into /organizations/settings via
a new WorkspaceWebsitesSection embedded in General settings.
- Delete /billing/cost-breakdown, /organizations/invitations, and
/organizations/settings/websites folders entirely.
Dropdown additions:
- Org selector dropdown now has Workspace settings + Billing quick
actions with a plan badge.
- Profile dropdown now has a Billing entry.
Fixes:
- Tabs component: internal activeValue state now syncs with the
controlled value prop via useEffect. Without this, URL-driven tab
changes left the indicator underline on the wrong tab (the "inverted"
active state users saw on Members/Invitations).
- Invitations pill tabs are now in a clean sticky toolbar instead of an
ugly double-bordered wrapper.
- Fix broken Invitation type import to pull from organizationAtoms.
Skeletons:
- Rewrite all settings page skeletons to match their real layouts:
MembersSkeleton, InvitationsSkeleton, MembersPageSkeleton,
ApiKeysSkeleton, GeneralSettingsSkeleton, DangerZoneSkeleton,
OrganizationsListSkeleton.
- All share a SettingsShell wrapper and use RightSidebar.Skeleton for
the sidebar column.
- Delete orphan list-skeleton.tsx.1 parent c6f1e43 commit b3a537b
File tree
31 files changed
+710
-874
lines changed- apps/dashboard
- app
- (main)
- billing
- components
- cost-breakdown
- utils
- organizations
- components
- invitations
- members
- settings
- api-keys
- danger
- websites
- components
- layout
- ui
31 files changed
+710
-874
lines changedLines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
Lines changed: 0 additions & 91 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 3 | | |
14 | 4 | | |
15 | 5 | | |
16 | 6 | | |
| 7 | + | |
17 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
24 | 67 | | |
25 | 68 | | |
26 | 69 | | |
| |||
59 | 102 | | |
60 | 103 | | |
61 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
62 | 132 | | |
63 | 133 | | |
64 | 134 | | |
| |||
140 | 210 | | |
141 | 211 | | |
142 | 212 | | |
143 | | - | |
| 213 | + | |
144 | 214 | | |
145 | 215 | | |
146 | 216 | | |
| |||
151 | 221 | | |
152 | 222 | | |
153 | 223 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
160 | 242 | | |
161 | | - | |
162 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
163 | 252 | | |
164 | 253 | | |
165 | 254 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| 165 | + | |
| 166 | + | |
164 | 167 | | |
165 | 168 | | |
166 | 169 | | |
| |||
Lines changed: 0 additions & 37 deletions
This file was deleted.
0 commit comments