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

Layouts: Sorting and Pagination #86

Closed
leandrocp opened this issue Nov 1, 2023 · 0 comments · Fixed by #140 or BeaconCMS/beacon#445
Closed

Layouts: Sorting and Pagination #86

leandrocp opened this issue Nov 1, 2023 · 0 comments · Fixed by #140 or BeaconCMS/beacon#445
Assignees
Labels
enhancement New feature or improvement good first issue Good for newcomers help wanted Looking for contributors ux Requires UX or UXD
Milestone

Comments

@leandrocp
Copy link
Contributor

leandrocp commented Nov 1, 2023

Rules

  • Sort by title, status
  • 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

def list_layouts(site, opts \\ []) do

https://github.com/BeaconCMS/beacon/blob/cbe3bf7445cc559c96310593105e710366ed2cea/lib/beacon/content.ex#L302

@leandrocp leandrocp added enhancement New feature or improvement good first issue Good for newcomers help wanted Looking for contributors labels Nov 1, 2023
@leandrocp leandrocp added this to Beacon Nov 1, 2023
@leandrocp leandrocp moved this to Todo in Beacon Nov 1, 2023
@AZholtkevych AZholtkevych added this to the v0.1.0 milestone Nov 16, 2023
@AZholtkevych AZholtkevych moved this from Todo to In Progress in Beacon Mar 22, 2024
@leandrocp leandrocp added the ux Requires UX or UXD label Apr 24, 2024
@AZholtkevych AZholtkevych linked a pull request Apr 26, 2024 that will close this issue
@AZholtkevych AZholtkevych moved this from In Progress to Code Review in Beacon Apr 26, 2024
@AZholtkevych AZholtkevych linked a pull request Apr 26, 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 improvement good first issue Good for newcomers help wanted Looking for contributors ux Requires UX or UXD
Projects
Status: Code Review
3 participants