Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Update paginated videos upon filter update #83

Open
pauljickling opened this issue Jun 5, 2020 · 0 comments
Open

Update paginated videos upon filter update #83

pauljickling opened this issue Jun 5, 2020 · 0 comments

Comments

@pauljickling
Copy link
Contributor

Currently filter options will naturally reduce the number of videos that are generated, which in turn will affect the page count. However the pagination UI as currently implemented does not measure that, so we will need to move all the logic that generates the page numbers into state so it will update appropriately.

One thing to keep an eye out for is what happens to the users current URL location. I'm not sure what the exact behavior will happen when the state changes, but from a UX point of view what we will want to have happen is the user returns to page 1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant