Skip to content

feat(apollo-vertex): persist rows per page in data table [AGVSOL-3072]#673

Merged
KokoMilev merged 3 commits intomainfrom
angeloaltamiranom/persist-rows-per-page
May 11, 2026
Merged

feat(apollo-vertex): persist rows per page in data table [AGVSOL-3072]#673
KokoMilev merged 3 commits intomainfrom
angeloaltamiranom/persist-rows-per-page

Conversation

@angeloaltamiranom
Copy link
Copy Markdown
Contributor

@angeloaltamiranom angeloaltamiranom commented May 11, 2026

Context

This comes from a request by Medtronic to be able to persist the page size selection. So in the same way we persist the column selection im thinking we should also persist the page size.

SS

image

@angeloaltamiranom angeloaltamiranom requested a review from a team as a code owner May 11, 2026 07:55
@angeloaltamiranom angeloaltamiranom requested review from alincadariu and frankkluijtmans and removed request for a team May 11, 2026 07:55
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (PT)
apollo-design 🟢 Ready Preview, Logs May 11, 2026, 05:50:03 AM
apollo-docs 🟢 Ready Preview, Logs May 11, 2026, 05:47:54 AM
apollo-landing 🟢 Ready Preview, Logs May 11, 2026, 05:47:11 AM
apollo-ui-react 🟢 Ready Preview, Logs May 11, 2026, 05:48:25 AM
apollo-vertex 🟢 Ready Preview, Logs May 11, 2026, 05:48:25 AM

@KokoMilev KokoMilev enabled auto-merge (rebase) May 11, 2026 07:56
@github-actions github-actions Bot added the size:M 30-99 changed lines. label May 11, 2026
@github-actions
Copy link
Copy Markdown

Dependency License Review

  • 2105 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 15 package(s) excluded (see details below)
License distribution
License Packages
MIT 1826
ISC 104
Apache-2.0 69
BSD-3-Clause 30
BSD-2-Clause 24
Copyright 2022, UiPath, all rights reserved 9
BlueOak-1.0.0 8
MPL-2.0 5
MIT OR Apache-2.0 3
MIT-0 3
Unknown 3
Unlicense 3
CC0-1.0 3
LGPL-3.0-or-later 2
(MIT OR Apache-2.0) 2
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
BSD 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@img/sharp-libvips-linuxmusl-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@uipath/apollo-angular-elements 5.89.0 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-core 4.35.0, 4.35.1, 4.35.2 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-fonts 1.25.8 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-icons 1.33.7 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-mui5 2.31.26, 2.31.27 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/portal-shell 3.351.4 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/portal-shell-react 3.149.36 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/portal-shell-types 3.326.0 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/portal-shell-util 1.114.0 Copyright 2022, UiPath, all rights reserved UiPath first-party package
@uipath/apollo-lab 25.12.0 Unknown UiPath first-party package
@uipath/telemetry-client-web 5.1.0 Unknown UiPath first-party package
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json
hyperx 2.5.4 BSD BSD-2-Clause per LICENSE file, non-SPDX "BSD" in package.json

@angeloaltamiranom angeloaltamiranom changed the title feat(apollo-vertex): persist rows per page in data table feat(apollo-vertex): persist rows per page in data table [AGVSOL-3072] May 11, 2026
Comment thread apps/apollo-vertex/registry/use-data-table/useDataTable.tsx
@angeloaltamiranom angeloaltamiranom force-pushed the angeloaltamiranom/persist-rows-per-page branch from 56d1f04 to a0c4a58 Compare May 11, 2026 08:27
Add usePersistedPageSize hook mirroring usePersistedSorting so the data
table's rows-per-page selection survives reload alongside column
visibility, sorting, and column order. pageIndex stays ephemeral.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@angeloaltamiranom angeloaltamiranom force-pushed the angeloaltamiranom/persist-rows-per-page branch from a0c4a58 to e3d3c59 Compare May 11, 2026 08:53
Copy link
Copy Markdown
Collaborator

@alincadariu alincadariu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@angeloaltamiranom the registry ci check is failing 👀

In react-day-picker@9.13.0 the `table` slot was moved to `DeprecatedUI`
and removed from the public `ClassNames` type. The registry test installs
the calendar component into a fresh app and runs `tsc --noEmit`, which
fails with TS2353 on the `table` key. Drop the entry from both the
apollo-vertex registry copy and the apollo-wind source to match the
current upstream shadcn/ui template; the surrounding flex slots carry
the layout, so `border-collapse` is not load-bearing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The date-picker entry referenced `calendar` without a namespace, so
`shadcn add` resolved it against the default shadcn registry instead of
the local @UiPath registry. The upstream calendar still ships the
deprecated `table` className that was removed from react-day-picker@9's
public `ClassNames` type, causing the registry test for date-picker to
fail even after the @UiPath calendar was patched. Prefix the dependency
with `@uipath/` so date-picker picks up our fixed calendar copy.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@KokoMilev KokoMilev merged commit 4f77a5c into main May 11, 2026
48 checks passed
@KokoMilev KokoMilev deleted the angeloaltamiranom/persist-rows-per-page branch May 11, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants