-
Notifications
You must be signed in to change notification settings - Fork 0
feat(DataTable): add scrolling and sticky header #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "@lambdacurry/forms", | ||
| "version": "0.22.5", | ||
| "version": "0.23.0-beta.1", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainVersion bump looks good; verify monorepo consistency. The prerelease bump to 🏁 Script executed: #!/bin/bash
# From repo root, check for other versions that may need to align.
echo 'Package versions referencing @lambdacurry/forms:'
rg -n '"@lambdacurry/forms"' apps packages
echo
echo 'All version fields in package.json files:'
fd package.json -a apps packages | xargs -I{} jq -r '.name + "@" + .version' {}Length of output: 278 Length of output: 153 Length of output: 565 Update CHANGELOG.md with 0.23.0-beta.1 entry. The version bump to 🤖 Prompt for AI Agents |
||
| "type": "module", | ||
| "main": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scrolling story behavior vs docs and pageSize defaults are slightly inconsistent.
The
DataTableWithScrolling+WithScrollingstory wiring looks correct overall (fixed 500px container, same loader and filter plumbing as the server-driven story), but there are two small inconsistencies:Docs vs actual initial page size
DataTableWithScrollingcomment mention using a larger page size (20 rows) to ensure scrolling.withReactRouterStubDecoratorstill seeds?page=0&pageSize=10, so the story actually starts at 10 rows unless the URL is overridden.initialPath: '/?page=0&pageSize=20'intowithReactRouterStubDecoratorforWithScrolling, orDefault pageSize divergence when URL lacks a value
DataTableWithScrollingfalls back topageSize = 20, whileDataTablePaginationfalls back topageSize = 10.pageSizequery param is present, the table’s pagination state and the pagination UI could disagree.dataTableRouterParsers.pageSizeor a shared constant) and use the same default in both the table state andDataTablePagination.These are minor, but aligning the defaults and story description will make the scrolling story more predictable and easier to reason about.
Also applies to: 627-654
🤖 Prompt for AI Agents