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

The search widget results list should be paginated #864

Closed
willmcvay opened this issue Apr 9, 2020 · 0 comments
Closed

The search widget results list should be paginated #864

willmcvay opened this issue Apr 9, 2020 · 0 comments
Assignees
Labels
feature New feature or request front-end Relates to front end issues web-components

Comments

@willmcvay
Copy link
Contributor

Background context or User story:
Currently the search widget returns a maximum of 8 results - this is the desired page size for now however, as a user, I want to be able to navigate by page the results list

Specification or Acceptance Criteria:

  • A standard pagination component should sit at the bottom of the results list with forward, back and page numbers within.
  • Forward should fetch the next 8 results, back should fetch the previous 8 results
  • Buttons should be disabled if there are no more results in either direction

Suggested solution:

  • Should be a home rolled paginator component, no libs
  • Should have basic black white and grey theme out the box but be themable with the same hover and accent behaviour as the search buttons. Theme should use base font size.
@willmcvay willmcvay added feature New feature or request web-components front-end Relates to front end issues labels Apr 9, 2020
@willmcvay willmcvay added this to the Web Components v2.0 milestone Apr 9, 2020
@duong-se duong-se self-assigned this Apr 13, 2020
duong-se pushed a commit that referenced this issue Apr 14, 2020
duong-se pushed a commit that referenced this issue Apr 14, 2020
feat: #864 pagination for search widget (#887)
nphivu414 pushed a commit that referenced this issue Apr 29, 2020
feat: #864 pagination for search widget (#887)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request front-end Relates to front end issues web-components
Projects
None yet
Development

No branches or pull requests

3 participants