-
Notifications
You must be signed in to change notification settings - Fork 0
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: mobile site search for navbar #1559 #5
Conversation
π |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see some CI failures on linting
Thanks. I haven't been able to determine the cause of that error or other adjustments made to lines of code that I didn't modify. I believe Prettier is to blame, but the local editor configuration seems fine. I disabled the VSCode extension in my workspace for that repo and manually reverted the changes. CI checks are now passing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the circular logic when you call toggle_search_bar
from show_mobile_menus
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Understood that we have a small edge case where wide mobile can open a menu and then the search bar, but for an A/B test, I don't think that's serious enough to warrant spending more time on.
π Linked issue
CED-1950: Implement mobile site search navbar
β Type of change
π Description
EsSearchBar
to prevent duplicate IDs from multiple forms on the same pageEsSearchBar
to accommodate mobile version without breaking current desktop versionEsSearchBar
to prevent duplicate form IDsshowSearch
propsearchForm.focus()
for either mobile or desktopTo Do
π₯Ό Testing
π§ Feedback Requested / Focus Areas
nav-search-bar
element for both mobile and desktop due to their locations in the navbar DOMπ Checklist