Bug #21580
closedFavorites/Public Favorites paging problems
Description
Problem¶
The Public Favorites view seems to load a different (or incomplete?) list of items on the first load than the second load
- Start from Home Projects
- Click "Public Favorites" and note the names in the Data Explorer
- Click "Public Favorites" again and the names will be different
In addition, paging favorites is weird because it does not behave like project pages where it displays all the projects, then all the workflows, then all the collections; instead you get a few projects, a few workflows and a few collections split across multiple pages. This is because the underlying request is for links instead of the targeted records.
Proposed Solution¶
Favorites should mimic the behavior of the group contents query.
It should make a query of links to projects first, with a filter ["head_uuid", "is_a", "arvados#group"]
, then workflow runs, then workflow definitions, then collections.
For paging, with offset > 0, it needs to provide the offset in the first query and subtract the value of items available from offset to determine the value of offset for the subsequent query, and so forth.
Updated by Peter Amstutz 7 months ago
- Target version set to Development 2024-05-08 sprint
Updated by Peter Amstutz 7 months ago
- Target version changed from Development 2024-05-08 sprint to Development 2024-05-22 sprint
Updated by Peter Amstutz 6 months ago
- Target version changed from Development 2024-05-22 sprint to Development 2024-06-05 sprint
Updated by Peter Amstutz 6 months ago
- Target version changed from Development 2024-06-05 sprint to Development 2024-06-19 sprint
Updated by Peter Amstutz 5 months ago
- Target version changed from Development 2024-06-19 sprint to Development 2024-07-03 sprint
Updated by Peter Amstutz 5 months ago
- Target version changed from Development 2024-07-03 sprint to Development 2024-07-24 sprint
Updated by Stephen Smith 5 months ago
One thing I noticed is that the list request is limit 50 on the first load and limit 100 after clicking public favorites again, this might be related to the root cause
Updated by Peter Amstutz 4 months ago
- Target version changed from Development 2024-07-24 sprint to Development 2024-08-07 sprint
Updated by Peter Amstutz 4 months ago
- Target version changed from Development 2024-08-07 sprint to Development 2024-08-28 sprint
Updated by Peter Amstutz 3 months ago
- Assigned To changed from Stephen Smith to Lisa Knox
Updated by Peter Amstutz 3 months ago
- Target version changed from Development 2024-08-28 sprint to Development 2024-09-11 sprint
Updated by Peter Amstutz 2 months ago
- Target version changed from Development 2024-09-11 sprint to Development 2024-09-25 sprint
Updated by Peter Amstutz 2 months ago
- Description updated (diff)
- Subject changed from Public Favorites renders inconsistently to Favorites/Public Favorites paging problems
Updated by Peter Amstutz about 2 months ago
- Target version changed from Development 2024-09-25 sprint to Development 2024-10-09 sprint
Updated by Peter Amstutz about 2 months ago
- Target version changed from Development 2024-10-09 sprint to Development 2024-10-23 sprint
Updated by Peter Amstutz about 1 month ago
- Target version changed from Development 2024-10-23 sprint to Development 2024-11-06 sprint
Updated by Lisa Knox about 1 month ago
- Status changed from In Progress to Closed
Resolved in a separate ticket
Updated by Peter Amstutz about 1 month ago
- Target version changed from Development 2024-11-06 sprint to Development 2024-10-23 sprint