fix(ui): show ignored skill line on user command turns#1370
fix(ui): show ignored skill line on user command turns#1370h30s wants to merge 1 commit intodifferent-ai:devfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@h30s is attempting to deploy a commit to the Different AI Team on Vercel. A member of the Team first needs to authorize it. |
|
The following comment was made by an LLM, it may be inaccurate: |
|
screenshots plz |
|
I don’t have UI screenshots to attach yet because this path only shows up when OpenCode sends a user message that includes non-synthetic ignored: true text (e.g. the short skill line) alongside the hidden synthetic template. I haven’t been able to reproduce that payload locally with my current OpenCode build, so there’s nothing faithful to screenshot without staging fake data. Verified so far: pnpm typecheck passes on this branch. Next step: I’ll add 2–3 screenshots here as soon as I can trigger a real slash-command / skill turn that emits those parts (user bubble with the muted italic line + in-session search hitting that text). If anyone has a known OpenCode version or repro that already produces that shape, I’m happy to match it. |
Summary
ignored: trueuser text parts (non-synthetic) so slash-command / skill turns show a short line (e.g. “Running skill: …”) instead of an empty user bubble.Why
Issue
Scope
apps/app/src/app/utils/index.ts—isUserSkillIndicatorTextPart,isUserTranscriptTextPart,groupMessageParts(..., isUserMessage)for user-only ignored companion text.apps/app/src/app/components/session/message-list.tsx— visibility filter + passisUserinto grouping.apps/app/src/app/components/part-view.tsx— muted italic styling for those text parts.apps/app/src/app/pages/session.tsx— search indexing for the same text.Out of scope
isUserVisiblePartglobally.Testing
Ran
pnpm typecheckResult
pretypecheck/ UI package build completes; on Windows rerun iftsupexits with a transient crash)CI status
Manual verification
Evidence
Risk
ignored+ non-synthetictext parts; could show unexpected lines if the server mis-tags user text asignored.Rollback