Repository navigation
refactor(datagrid-web): move src to feature layout - #2579
Merged
Merged
Conversation
This was referenced Nov 24, 2026
This comment has been minimized.
This comment has been minimized.
This was referenced Nov 24, 2026
Base automatically changed from
iobuhov/datagrid-structure-02-personalization
to
main
November 24, 2026 15:39
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es/columns Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…__tests__ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move declarations between files, without changing them: - sorting.ts types (SortInstruction, SortDirection, SortRule) fold into columns/GridColumn.ts (GridColumn <-> sorting cycle) - IColumnParentStore moves to ColumnStore.tsx, and the sort rule converters move to ColumnGroupStore.ts, their only caller (ColumnGroupStore -> ColumnsSortingStore -> ColumnStore cycle) - ColumnPersonalizationSettings and ColumnFilterSettings move from personalization-settings.ts to columns/column-settings.ts - SelectionMethod moves from row-interaction/base.ts to features/core/configs/Datagrid.config.ts Other edits are import lines only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iobuhov
force-pushed
the
datagrid-feature-layout
branch
from
November 24, 2026 15:40
802b05b to
d4b953b
Compare
Contributor
AI Code Review
What was reviewed
Skipped (out of scope): CI: pending: sigridci, Run code quality check, Read versions file · unrelated failures: security/snyk (7 tests failed in a dependency scan; this PR changes no dependencies) Notes
Positives
|
iobuhov
enabled auto-merge (rebase)
November 24, 2026 15:47
r0b1n
approved these changes
Nov 24, 2026
yordan-st
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Move only. This PR takes
datagrid-web/srcfrom the layout onmain(after #2560) to the final feature layout. Every file moves once, straight to its final place. It replaces the structure stack #2562–#2571 and the layout PRs #2574–#2576.Each commit covers one area and contains only renames (
git mv) and import-line edits, so it is easiest to review commit by commit. The only exception is the last commit, which moves declarations between files to break two import cycles. The declarations themselves do not change.Commits
core/→features/core/: configs, services,CORE_TOKENS, injection hookscolumns, sorting and filtering →
features/columns/: column components and stores,ColumnsSortingStore,ColumnFilterStore,GridColumn, the column/grid modelsdatasource →
features/datasource/: loaders,RefreshStatus, rows model, params and loader controllerspagination →
features/pagination/:Pagination,useInfiniteControl, page and grid size storesselection →
features/selection/: checkbox cell and header,select-all/,counter/,SelectionGateStudio Pro preview →
editor/:ColumnBase,ColumnPreview,DatagridPreview.scssgeneric components →
ui/:CellElement,ExportAlert,PseudoModal,WidgetContent,CellComponent,icons/composition → the
src/root, next toDatagrid.tsx: containers,useDatagridContainer,useDataGridJSActions,Widget,WidgetRoot+ VM,WidgetHeader,WidgetTopBar,WidgetFooter,Grid,GridBody,RowsRenderer,Row,DataCell,GridHeader,RowSkeletonLoadercomposition specs and
test-utils→src/__tests__/declaration moves:
sorting.tstypes fold intocolumns/GridColumn.tsIColumnParentStoremoves toColumnStore.tsxColumnGroupStore.ts, their only callercolumns/column-settings.tsSelectionMethodmoves tofeatures/core/configs/Datagrid.config.tsThis removes the
GridColumn ↔ sortingandColumnGroupStore → ColumnsSortingStore → ColumnStore → ColumnGroupStorecycles. The commit also re-sorts a few import lines.The final tree is identical to the head of #2576:
git diffbetween them is empty.Chain
#2560 → this PR → #2577 (tokens, bindings and hooks per feature) → #2578 (boundary lint rule)
Checks
Verified locally in
packages/pluggableWidgets/datagrid-web:tsc --noEmitpasses after every commit.pnpm run lint(0 errors, the same 10 warnings as the base),pnpm run test(22 suites, 263 tests pass) andpnpm turbo buildpass.srcfinds no import cycles.No changelog entry, because there is no user-facing change.
🤖 Generated with Claude Code