Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…iobuhov/datagrid-feature-folders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lization 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>
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>
Contributor
AI Code Review
What was reviewed
Skipped (out of scope): snapshots (renames only), CI: pending: Run automated end-to-end tests, Run code quality check, sigridci · unrelated failures: security/snyk (external scanner, no code issues reported) Positives
|
This was referenced Nov 24, 2026
Collaborator
Author
|
Closing: replaced by the stacked restructure PRs. |
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
Restructures
packages/pluggableWidgets/datagrid-web/srcinto feature folders. Moves only: every file is moved withgit mv, and the only edits are import paths (plus prettier re-wrapping andimport-x/orderre-sorting of those import lines). No logic, names or exports change.Depends on #2553 and #2554. #2553 is already in
main. #2554 is merged into this branch so thathelpers/could be emptied. This diff will shrink once #2554 merges.Read it commit by commit. Each area is one commit, and git shows every file as a rename (
git diff --stat -M: 98 renames, 8 files with import-line edits only, nothing else).New tree
helpers/,components/,model/,utils/,src/typings/andfeatures/base/are gone. The generated XML typings stay in the package-leveltypings/.src/typings/held only hand-written files, so it was removed.Placement decisions and deviations
components/Pagination.tsx→features/pagination/Pagination.tsx, notfeatures/pagination/components/. This matches the existing feature folders, such asdata-export/ExportProgressDialog.tsx. Subfolders stay only where a group already existed (loader/,storage/,icons/). Core keeps itsconfigs/,containers/,hooks/andservices/subfolders.useDataGridJSActions→core/hooks/. It is widget-wide, because it wires both the reset-filters and clear-selection external events.grid.model.ts→features/columns/. It builds the grid-template-columns style fromColumnGroupStoreandGridColumn.GridSize.store.ts→features/pagination/. It importspagination.config, bumps pages for virtual scrolling, and is used mainly byuseInfiniteControl.features/base/WidgetRoot.viewModel.ts→ui/, next toWidgetRoot.tsx, its only view.typings/CellComponent.ts→ui/. Its only importers areRowandDataCell.typings/static-info.ts→features/filtering/. It holds the filters channel info and is imported byColumnFilterStoreandColumnGroupStore. Columns already depend on filtering.typings/sorting.tsandtypings/personalization-settings.tskeep their basenames inside their features (sorting/sorting.ts,personalization/personalization-settings.ts).utils/test-utils.tsx→src/__tests__/test-utils.tsx, next to the existingsnapshot.tstest fixture.ui/DatagridPreview.scss→features/preview/, soui/is now the generic components folder.Checks
srcrefers to them, apart from historical notes in already-completed spec changes, which were left as they are. The one package-absolute self-import (@mendix/datagrid-web/src/...inuseInfiniteControl) was updated.tsc --noEmit,pnpm run lint(0 errors, 10 warnings, none new),pnpm run test(22 suites, 263 tests, 13 snapshots pass, none obsolete),pnpm turbo buildall pass.🤖 Generated with Claude Code