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

Improve pagination layout, design, and structure #11530

Closed
Tracked by #9036
gtsiolis opened this issue Jul 21, 2022 · 1 comment · Fixed by #11800
Closed
Tracked by #9036

Improve pagination layout, design, and structure #11530

gtsiolis opened this issue Jul 21, 2022 · 1 comment · Fixed by #11800
Assignees
Labels
component: dashboard feature: billing team: webapp Issue belongs to the WebApp team type: improvement Improves an existing feature or existing code

Comments

@gtsiolis
Copy link
Contributor

Problem to solve

Following up from #11481, we need to update the pagination component. Some UX issues currently involved include:

  1. Lack of proper disabled button states, see Previous and Next at the first or last page.
  2. Lack of proper default, hover, and active states on buttons.
  3. Lack of truncation when pages are more than what we can show.
  4. ...

Screenshot 2022-07-21 at 3 20 44 PM

@gtsiolis gtsiolis added component: dashboard type: improvement Improves an existing feature or existing code team: webapp Issue belongs to the WebApp team feature: billing labels Jul 21, 2022
@easyCZ easyCZ mentioned this issue Jul 25, 2022
73 tasks
@gtsiolis
Copy link
Contributor Author

gtsiolis commented Jul 26, 2022

I'll post a first another iteration for the pagination component here, including some design specs for smaller viewports, but feel free to leave these out of the scope for now, @laushinka!

This includes the a) bare-minimum basic hover state and b) disabled states on the buttons at the end of the pages. ❗

Pagination (Desktop) Pagination with single truncation (Desktop) Pagination with double truncation (Desktop)
Desktop DesktopTruncatedOnce DesktopTruncatedTwice
Pagination (Mobile) Pagination with single truncation (Mobile) Pagination with double truncation (Mobile)
Mobile MobileTruncatedOnce MobileTruncatedTwice
Alternative 🅰️ (compact) Alternative 🅱️ (infinite scroll)
Compact InfiniteScroll

See design specs for spacing, colors, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dashboard feature: billing team: webapp Issue belongs to the WebApp team type: improvement Improves an existing feature or existing code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants