scientist-softserv / utk-hyku

Other
6 stars 0 forks source link

I655 browse collections updates #672

Closed sjproctor closed 3 months ago

sjproctor commented 3 months ago

Story

Epic: Make Browse Collections grid default view and set sort to random, and remove scroll for collection section.

Refs

Expected Behavior Before Changes

  1. Collections section had list view as the default
  2. Collections were displayed in the default order from the database
  3. Collections section had its own scroll as well as the page scroll

Expected Behavior After Changes

  1. Collections section has a default grid view
  2. Collections are now randomized on each page load, toggling between list and grid view will show the same randomized order
  3. Collections section no longer has its own scroll, the only scroll is on the full page

Screenshots / Video

https://github.com/user-attachments/assets/10e5fd6d-25bf-406d-a8f0-0e96e20e9f40

Notes

The epic was broken into three tickets. Each commit on this PR represents one story. The changes were smaller than originally expected.