BeaconCMS / BeaconCMS/beacon_live_admin

Components: Sorting and Pagination

Open
#88 0 comments 0 reactions 1 assignee Claimed by @ChristianTovar View on GitHub
area:content-ux enhancement good first issue roadmap ux
Dominant language
JavaScript
Stars
73
Forks
35
PR merge metrics
No merged PRs in 30d

Description

## Rules

- Sort by name, category
- 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](https://github.com/BeaconCMS/beacon_live_admin/assets/36407/7ed2cebc-836d-4a3f-94ac-2f8b6f48a457)

## Related code

https://github.com/BeaconCMS/beacon_live_admin/blob/f774eaae7f31ce88b81db1d6c61788bef7d29acf/lib/beacon/live_admin/content.ex#L145

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.