Commit b08c7f3
refactor(tables): rename wrapper to <Table>, grid to <TableGrid>
Match the naming convention used elsewhere in the workspace
(workflow.tsx → <Workflow>, base.tsx → <Base>, logs.tsx → <Logs>).
- tables-detail.tsx → table.tsx (exports <Table>)
- components/table/ → components/table-grid/ (exports <TableGrid>)
- components/table-grid/table.tsx → table-grid.tsx
- Drop <ExecutionDetailsSidebar> — was a 3-line passthrough
(executionId → useLogByExecutionId → <LogDetails>); inline directly
into table.tsx where it's used.
- Flatten components/run-status-control/ folder to a single
components/run-status-control.tsx file. 25-line single-use component
with no internal subdirs — folder was overhead. Matches knowledge's
max-badge.tsx precedent.
Net: 1 wrapper rename + grid rename + 2 folder collapses, all imports
updated. The mothership chat callsite updates from <TablesDetail
embedded> to <Table embedded>.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5b5a6e1 commit b08c7f3
24 files changed
Lines changed: 28 additions & 50 deletions
File tree
- apps/sim/app/workspace/[workspaceId]
- home/components/mothership-view/components/resource-content
- tables/[tableId]
- components
- execution-details-sidebar
- run-status-control
- table-grid
- cells
- headers
- table
- hooks
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
| 8 | + | |
10 | 9 | | |
Lines changed: 0 additions & 1 deletion
This file was deleted.
0 commit comments