Skip to content

add friendly Findings view to Hackbot UI#6283

Open
crythms wants to merge 1 commit into
mozilla:masterfrom
crythms:ui-human-readable-findings
Open

add friendly Findings view to Hackbot UI#6283
crythms wants to merge 1 commit into
mozilla:masterfrom
crythms:ui-human-readable-findings

Conversation

@crythms

@crythms crythms commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

The Findings panel only show JSON output. Added a generic, recursive "Friendly" renderer selectable via a segmented toggle in the panel header. JSON remains the default view; Friendly is opt-in.

Here's a video showing sample changes
note: You'll see a button named Raw JSON in the video, that was updated to just JSON.
https://github.com/user-attachments/assets/ccf8b458-9bef-4e8e-8882-8b9602729f48

The run-detail Findings panel only showed a raw JSON dump. Findings have a
variable schema per agent, so add a generic, recursive "Friendly" renderer
selectable via a segmented toggle in the panel header. Raw JSON remains the
default view; Friendly is opt-in.

The renderer maps arbitrary keys to Title Case labels and dispatches by value
type: booleans and confidence as colored badges, bug_id as a Bugzilla link,
string arrays as chips, arrays of objects as cards, nested objects recursively.
Long text fields preserve newlines and pretty-print embedded ```json``` blocks
via a lightweight helper (no markdown dependency, no dangerouslySetInnerHTML).
@crythms crythms changed the title Add human-readable Findings view to Hackbot UI add friendly Findings view to Hackbot UI Jul 3, 2026
@crythms

crythms commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

fyi: @msujaws

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