Paging issues with dynamic state change for suggestions #397
Labels
No labels
automation
backend
bug
contributor experience
data
deployment
documentation
duplicate
good first issue
help wanted
nice to have
notifications
package maintainer
performance
skin
tech debt
user story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-community/nix-security-tracker#397
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Switching to the next page after dismissing suggestions with JS enabled will skip items in the previous page.
Reproducer
The first item on the second page will be different than what it was previously. As a result, users will miss what has shifted to the front.
With dynamic loading it's now more involved to reason about paging, and we'll have to come up with a pattern that scales and allows for both good UX with JS enabled but also degrades nicely with acceptable performance.
Since we can do arbitrary dynamic stuff in this realm, how about we trigger shifting an element in from the next page once we remove one on the current (and vice versa)? This has the additional advantage of being much more performance tolerant, so we have time to reshuffle the paging in the background.