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

[DOC] Improve design on search modal #5991

Merged
merged 2 commits into from
Mar 4, 2021
Merged

Conversation

zyhou
Copy link
Contributor

@zyhou zyhou commented Mar 3, 2021

With the last version of Algolia (docsearch package), we can easily improve the search experience.

We can use the modal component that allows us to bookmark a search and see the history of your searches. The modal can be open with shortcut (ctrl+l or /), no need to go back to the top of the page to do a search.

Before

Empty search: image

"react context" search:
image

After

The text color is white now, the contrast note is higher. Empty search:
image

When I click on search button, the algolia modal appears:
image

When I search "react context":
image

@zyhou zyhou added WIP Work In Progress RFR Ready For Review and removed WIP Work In Progress labels Mar 3, 2021
@fzaninotto fzaninotto merged commit 2af8385 into master Mar 4, 2021
@fzaninotto fzaninotto deleted the improve-design-search branch March 4, 2021 08:32
@fzaninotto fzaninotto added this to the 3.13.2 milestone Mar 4, 2021
@fzaninotto
Copy link
Member

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants