dify/web/app/components/goto-anything
2026-09-04 12:26:26 +00:00
..
__tests__ fix: align select and autocomplete collection contracts (#41829) 2026-09-04 12:26:26 +00:00
actions fix(agent): add roster publication status contract (#41435) 2026-08-28 08:50:30 +00:00
components fix(web): align goto anything autocomplete behavior (#41258) 2026-08-25 12:39:07 +00:00
dialog-handle.ts refactor(web): rebuild goto anything dialog (#38914) 2026-07-14 10:38:45 +00:00
hotkeys.ts refactor(web): standardize hotkey ownership and typing (#38960) 2026-07-15 02:22:40 +00:00
index.tsx fix: align select and autocomplete collection contracts (#41829) 2026-09-04 12:26:26 +00:00
README.md fix: align select and autocomplete collection contracts (#41829) 2026-09-04 12:26:26 +00:00

Goto Anything

Global command palette that coordinates detached dialog triggers, typed search, commands, and navigation.

State Ownership

  • The detached Dialog handle owns open state and trigger focus restoration.
  • The dialog component owns the transient search input and selected plugin installer state.
  • TanStack Query owns remote search lifecycle and cache state for each generated query contract.
  • Autocomplete owns option registration, highlighting, keyboard navigation, and item activation.
  • ScrollArea Viewport is the only results scroll container; Autocomplete List is a listbox for search results and a named grid for command cards.

Search actions adapt application, knowledge, plugin, workflow, and RAG owners into palette results. They must not duplicate those features' authorization, navigation, or query contracts.