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

feat: add search results and saved searches (fix #115, fix #162) #193

Merged
merged 23 commits into from
Mar 2, 2020

Conversation

greatislander
Copy link
Collaborator

@greatislander greatislander commented Feb 19, 2020

Description

Implements layout for the search results page and saved search functionality.

TODO:

  • Search results layout.
  • Saved search functionality.
  • Fix notification display on Archive/Search results pages.
  • Limit saved searches to 25.
  • Search results pagination.

Steps to test

Search, examine results page. Apply some filters. Save a few searches, then view the saved search page.

Additional information

Not applicable.

Related issues

@greatislander greatislander self-assigned this Feb 19, 2020
@greatislander greatislander added the enhancement New feature or request label Feb 19, 2020
@greatislander greatislander added this to To do in Cooperative Resource Library 1.0.0 via automation Feb 19, 2020
@greatislander greatislander moved this from To do to In progress in Cooperative Resource Library 1.0.0 Feb 19, 2020
@greatislander greatislander added this to the 1.0.0-alpha.2 milestone Feb 19, 2020
@greatislander greatislander changed the title feat: add search results layout (resolves #162) feat: add search results and saved searches Feb 20, 2020
@greatislander greatislander changed the title feat: add search results and saved searches feat: add search results and saved searches (fix #115, fix #162, fix #188) Feb 20, 2020
@greatislander greatislander changed the title feat: add search results and saved searches (fix #115, fix #162, fix #188) feat: add search results and saved searches (fix #115, fix #162) Feb 25, 2020
@greatislander greatislander marked this pull request as ready for review February 25, 2020 16:56
Cooperative Resource Library 1.0.0 automation moved this from In progress to Review in progress Mar 2, 2020
@greatislander greatislander requested a review from jhung March 2, 2020 19:24
@@ -1,4 +1,4 @@
<div class="align-right" hidden><button id="remove-all" class="button button--borderless button--destructive">@svg('delete', 'icon--delete', ['focusable' => 'false', 'aria-hidden' => 'true']) {{ __('Remove all', 'coop-library') }}​​&#8203;<span class="screen-reader-text">{{ __('saved searches', 'coop-library') }}</span></button></div>
<div class="align-right" hidden><button id="remove-all" class="button button--borderless button--destructive">@svg('delete', 'icon--delete', ['focusable' => 'false', 'aria-hidden' => 'true']) {{ __('Remove all', 'coop-library') }}​​&nbsp<span class="screen-reader-text">{{ __('saved searches', 'coop-library') }}</span></button></div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@greatislander I tested with NVDA and &nbsp worked in providing a break in the label. &#8203; did not work.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does &nbsp; inside the <span class="visually-hidden"> work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhung I am moving this into a separate issue.

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

Successfully merging this pull request may close these issues.

Add search results page Add saved searches
2 participants