refine(app): tighten slash autocomplete matching (#12647)

pull/12689/head^2
Kit Langton 2026-02-08 06:26:59 -05:00 committed by GitHub
parent c639200ede
commit bc25efdf72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
} = useFilteredList<SlashCommand>({
items: slashCommands,
key: (x) => x?.id,
filterKeys: ["trigger", "title", "description"],
filterKeys: ["trigger", "title"],
onSelect: handleSlashSelect,
})