Skip to content

fix(scouts): move the linked-report chip beside the task-run link#2701

Merged
andrewm4894 merged 1 commit into
mainfrom
fix/scout-finding-report-link-fallback
Jun 16, 2026
Merged

fix(scouts): move the linked-report chip beside the task-run link#2701
andrewm4894 merged 1 commit into
mainfrom
fix/scout-finding-report-link-fallback

Conversation

@andrewm4894

@andrewm4894 andrewm4894 commented Jun 16, 2026

Copy link
Copy Markdown
Member

What

On the scout detail page, the linked-report chip sat on the left (right after the finding id), and an unlinked finding fell back to a noisy "Sent to the signals pipeline – report assignment isn't traceable here yet" note.

This moves the chip to the footer's right edge, next to the "Open task run" link, and drops the fallback note entirely:

  • linked → the In report: … chip, beside the task-run link
  • not linked → nothing (no noisy empty-state)

Why

The fallback note was effectively dead/ugly: on this surface footerEnd (the task-run link) is always present, so the report indicator and the task-run link belong together on the right. With the backend lookup bug fixed in PostHog/posthog#63983, a finding reliably shows the chip when its signal is linked to a report — so an unlinked finding simply showing nothing is the right call.

Test plan

  • pnpm --filter @posthog/ui typecheck passes
  • Biome clean
  • Single-file change (ScoutEmissionCard.tsx); footer layout otherwise unchanged

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit e0c7cd1.

@greptile-apps

greptile-apps Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "fix(scouts): show a 'Not in a report' st..." | Re-trigger Greptile

The linked-report chip sat on the left after the finding id, and an unlinked
finding fell back to a noisy "Sent to the signals pipeline …" note. Move the
chip to the footer's right edge next to the task-run link, and drop the note:
with the backend lookup fixed (PostHog/posthog#63983) a finding shows the chip
when it's linked and simply nothing when it isn't.
@andrewm4894
andrewm4894 force-pushed the fix/scout-finding-report-link-fallback branch from 5404c9c to e0c7cd1 Compare June 16, 2026 12:35
@andrewm4894 andrewm4894 changed the title fix(scouts): show a 'Not in a report' state on unlinked findings fix(scouts): move the linked-report chip beside the task-run link Jun 16, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e0c7cd1f3f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/ui/src/features/scouts/components/ScoutEmissionCard.tsx
@andrewm4894 andrewm4894 self-assigned this Jun 16, 2026
@andrewm4894 andrewm4894 added the Stamphog This will request an autostamp by stamphog on small changes label Jun 16, 2026
@andrewm4894
andrewm4894 enabled auto-merge (squash) June 16, 2026 12:51

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pure UI layout adjustment — moves a chip's position in the footer and removes a fallback text string. No logic, data model, or API contract changes. The resolved inline comment about the unlinked-report state was acknowledged by the author.

@andrewm4894
andrewm4894 merged commit 4bef76f into main Jun 16, 2026
26 checks passed
@andrewm4894
andrewm4894 deleted the fix/scout-finding-report-link-fallback branch June 16, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stamphog This will request an autostamp by stamphog on small changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant