feat(code): show scout name on signal cards - #2538
Merged
Merged
Conversation
Scout-emitted signals all rendered the generic "Scout · Cross-source issue" source line, making it impossible to tell which scout produced a finding on a report. The scout's skill_name already reaches the frontend in the signal's extra payload, so surface it: render "Scout · <name>" (e.g. "Scout · Error tracking"), falling back to the old label when skill_name is absent. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Contributor
|
rafaeelaudibert
approved these changes
Jun 9, 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.
Problem
Scout-emitted signals on a report all rendered the same generic source line —
Scout · Cross-source issue— so there was no way to tell which scout produced a given finding. Every scout (error tracking, logs, revenue, LLM analytics, etc.) emits with the samesource_product/source_typepair, so the taxonomy alone can't distinguish them.Changes
Surface the emitting scout's name on each signal card. The scout's
skill_namealready reaches the frontend inside the signal'sextrapayload (SignalsScoutSignalExtra), so this is a display-only change — no backend, API, or type plumbing needed.prettifyScoutName()— strips thesignals-scout-prefix and sentence-cases the rest (e.g.signals-scout-error-tracking→Error tracking).signalCardSourceLine()now rendersScout · <name>, falling back to the previousScout · Cross-source issuelabel whenskill_nameis absent.extraat the call site (parseExtra) since it can arrive as a raw JSON string.Single file touched:
apps/code/src/renderer/features/inbox/components/detail/SignalCard.tsx.How did you test this?
tsctypecheck — no errors inSignalCard.tsx.skill_name.Automatic notifications