Commit Graph

6 Commits

Author SHA1 Message Date
Charis
185e67611d fix: status icon location moved (#28302) 2024-07-31 16:55:19 -02:30
Charis
e3e8cd943c feat: replace docs command menu with v2 (#28048)
Replace docs command menu with Command Menu V2 from ui-patterns/CommandMenu.

This introduces the prepackaged folder for the shared Command Menu, which contains commands that are shared across the sites (for example, docs search, theme switcher).

Commands that are only applicable to a single site are now defined within that site's own app folder (put them wherever makes sense for your app folder organization, as long as you use the hooks within a global CommandProvider it will work...)

Tested navigating around, using search and AI on laptop and mobile.
2024-07-31 14:20:30 -04:00
Charis
1b89fa0b5c feat: command menu v2 ui components (#27761)
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-07-16 14:14:03 -04:00
Charis
9d6d29c4db feat(cmd menu): add hooks (#27044) 2024-06-20 19:17:32 -04:00
Charis
71f012a527 feat(command menu v2): complete state management (#27019)
Add all the outstanding pieces for state management of new command menu:

- Pages state (handles routing between command menu views, e.g., docs
  search, AI, etc.)
- View state (handles opening and closing and initiation (needed for
  lazy loading))
- Query state (handles active search term)
2024-06-05 10:53:00 -04:00
Charis
4fbcd61e95 feat: new command menu pt 1 (#23699)
Introduces the first (very small) slice of the new command menu as a `ui-pattern`.

This slice just handles state for available commands. It isn't hooked up to anything yet.
2024-06-04 14:32:13 -04:00