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

🔍 💥 Add UX for client-side search #470

Merged
merged 38 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
da4a1d0
feat: pass-through myst search json
agoose77 Sep 12, 2024
680059f
chore: add changeset
agoose77 Sep 12, 2024
3d51dc5
wip: support client-side search
agoose77 Sep 13, 2024
0bcd19d
wip: more styling etc
agoose77 Sep 13, 2024
d07f723
fix: restore extractor
agoose77 Sep 13, 2024
0813f22
feat: use <mark>
agoose77 Sep 16, 2024
7edd333
refactor: better components
agoose77 Sep 16, 2024
eb4b3ca
feat: add responsive design
agoose77 Sep 16, 2024
8a1e9c3
fix: tokenize and include separators
agoose77 Sep 16, 2024
1a0feee
fix: render first token
agoose77 Sep 17, 2024
aa11873
fix: clear results on exit
agoose77 Sep 18, 2024
35243a3
fix: show CMD on mac
agoose77 Sep 17, 2024
ca103a1
fix: improve dark-mode styles
agoose77 Sep 18, 2024
3edad59
fix: drop changes to package.json
agoose77 Sep 18, 2024
18e6ece
wip: prepare for some kind of aria-focused result
agoose77 Sep 18, 2024
39e45a2
feat: close search on click of result
agoose77 Sep 18, 2024
b2c484d
feat: add keyboard-controlled selection
agoose77 Sep 19, 2024
e5514dd
refactor: list #id state upwards
agoose77 Sep 23, 2024
6f458c0
chore: more cleanups
agoose77 Sep 23, 2024
5bda683
refactor: add separate search button component
agoose77 Sep 23, 2024
27aa7e0
fix: only take non-empty token
agoose77 Sep 20, 2024
174b492
feat: add support for async search
agoose77 Sep 23, 2024
558c674
feat: add display for no results
agoose77 Sep 23, 2024
bc63524
feat: useFetcher instead of loader
agoose77 Sep 23, 2024
0033f70
refactor: some cleanups
agoose77 Sep 23, 2024
a5dcb91
refactor: support distinction between no results and no terms
agoose77 Sep 23, 2024
4cf43ac
feat: add enter icon
agoose77 Sep 23, 2024
bd34023
fix: bug with ranking
agoose77 Sep 23, 2024
3d7529e
refactor: drop unused attribute
agoose77 Sep 24, 2024
a61ff6c
Add minisearch
rowanc1 Sep 24, 2024
952a19f
Merge remote-tracking branch 'refs/remotes/origin/agoose77/feat-add-c…
agoose77 Sep 24, 2024
e1afb13
🔎 This is a search
rowanc1 Sep 24, 2024
ae21102
fix: support baseurl
agoose77 Sep 24, 2024
f96a898
Merge remote-tracking branch 'refs/remotes/origin/agoose77/feat-add-c…
agoose77 Sep 24, 2024
0f754cb
fixes
rowanc1 Sep 24, 2024
ee92bd7
Update themes/book/app/utils/loaders.server.ts
agoose77 Sep 24, 2024
bf06713
Bump packages
rowanc1 Sep 24, 2024
4fd5216
Remove dep
rowanc1 Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/clean-crabs-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@myst-theme/site': patch
'@myst-theme/book': patch
---

Update the search template options
6 changes: 6 additions & 0 deletions .changeset/curly-dryers-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@myst-theme/article': minor
'@myst-theme/book': minor
---

Add `myst.search.json` routing
Loading