jupyter-book / myst-theme

Packages for creating MyST websites themes using React and Remix
https://jupyter-book.github.io/myst-theme/?path=/docs/components-introduction--docs
MIT License
17 stars 15 forks source link

🔍 💥 Add UX for client-side search #470

Closed agoose77 closed 2 months ago

agoose77 commented 2 months ago

This PR is a rough stab at a frontend component for client-side search. There are already some sharp edges to rework:

https://github.com/user-attachments/assets/02188866-daf8-4efc-93c7-d1737ff11ed2

[!NOTE] To test this PR:

  1. Build https://github.com/jupyter-book/mystmd/pull/1530 and run myst start --headless
  2. Run theme:book as usual
changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 4fd5216b0751d296bb1163c93673be6f6da1dffa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages | Name | Type | | ----------------------- | ----- | | @myst-theme/site | Patch | | @myst-theme/book | Patch | | @myst-theme/providers | Patch | | @myst-theme/frontmatter | Patch | | @myst-theme/diagrams | Patch | | @myst-theme/jupyter | Patch | | @myst-theme/styles | Patch | | @myst-theme/common | Patch | | @myst-theme/icons | Patch | | @myst-theme/article | Patch | | myst-to-react | Patch | | myst-demo | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

agoose77 commented 2 months ago

@stevejpurves @rowanc1 input always welcome, but I'll keep chipping away at this.

agoose77 commented 2 months ago

Phew, made some good progress! My goal here is to build out "an approach", and then we can iterate on the design.