Project

General

Profile

Actions

Bug #21580

closed

Favorites/Public Favorites paging problems

Added by Lisa Knox 9 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-

Description

Problem

The Public Favorites view seems to load a different (or incomplete?) list of items on the first load than the second load

  1. Start from Home Projects
  2. Click "Public Favorites" and note the names in the Data Explorer
  3. 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.


Subtasks 1 (0 open1 closed)

Task #21754: ReviewClosedStephen Smith10/18/2024Actions
Actions #1

Updated by Peter Amstutz 8 months ago

  • Target version set to Development 2024-05-08 sprint
Actions #2

Updated by Peter Amstutz 8 months ago

  • Target version changed from Development 2024-05-08 sprint to Development 2024-05-22 sprint
Actions #3

Updated by Peter Amstutz 8 months ago

  • Category set to Workbench2
Actions #4

Updated by Peter Amstutz 8 months ago

  • Assigned To set to Stephen Smith
Actions #5

Updated by Peter Amstutz 7 months ago

  • Target version changed from Development 2024-05-22 sprint to Development 2024-06-05 sprint
Actions #6

Updated by Peter Amstutz 7 months ago

  • Target version changed from Development 2024-06-05 sprint to Development 2024-06-19 sprint
Actions #7

Updated by Peter Amstutz 6 months ago

  • Target version changed from Development 2024-06-19 sprint to Development 2024-07-03 sprint
Actions #8

Updated by Peter Amstutz 6 months ago

  • Target version changed from Development 2024-07-03 sprint to Development 2024-07-24 sprint
Actions #9

Updated by Peter Amstutz 6 months ago

  • Release set to 70
Actions #10

Updated by Stephen Smith 6 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

Actions #11

Updated by Peter Amstutz 5 months ago

  • Target version changed from Development 2024-07-24 sprint to Development 2024-08-07 sprint
Actions #12

Updated by Peter Amstutz 5 months ago

  • Target version changed from Development 2024-08-07 sprint to Development 2024-08-28 sprint
Actions #13

Updated by Peter Amstutz 4 months ago

  • Assigned To changed from Stephen Smith to Lisa Knox
Actions #14

Updated by Lisa Knox 4 months ago

  • Status changed from New to In Progress
Actions #15

Updated by Peter Amstutz 4 months ago

  • Target version changed from Development 2024-08-28 sprint to Development 2024-09-11 sprint
Actions #16

Updated by Peter Amstutz 3 months ago

  • Target version changed from Development 2024-09-11 sprint to Development 2024-09-25 sprint
Actions #17

Updated by Peter Amstutz 3 months ago

  • Description updated (diff)
  • Subject changed from Public Favorites renders inconsistently to Favorites/Public Favorites paging problems
Actions #18

Updated by Peter Amstutz 3 months ago

  • Release deleted (70)
Actions #19

Updated by Peter Amstutz 3 months ago

  • Target version changed from Development 2024-09-25 sprint to Development 2024-10-09 sprint
Actions #20

Updated by Peter Amstutz 3 months ago

  • Target version changed from Development 2024-10-09 sprint to Development 2024-10-23 sprint
Actions #21

Updated by Peter Amstutz 2 months ago

  • Target version changed from Development 2024-10-23 sprint to Development 2024-11-06 sprint
Actions #22

Updated by Lisa Knox 2 months ago

  • Status changed from In Progress to Closed

Resolved in a separate ticket

Actions #23

Updated by Peter Amstutz 2 months ago

  • Target version changed from Development 2024-11-06 sprint to Development 2024-10-23 sprint
Actions

Also available in: Atom PDF