Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Library: Sorting and Pagination #21

Closed
AZholtkevych opened this issue Apr 25, 2023 · 1 comment · Fixed by BeaconCMS/beacon#410 or #104
Closed

Media Library: Sorting and Pagination #21

AZholtkevych opened this issue Apr 25, 2023 · 1 comment · Fixed by BeaconCMS/beacon#410 or #104
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@AZholtkevych
Copy link

AZholtkevych commented Apr 25, 2023

Rules

  • Sort by name, type
  • Paginate by page, 20 records by page
  • Use query params to preserve state as ?query=FOO&page=INT&sort=NAME
  • Searching should reset pagination to page 1 and preserve sort query param and current state
  • Paginating should preserve search query and sort params and their current state
  • Display a navigation bar like this one below:

Image

Related code

https://github.com/BeaconCMS/beacon/blob/cbe3bf7445cc559c96310593105e710366ed2cea/lib/beacon/media_library.ex#L174

@AZholtkevych AZholtkevych assigned leandrocp and unassigned leandrocp Apr 25, 2023
@AZholtkevych AZholtkevych added enhancement New feature or request and removed enhancement New feature or request labels Apr 27, 2023
@AZholtkevych AZholtkevych changed the title MANAGING ASSETS: Sorting Admin -> Asset manager Page: Sorting May 1, 2023
@AZholtkevych AZholtkevych changed the title Admin -> Asset manager Page: Sorting Admin -> Asset Manager Page: Sorting May 1, 2023
@AZholtkevych AZholtkevych added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels May 1, 2023
@AZholtkevych
Copy link
Author

AZholtkevych commented May 2, 2023

By name, type

@AZholtkevych AZholtkevych transferred this issue from BeaconCMS/beacon Aug 9, 2023
@AZholtkevych AZholtkevych added this to the Version 0.1.0 milestone Sep 15, 2023
@leandrocp leandrocp removed this from the Version 0.1.0 milestone Oct 17, 2023
@leandrocp leandrocp changed the title Admin -> Asset Manager Page: Sorting Media Library: Sorting and Pagination Nov 1, 2023
@AZholtkevych AZholtkevych added this to the v0.1.0 milestone Nov 16, 2023
@ChristianTovar ChristianTovar linked a pull request Feb 9, 2024 that will close this issue
@AZholtkevych AZholtkevych linked a pull request Feb 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: Done
3 participants