-
Notifications
You must be signed in to change notification settings - Fork 78
Description
When switching projects, the pagination current value remains unchanged, causing a mismatch between the page shown in the UI and the actual data fetched.
This leads to:
- UI showing page N while the data corresponds to a different or invalid page.
- Click events failing when the displayed page does not exist in the new dataset.
Steps to Reproduce
- Navigate to Project A and go to page 2.
- Switch to Project B with fewer items.
- Observe that the UI still shows page 2, but the data is empty or inconsistent.
Expected Behavior
The displayed page should always match the data being fetched after a project change.
Actual Behavior
Pagination remains on the previous page, creating a mismatch between UI and data.
Impact
Users experience confusion and broken navigation when switching projects with different data sizes.
Proposed Solutions
- Reset approach: Reset pagination to page 1 whenever the project changes.
- Maintain but inform: Keep the current page but clearly indicate invalid state and allow the user to select a valid page.
JIRA Issue: FR-1678
Metadata
Metadata
Assignees
Labels
No labels