forked from Cloud-Pipelines/pipeline-editor
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Summary
Once TangleML/tangle#188 lands, update RunSection to pass a page_size query param to the backend so the number of fetched rows matches what the viewport can display.
Motivation
The Dashboard homepage currently uses maxItems to slice backend results client-side. This means we always over-fetch and page tokens skip sliced items. Passing page_size will make fetches exact and pagination correct.
Changes Needed
- Add
pageSize?: numberprop toRunSection - Pass it as
page_sizequery param in the fetch URL (alongsidepage_token,filter_query, etc.) - Update
DashboardHomeViewandDashboardRunsViewto passdynamicRowsaspageSizeinstead ofmaxItems - Remove
maxItemsslicing oncepageSizeis wired up
Depends On
Related
- Part of epic: epic: Homepage Redesign #1964
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels