feat(desktop): 技能 使用 button — composer prefill lands (last backlog item) - #706
Merged
Conversation
… setText seam Closes the last recorded backlog item. Clicking 使用 on an enabled skill (内置/已安装 rows) jumps to the chat view, ensures a session (creates one only if none is active), and seeds the composer with 「使用 <技能名> 技能:」 — same human-in-the-loop rule as maka://compose: never auto-sends. Rides ComposerHandle.setText; no new IPC. Also two honesty/geometry fixes found on the way: - composer placeholder advertised '/' quick-invoke and '@' context — neither syntax exists; the copy is 描述任务… now - the skill-template rows put 3 children in a 2-col grid with no placement — auto-flow dropped the meta line under the icon column and shattered the row; explicit grid-template-areas fix it Desktop 2297/2297 + typecheck + dead-css + alignment auditor clean; module-skills capture verifies the 使用 row form matches the reference.
7 tasks
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.
The 使用 button was deferred pending a prefill mechanism — the mechanism already existed (
ComposerHandle.setText, the maka://compose pathway) and just needed the seam wired:Desktop 2297/2297 exit-code gated + full typecheck + dead-css + CI alignment auditor clean; before/after captures verified.