Repository navigation
Conversation
This was referenced Nov 24, 2026
This comment has been minimized.
This comment has been minimized.
iobuhov
force-pushed
the
datagrid-layout-3-misplaced
branch
from
November 24, 2026 15:26
1bda427 to
e350d0c
Compare
iobuhov
force-pushed
the
datagrid-layout-4-tokens
branch
from
November 24, 2026 15:26
422b4dd to
1a933fd
Compare
This comment has been minimized.
This comment has been minimized.
iobuhov
changed the base branch from
datagrid-layout-3-misplaced
to
datagrid-feature-layout
November 24, 2026 15:35
iobuhov
force-pushed
the
datagrid-layout-4-tokens
branch
from
November 24, 2026 15:35
1a933fd to
711dd6e
Compare
This comment has been minimized.
This comment has been minimized.
This was referenced Nov 24, 2026
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>
Each feature now owns a tokens.ts with its token objects, the injection hooks over them and the types other features need, plus its binding group (<feature>.bindings.ts). features/core keeps only CORE_TOKENS and their hooks. The root containers compose the feature binding groups in the same order as before. Cross-feature type imports go through tokens.ts with import type. Remove the uncalled useQueryService and useClickActionHelper hooks. 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
iobuhov
force-pushed
the
datagrid-layout-4-tokens
branch
from
November 24, 2026 15:40
711dd6e to
07011b1
Compare
Contributor
AI Code Review
What was reviewed
Skipped (out of scope): CI: pending: triage · unrelated failures: security/snyk (external scanner; the code and license Snyk checks pass). No build or test workflows appear in the check list, so they probably haven't run yet. Questions
Positives
|
This branch has not been deployed
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
Part 3/4 of the datagrid-web restructure. Code change, no behaviour change. This is not a move-only PR.
Each feature's public surface is now one
tokens.ts, which holds:There are no
index.tsbarrels.features/coreno longer imports any feature or the composition root.Changes
DG_TOKENSis split into atokens.tsper feature:COLUMNS_TOKENS,DATASOURCE_TOKENS,DATA_EXPORT_TOKENS,EMPTY_MESSAGE_TOKENS,PAGINATION_TOKENS,PERSONALIZATION_TOKENS,ROW_INTERACTION_TOKENSandSELECTION_TOKENS.SA_TOKENSmoves toselection/select-all/tokens.ts, and the root VM token moves tosrc/tokens.ts(ROOT_TOKENS).CORE_TOKENSstays infeatures/core/tokens.tswithoutcolumnsStoreandcolumn, which move toCOLUMNS_TOKENS. Token keys and token names (the brandi description strings) are unchanged. Token generics useimport type.core/hooks/injection-hooks.tsand the per-folderinjection-hooks.tsfiles are merged into the matchingtokens.ts.columns/tokens.tsre-exportsColumnGroupStore,IColumnGroupStore,GridColumn,ColumnId, the sort types and the column settings types.pagination/tokens.tsre-exportsGridSizeStore. The type-only cross-feature imports (datasource, data-export, personalization -> columns; columns -> pagination) now useimport typefrom those files.Datagrid.container.tsinto<feature>.bindings.tsfiles. TheBindingGroupinterface moves tofeatures/core/binding-group.ts, with aDepstype parameter so that a feature declares only the init dependencies it reads. The container keeps a root group (mainGate, config, export progress, the root VM) and composes the feature groups.useQueryServiceanduseClickActionHelperhad no callers.Why the behaviour is unchanged
brandi tokens are identified by object, so moving a token to another object does not change any binding. The binding groups keep the original order of
initandpostInitsteps:Only
injectanddefinecalls change groups, and their order does not matter. The filter group is now part of datasource, because the combined filter feeds the datasource query.SelectActionsProvidermoves from the row-interaction group to selection, which ownsselectActions.Chain
srcto the feature layout (move only): refactor(datagrid-web): move src to feature layout #2579Checks
Verified locally at this commit in
packages/pluggableWidgets/datagrid-web:tsc --noEmit,pnpm run lint(0 errors, the same 10 warnings as the base),pnpm run test(22 suites, 263 tests pass) andpnpm turbo build. A dependency-graph check oversrcfinds no import cycles. No changelog entry, because there is no user-facing change.🤖 Generated with Claude Code