Skip to content

feat(dashboard): chat composer popovers — slash + @ mention (#81)#83

Merged
esengine merged 1 commit intomainfrom
feat/chat-popovers-slash-mention
May 1, 2026
Merged

feat(dashboard): chat composer popovers — slash + @ mention (#81)#83
esengine merged 1 commit intomainfrom
feat/chat-popovers-slash-mention

Conversation

@esengine
Copy link
Copy Markdown
Owner

@esengine esengine commented May 1, 2026

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.

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.
@esengine esengine added enhancement New feature or request dashboard dashboard / web companion (dashboard/**) labels May 1, 2026
@esengine esengine merged commit 4fe1fae into main May 1, 2026
2 checks passed
@esengine esengine deleted the feat/chat-popovers-slash-mention branch May 1, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboard dashboard / web companion (dashboard/**) enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(dashboard): chat composer popovers — slash / @ / # mention pickers

1 participant