Skip to content

UX: header search mobile support - follow up #32306

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

Merged
merged 14 commits into from
Apr 17, 2025

Conversation

yuriyaran
Copy link
Contributor

@yuriyaran yuriyaran commented Apr 15, 2025

Follows up my initial PR on mobile search in header improvements.

Changes made

Styling

  1. added 4px spacing between search input and cancel button
  2. increased cancel button size (with padding) to match input height
  3. decreased search panel padding by 1/2 from 16px to 8px
  4. animation show/hide changed (from vertical to horizontal) and made it quicker (300ms->200ms)
  5. set html unscrollable when search panel is open

Dev

  1. changed data-test- value to be consistent with other element's attrs values
  2. clear search action tag changed from <a> to <DButton>

@yuriyaran yuriyaran self-assigned this Apr 15, 2025
@yuriyaran yuriyaran force-pushed the ux/header-search-mobile-support-follow-up branch from 8cc4324 to 4c43f74 Compare April 15, 2025 18:08
@yuriyaran yuriyaran marked this pull request as draft April 15, 2025 18:49
@yuriyaran yuriyaran force-pushed the ux/header-search-mobile-support-follow-up branch 2 times, most recently from 650f5b0 to 03c2743 Compare April 17, 2025 06:45
@yuriyaran yuriyaran force-pushed the ux/header-search-mobile-support-follow-up branch from 03c2743 to 1ee51d0 Compare April 17, 2025 11:11
@yuriyaran yuriyaran marked this pull request as ready for review April 17, 2025 11:24
@yuriyaran yuriyaran requested a review from jjaffeux April 17, 2025 11:24
@jjaffeux
Copy link
Contributor

@chapoi Im not convinced by the new animation at all, especially on closing that feels very odd and unlike anything else we have in the app.

Copy link
Contributor

@jjaffeux jjaffeux left a comment

Choose a reason for hiding this comment

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

nice improvement

@yuriyaran yuriyaran merged commit ff334fd into main Apr 17, 2025
20 checks passed
@yuriyaran yuriyaran deleted the ux/header-search-mobile-support-follow-up branch April 17, 2025 12:01
yuriyaran added a commit that referenced this pull request May 15, 2025
jjaffeux pushed a commit that referenced this pull request May 15, 2025
This reverts the complete work on "Improvements to mobile search" while
respecting all the related changes that were made after the next two
PRs:

- #32306
- #31711
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants