Skip to content

Reintroduce “Random” Sorting in DRep Directory with Pagination Support #4074

Description

@bosko-m

Bring back the Random sorting option in the DRep Directory, ensuring it works predictably with pagination. Use a deterministic, per-session seed so that paging (next/prev) returns a stable random order during a session, while still allowing users to reshuffle on demand.

Acceptance Criteria

  • A Random option appears in the DRep Directory sort dropdown.
  • Pagination is stable for a given session seed (no duplicate/reordered items when moving between pages).
  • Clicking Shuffle (or equivalent) regenerates the seed and reorders results starting from page 1.
  • Random sorting works with existing filters/search and remains performant (no noticeable slowdown).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions