Summary
The active sort option is persisted in the URL query string so the page is shareable. An integration test should confirm that loading the page with a sort param pre-set in the URL initialises the dropdown to the correct selection and fetches with that sort param immediately.
Scope
- Load the creator discovery page with
?sort=price in the URL
- Assert the sort dropdown displays
Price as the selected option
- Assert the initial API request includes
sort=price
- Assert the list renders results matching the price-sorted API response
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The active sort option is persisted in the URL query string so the page is shareable. An integration test should confirm that loading the page with a
sortparam pre-set in the URL initialises the dropdown to the correct selection and fetches with that sort param immediately.Scope
?sort=pricein the URLPriceas the selected optionsort=priceAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram