Repository navigation
Conversation
This was referenced Nov 24, 2026
This comment has been minimized.
This comment has been minimized.
…ures/core Move the DI containers, useDatagridContainer, useDataGridJSActions and the components that lay out several features' pieces (Widget, WidgetRoot, WidgetHeader, WidgetTopBar, WidgetFooter, Grid, GridBody, RowsRenderer, Row, DataCell, GridHeader, RowSkeletonLoader) to the src root, next to Datagrid.tsx. Their specs move to src/__tests__. Move the shared foundation (configs, services, tokens, injection hooks) from core/ to features/core/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iobuhov
force-pushed
the
datagrid-layout-2-root
branch
from
November 24, 2026 15:26
f77a4e9 to
5c9cf11
Compare
Contributor
AI Code Review
What was reviewed
Skipped (out of scope): CI: pending: code/snyk, triage · unrelated failures: security/snyk (external scanner, no dependency changes in this PR) Questions
Positives
|
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 2/5 of the datagrid-web layout follow-up. Move only: files are moved with
git mv, and the only edits are import paths, withimport-x/orderre-sorting those lines. One import inuseInfiniteControl.tsxchanges from the package self-reference@mendix/datagrid-web/src/core/hooks/injection-hooksto a relative path.The composition goes directly into the
src/root, next toDatagrid.tsx. The shared foundation moves tofeatures/core/, andcore/is gone after this PR.Moves
Each of these lays out pieces from several features:
GridHeaderrenders the columns' header parts and selection'sCheckboxColumnHeader.RowSkeletonLoaderrenders columns'SelectorCell, and its only importer isGridBody.useDataGridJSActionsis used only byDatagrid.tsx.After this PR,
ui/holds only generic pieces:CellElement,PseudoModal,WidgetContent,CellComponentandicons/.features/core/tokens.tsstill imports feature types. #2577 fixes that.Stack
Built on top of the structure stack, #2571 (
iobuhov/datagrid-structure-12-test-utils).features/core: refactor(datagrid-web): layout 2/5: composition to src root, core to features/core #2575tokens.tsas each feature's public surface: refactor(datagrid-web): layout 3/4: tokens.ts as each feature's public surface #2577Checks
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