Commit e4551bc
feat(web): add search functionality to docs page with command palette (#2190)
* feat(web): add search functionality to docs page with command palette
- Add SearchTrigger component with command palette (Cmd+K shortcut)
- Add search bar in left sidebar for desktop view
- Add sticky search bar under header for mobile view
- Use pagefind for search functionality
- Integrate with @hypr/ui Command components
Co-Authored-By: [email protected] <[email protected]>
* fix(web): add DialogTitle for accessibility and type=button to search triggers
Co-Authored-By: [email protected] <[email protected]>
* feat(search): refactor search modal to use portal and improve UX
* fix(web): use single SearchPaletteProvider to fix multiple palettes, add auto-focus
Co-Authored-By: [email protected] <[email protected]>
* feat(search): wrap SearchTrigger with SearchPaletteProvider
* feat(search): refactor search trigger with cn utility and add header variant
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>1 parent 7ade93c commit e4551bc
File tree
4 files changed
+435
-75
lines changed- apps/web/src
- components
- routes/_view
- docs
4 files changed
+435
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
| 331 | + | |
| 332 | + | |
337 | 333 | | |
338 | 334 | | |
339 | 335 | | |
| |||
346 | 342 | | |
347 | 343 | | |
348 | 344 | | |
| 345 | + | |
| 346 | + | |
349 | 347 | | |
350 | 348 | | |
351 | 349 | | |
352 | 350 | | |
353 | 351 | | |
354 | 352 | | |
355 | 353 | | |
| 354 | + | |
| 355 | + | |
356 | 356 | | |
| 357 | + | |
| 358 | + | |
357 | 359 | | |
358 | | - | |
359 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
360 | 365 | | |
361 | 366 | | |
362 | 367 | | |
| |||
0 commit comments