Skip to content

ref(tables): move GridEditable and the explore tables onto the shared shell - #121179

Open
JoshuaKGoldberg wants to merge 1 commit into
de-1392-03-core-table-shellfrom
de-1392-04-grid-family
Open

ref(tables): move GridEditable and the explore tables onto the shared shell#121179
JoshuaKGoldberg wants to merge 1 commit into
de-1392-03-core-table-shellfrom
de-1392-04-grid-family

Conversation

@JoshuaKGoldberg

@JoshuaKGoldberg JoshuaKGoldberg commented Aug 4, 2026

Copy link
Copy Markdown
Member

Stacked on top of #121178 -> #121177 -> #121176.

GridEditable and the explore table kit were two halves of one component: explore/components/table imported Grid, GridBody, GridHeadCell and friends straight out of gridEditable/styles and re-exported them under aliases. This points both at core/table:

  • useTableStyles is deleted; its callers go through the shell
  • the second resize drag loop and second track builder are gone
  • GridEditableEmptyData/Error/Loading collapse into the shell's status cell
  • useVirtualRows centralizes the virtualizer, which now spaces rows with padding rather than absolute offsets, so rows stay in flow for subgrid

Interestingly, GridEditable's public API is unchanged. It's just the internals that use the shared table stuff now.

Split out of #120745, as part of DE-1392 & DE-1405. See that PR for the full end state.

@linear-code

linear-code Bot commented Aug 4, 2026

Copy link
Copy Markdown

DE-1392

DE-1405

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-22cl7acun.sentry.dev

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 94.06% 94.06% ±0%
Typed 137,052 136,996 🔴 -56
Untyped 8,653 8,652 🟢 -1
🔍 1 new type safety issue introduced

Non-null assertions (!) (1 new)

File Line Detail
static/app/components/tables/gridEditable/index.tsx 137 props.columnOrder[columnIndex]!

This is informational only and does not block the PR.

@JoshuaKGoldberg JoshuaKGoldberg changed the title ref(tables): Move GridEditable and the explore tables onto the shared shell ref(tables): move GridEditable and the explore tables onto the shared shell Aug 4, 2026
… shell

GridEditable and the explore table kit were two halves of one component: the
kit imported `Grid`, `GridBody`, `GridHeadCell` and friends straight out of
`gridEditable/styles`, so the de-facto shell was shared but the geometry,
resize drag and column-track model were not.

Points both at `core/table`:

- `useTableStyles` is deleted; its callers go through the shell
- the second resize drag loop and second track builder are gone
- `GridEditableEmptyData`/`Error`/`Loading` collapse into the shell's status cell
- `useVirtualRows` centralizes the virtualizer, which now spaces rows with
  padding rather than absolute offsets so rows stay in flow for subgrid

GridEditable's public API is unchanged, so its 61 importers are untouched.

Ref DE-1392
Ref DE-1405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant