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

move search into header #1687

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

move search into header #1687

wants to merge 1 commit into from

Conversation

mbostock
Copy link
Member

Moves the search box into the header.

Screen.Recording.2024-09-26.at.9.40.30.AM.mov

I think for this to work, we would need to make a search modal rather than reusing the sidebar to show search results. The issue with reusing the sidebar is that on mobile, the sidebar isn’t visible when searching (and would obscure the search box if we open it).

We’d also want a way to show the Observable logo in the top-left where currently it says Observable Framework. And perhaps on mobile, we’d want to show this logo in the header, and collapse the search box to an icon.

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

Successfully merging this pull request may close these issues.

1 participant