Add page size UI control to increase/decrease number of dandisets on a page
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 26
- Forks
- 21
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 15
Description
ie. on https://dandiarchive.org/dandiset . Should allow for up to some max_page_size in the related API call.
ATM it is just 8, leading to somewhat rudiculous looking
In some cases I might want to see all (reasonable but higher than available 8) sorted by stars or alike for various reasons.
I believe we even had it in very old girder-based times, then was deprecated/removed, fixed to 8
web/src/utils/constants.ts:const DANDISETS_PER_PAGE = 8;
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at web/src/utils/constants.ts, where DANDISETS_PER_PAGE is set to 8, and trace the dandiset listing request used by https://dandiarchive.org/dandiset. Add a page-size control that requests a value up to the API's max_page_size; done means users can increase or decrease the displayed dandiset count, including reasonable values above 8.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, typescript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100