web(823): suggest matching team skill as ghost hint while typing - #834
Merged
Merged
Conversation
Typing plain prose that hits the first-batch trigger table (reminder, translate, summarize, review) shows a ghost hint bar sourced from the existing useSkills vocab; Tab accepts the skill token at the caret, Esc/close single-ignores it, and the strip never co-opens with the / or @ menus. closes #823
…skill # Conflicts: # apps/web/src/detail/composer.tsx
This was referenced Oct 4, 2026
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.
What
Typing plain prose (e.g. "明早 9 点提醒我") that hits the first-batch trigger table now surfaces a ghost hint bar naming the matching team skill. Tab (or click) accepts the skill token at the caret with the prose untouched; Esc (or the close button) single-ignores that suggestion until the draft is sent.
Decisions locked in the ticket
useSkillsvocab (same projection as the mention picker and the/menu) — no side table. A team without a matching skill gets no suggestion./and@: the strip renders only while both menus are closed, and Tab/Enter/Esc keep their menu meaning whenever either menu is open.Evidence
Checks
pnpm lintgreen,pnpm typecheckgreen (all packages)skill-suggest11/11, shared suite 234/234, i18n coverage/scan greencomposer-skill-suggest.spec6/6 on an isolated port;e2e:affected756 passed