Commit b47dd96
refactor(features): inline workspace/inbox wrappers, drop dead helper
WorkspacePage and InboxPage were pass-through wrappers around
WorkspaceRevampPage and QueueCommandCenterPage respectively — artifacts
of the now-completed revamp migration. Collapses the indirection.
Workspace:
- Renames WorkspaceRevampPage.tsx/.css to WorkspacePage.tsx/.css,
overwriting the former wrapper
- Renames the exported component, prop interface, className tokens
(workspace-revamp* -> workspace-page*) and data-testid accordingly
- Prunes dead CSS selectors that targeted the "standard" rail branch
removed in the prior flag cleanup: .workspace-revamp__rail,
.workspace-revamp__playbook, the --solo modifier, and the responsive
rail-reorder rule. Simplifies the grid to single-column
- Deletes WorkspacePage.test.tsx — it only exercised the wrapper
pass-through; WorkspacePage behavior is covered by
renderActiveTab.test and the DraftTab suite
- Updates features/workspace/index.ts to a single export
- Updates the stale WorkspaceRevampPage reference in the
WorkspaceQueueContext.css header comment
Inbox:
- Replaces the 23-line InboxPage wrapper with a single re-export:
export { QueueCommandCenterPage as InboxPage } from "../revamp"
- Deletes InboxPage.test.tsx — behavior is covered by the existing
QueueCommandCenterPage test suite
Flags:
- Removes the unused getEnabledRevampFlags export from flags.ts. It
had no consumers anywhere in src/ and was a leftover from the earlier
preview-mode messaging system
Net: 174 removed / 25 added across 10 files. No behavioral change;
renders and routes are identical.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a61055f commit b47dd96
10 files changed
Lines changed: 25 additions & 174 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
0 commit comments