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] <Navigation> Standardize search input for navigation and allow for an optional exposed search bar #755

Open
jknilans opened this issue Mar 2, 2023 · 2 comments
Labels
feature New feature or request needs revisiting Outdated issues worth revisiting in the future

Comments

@jknilans
Copy link

jknilans commented Mar 2, 2023

Description

The initial ask for this issue is to enable a future version of the shared navigation component to allow for an exposed search on websites that heavily rely on search. The initial use case is for the Red Hat Ecosystem Catalog, which search is the primary use case for customers.

In working through this for the Ecosystem Catalog, @dcaryll mentioned that it would be useful to explore if we could standardize components and usage for any website that uses the new navigation, regardless if they choose to expose the search by default or if it requires clicking on a search icon. In looking through the many instances of search among different Red Hat websites, I noticed, as you're probably aware, that there is a lack of consistency in how we display the search bar once a user has clicked on the magnifying glass icon. The following solution suggests a way to standardize this experience using already-existing components in PatternFly4.

Suggested solution

Here's a Sketch wireframe showing the expected behavior for websites that choose to adopt the new navigation option.

If the wireframe doesn't load immediately, it helps to copy the URL and paste it in a new tab. For some reason Sketch cloud sometimes has a hiccup when clicking directly on the link.

The solution would provide consistency across websites, ensure that search bars have multiple states, and hopefully reduce developer work across teams.

Example API

No response

Additional context

RHEC search history - desktop@1x
RHEC homepage - mobile@1x
Customer portal homepage - desktop@1x
Customer portal homepage - exposed search - mobile@1x
Customer portal search suggestions - mobile@1x
1 1 - Dot com select search - desktop@1x
2 1 - Dot com select search - mobile@1x
Customer portal search suggestions - mobile@1x

@jknilans jknilans added the feature New feature or request label Mar 2, 2023
@jknilans jknilans changed the title [feat] <Standardize search input for navigation and allow for an optional exposed search bar > [feat] <Navigation> Standardize search input for navigation and allow for an optional exposed search bar Mar 2, 2023
@dcaryll
Copy link
Collaborator

dcaryll commented Mar 20, 2023

@markcaron markcaron added the needs revisiting Outdated issues worth revisiting in the future label Feb 7, 2024
@bennypowers
Copy link
Member

bennypowers commented Sep 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request needs revisiting Outdated issues worth revisiting in the future
Projects
None yet
Development

No branches or pull requests

4 participants