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

FR: [v2-pagination] – implement basic pagination type #602

Open
Tracked by #542
cogniSyb opened this issue Apr 12, 2024 · 1 comment
Open
Tracked by #542

FR: [v2-pagination] – implement basic pagination type #602

cogniSyb opened this issue Apr 12, 2024 · 1 comment
Labels
enhancement New feature or request Magazine

Comments

@cogniSyb
Copy link
Collaborator

cogniSyb commented Apr 12, 2024

Context/Description

Pagination allows users to assess the number of pages available, identify what page they are on, browse to the previous or next page, or jump straight to the first or last page.

This component exists already in the Volvo Core Design Kit.

Acceptance Criteria

User AC:

  • Buttons are available to navigate forward or backward in pages

Editor AC:

Non-functional AC:

  • Block colors needs to adapt to its context; it needs to work on section with dark background or grey background
  • Can be used on any page.

Questions

  • How many pages will always be on the tab (1-5 ... 10) ?
    • Answer: Mimic the same algorithm

Out of scope

Other variants of pagination as documented in Volvo Core Design Kit
Sort order of the content within each page
Checking how many content pages are to be shown per page

Note

Volvo pagination
https://volvoexperincesystem.z6.web.core.windows.net/?path=/docs/web-components-pagination--docs

Technical details

  • Provide semantics, focus on accessibility things like aria-current="page"

Attachment / link to Figma

image
Figma Design:
Desktop/Tablet: https://www.figma.com/file/c2jG1bOcvle2bCmZqgptyS/Magazine-C%26T?type=design&node-id=1590%3A21691&mode=dev
Mobile: https://www.figma.com/file/c2jG1bOcvle2bCmZqgptyS/Magazine-C%26T?type=design&node-id=1636%3A26829&mode=dev

Volvo Core Design Kit:

@cogniSyb cogniSyb added enhancement New feature or request Magazine labels Apr 12, 2024
@cogniSyb cogniSyb added this to the Volvo Magazine milestone Apr 12, 2024
@Joesturbo
Copy link
Collaborator

@mollyaljenkins - can we review this as the design system has this functionality in the design kit. We should be able to reduce the overall time on this item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Magazine
Projects
None yet
Development

No branches or pull requests

4 participants