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

Fix shared search links #1823

Merged
merged 6 commits into from
Jul 13, 2022
Merged

Fix shared search links #1823

merged 6 commits into from
Jul 13, 2022

Conversation

laritakr
Copy link
Collaborator

@laritakr laritakr commented Jul 11, 2022

Closes utk issue 63 - homepage no longer has collection list
Fixes utk issue 69 - Find all collections button works correctly

Changes:

Fixes:

  • homepage View All Collections button
  • catalog Collection title links
  • catalog Work thumbnail links

Activates:

  • catalog Collection thumbnail links

SCREENSHOTS/DEMO

This search tenant will return results from 2 tenants named Alpha and Beta. Clicking the View All Collections button should not error:

Screen Shot 2022-07-12 at 3 52 28 PM

The appropriate tenant name should be in the domain, when hovering over a returned item. Clicking into them should not cause an error:

Screen Shot 2022-07-12 at 3 54 03 PM

Screen Shot 2022-07-12 at 3 53 20 PM

Blank search to return all works and collections:
Screen Shot 2022-07-12 at 3 58 21 PM

To test:

  • "View all collections" button from homepage opens list of only collections
  • Titles and thumbnails of both works and collections on the catalog list link to the work or collection in the appropriate tenant

Related tickets - these are known bugs to be fixed separately:

  • utk issue 80 will fix the links from other themes
  • utk issue 85 will fix the featured collection list on the shared search tenant's home page.

@samvera/hyku-code-reviewers

Fixes:
* homepage `View All Collections` button
* catalog Collection title links
* catalog Work thumbnail links
Activates:
* catalog Collection thumbnail links
@laritakr laritakr marked this pull request as ready for review July 12, 2022 01:14
@ShanaLMoore
Copy link
Collaborator

ShanaLMoore commented Jul 12, 2022

@laritakr Overall it looks good. Nice work! Please check the description. I updated it with screenshots which hopefully reflects everything you did.

I left a minor comment about using a decorator pattern to override files per Rob's discussion about preferences the other day, although I totally acknowledge that class or module eval works as well.

ShanaLMoore
ShanaLMoore previously approved these changes Jul 13, 2022
@laritakr laritakr merged commit 43f5d94 into main Jul 13, 2022
@laritakr laritakr deleted the share-search-collection-links branch January 11, 2023 04:52
@bkiahstroud bkiahstroud added the patch-ver for release notes label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants