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(ui): more gallery UX updates #6652

Merged
merged 26 commits into from
Jul 24, 2024
Merged

Conversation

maryhipp
Copy link
Collaborator

@maryhipp maryhipp commented Jul 23, 2024

Summary

  • Overall shrinkage of boards UI
  • Updated boards and gallery search to clear the search if the search field is exited
  • Moved current board name down to top of image gallery grid and replaced toggle with more explicit "View Boards" and "Hide Boards"
  • Added larger version of board cover image to tooltip if hovered
Screenshot 2024-07-23 at 8 09 48 PM Screenshot 2024-07-23 at 8 09 37 PM Screenshot 2024-07-23 at 8 09 28 PM

Related Issues / Discussions

QA Instructions

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added the frontend PRs that change frontend files label Jul 23, 2024
@maryhipp maryhipp changed the title Maryhipp/gallery UI updates 2 feat(ui): more gallery UX updates Jul 24, 2024
@maryhipp maryhipp marked this pull request as ready for review July 24, 2024 00:08
@maryhipp maryhipp force-pushed the maryhipp/gallery-ui-updates-2 branch from 3ed67fb to c6a7828 Compare July 24, 2024 00:15
Use this to enforce singleton components and hooks.
It was possible to clear the search term while a debounced setSearchTerm is still pending. This resulted in the gallery getting out of sync w/ the search term.

To fix this, we need to lift the state up a bit and  cancel any pending debounced setSearchTerm calls when closing the search or clearing the search term box.
Copy link
Collaborator

@psychedelicious psychedelicious left a comment

Choose a reason for hiding this comment

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

Fixed a few logic bugs and fixed/improved styling and layout stuff.

@psychedelicious psychedelicious merged commit 4fdefe5 into main Jul 24, 2024
14 checks passed
@psychedelicious psychedelicious deleted the maryhipp/gallery-ui-updates-2 branch July 24, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants