feat(dashboard): chat composer popovers — slash + @ mention (#81)#83
Merged
feat(dashboard): chat composer popovers — slash + @ mention (#81)#83
Conversation
Adds the floating popover from design §4 above the chat composer. - **Slash popover** — fires when input matches `^/(\w*)$`. Filters the SLASH_COMMANDS catalog (fetched once via new GET /api/slash) by prefix, shows name + summary per row. Tab inserts; Enter inserts and submits. ↑/↓ navigate, Esc closes. - **@ mention popover** — fires when input ends with `(?:^|\s)@(\S*)$` in attached mode. New POST /api/files walks cwd up to depth 4, caps at 50 results, skips node_modules / .git / common binary extensions. Tab inserts the relative path; Esc closes. The popover degrades to no-op when slash commands fail to load or in standalone mode (no cwd). Closes #81.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds slash + @ mention popovers above the chat composer. Two new endpoints: GET /api/slash (filtered SLASH_COMMANDS), POST /api/files (project file walker, depth 4, 50 cap). Keyboard-first (↑↓ Tab Enter Esc). 1716 tests pass.
Closes #81.