Skip to content

feat(findings): highlight evidence, show snippet locations, one action row - #41

Merged
strantalis merged 2 commits into
mainfrom
feat/highlight-evidence
Nov 14, 2026
Merged

strantalis merged 2 commits into
mainfrom
feat/highlight-evidence

Conversation

@strantalis

Copy link
Copy Markdown
Owner

What

  • Desktop: finding evidence and the suggested fix render through the host's ui.Code and ui.Markdown, so code is highlighted in the app theme with a copy button.
  • Terminal: evidence uses OpenTUI's code element and the suggested fix its markdown element, coloured from the host theme's syntax colours. The terminal bundle now imports @opentui/core from the host.
  • Each evidence snippet keeps its file and line (Finding.snippets). Scans saved before this show one joined block as before.
  • Validate finding, Propose fix and Discuss in chat share one row; explanations moved to tooltips.
  • Both views fall back to plain text when the host does not expose these.

Verified

  • npm run check (104 tests) and both browser harness tests.
  • Real OpenCode Desktop 2.3.0: highlighting, action row, and per-snippet locations on a fresh scan.
  • Real OpenCode TUI (CLI 2.2.6) with the sample plugin: highlighted evidence and Markdown fix. Not run against CLI 2.3.0.

🤖 Generated with Claude Code

https://claude.ai/code/session_016LiHJtDpo3TEPnWZ78vM2X

strantalis and others added 2 commits November 14, 2026 15:14
…n row

Evidence and suggested fixes render through the host's code and Markdown
components in Desktop, and through OpenTUI's code and markdown elements
with the host theme's syntax colours in the terminal. Each evidence
snippet keeps its file and line. Finding actions share one row.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016LiHJtDpo3TEPnWZ78vM2X
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016LiHJtDpo3TEPnWZ78vM2X
@strantalis
strantalis merged commit e9ca0de into main Nov 14, 2026
12 checks passed
@strantalis
strantalis deleted the feat/highlight-evidence branch November 14, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant