Skip to content

fix(inbox): fix some inbox papercuts#2151

Open
joshsny wants to merge 8 commits into
mainfrom
posthog-code/fix-signals-inbox-ui-polish
Open

fix(inbox): fix some inbox papercuts#2151
joshsny wants to merge 8 commits into
mainfrom
posthog-code/fix-signals-inbox-ui-polish

Conversation

@joshsny
Copy link
Copy Markdown
Contributor

@joshsny joshsny commented May 16, 2026

Summary

A bunch of small things were annoying me in the inbox UI, here are fixes for them, don't think anything here is 🌶️

Signals inbox list

  • Drop the yellow tint on suggested-reviewer rows — the amber row background read as "highlighted/selected"; the amber eye badge alone is enough to mark a card as suggested-for-you.
  • Clamp list-row summary to 3 lines (was 4).

Signal cards (report detail)

  • Drop the "Weight: x.x" badge from signal card headers — noisy internal detail with no actionable meaning.
  • Only render the "Verified" badge when the finding is actually verified — drop the gray "Unverified" rendering.
  • Error tracking signal cards now render a "View issue" link (built from signal.source_id via a new errorTrackingIssueUrl() helper that picks up the user's cloud region and project id), mirroring the existing "View on GitHub" / Zendesk "Open" links.

Report detail header & task bars

  • Move the Create PR / View PR action from the bottom implementation task bar into the top-right header next to Dismiss. Header order is now: copy-link, Dismiss, (Create PR ⇄ View PR pill), close. The Create PR button and the View PR pill are mutually exclusive — same slot, same role.
  • Drops the corresponding onCreateImplementationTask / isAwaitingInput plumbing from ReportTaskLogs and the role="button" workaround that only existed so the nested run button could coexist with the expand toggle.
  • Shorten task-bar labels: "Research task" → "Research", "Implementation task" → "Implementation".

Interaction

  • Plain-clicking the already-selected report no longer calls clearSelection() (and no longer drops the user back to the "Select a report" empty state). Cmd-click still toggles; shift-click still range-selects.
Screenshot 2026-05-16 at 18 46 46

joshsny added 8 commits May 16, 2026 15:56
- Drop yellowish row background for suggested-reviewer cards; the eye
  badge alone is enough to indicate suggestion and the amber tint read
  as "highlighted"
- Normalize the suggested-reviewer badge height to match P2/Actionable
  by removing its leading-none override
- Increase the gap between title and badges (and badges and summary)
  in compact list rows
- Clamp the list-row summary to 3 lines (was 4)
- Round the sidebar Inbox "Alpha" badge to match the rest of the
  sidebar's rounded pills

Generated-By: PostHog Code
Task-Id: 9fcb5fbc-ec76-4b37-a0bc-dc4556c0d8a6
Revert the eye-badge leading override, the compact column gap bump, and
the sidebar Alpha badge radius — those were already in place; the
earlier commit was made against a stale local copy. Keeps only the two
genuinely new fixes: removing the suggested-reviewer row tint and
clamping the list summary to 3 lines.

Generated-By: PostHog Code
Task-Id: 9fcb5fbc-ec76-4b37-a0bc-dc4556c0d8a6
Drop the trailing "task" in the relationship labels shown on the report
detail task bars and in the matching pending-state tooltips. The "task"
suffix was redundant context — the bar itself already denotes a task.

Generated-By: PostHog Code
Task-Id: 9fcb5fbc-ec76-4b37-a0bc-dc4556c0d8a6
Plain-clicking the already-selected report was calling clearSelection,
which dropped the user back to the "Select a report" empty state — not
expected. Dropping the toggle-off branch so the second click is a no-op
(the row stays selected); cmd-click still toggles selection as before.

Generated-By: PostHog Code
Task-Id: 9fcb5fbc-ec76-4b37-a0bc-dc4556c0d8a6
The button was switching to "Implement as new task" whenever the report
was awaiting human input, even though clicking it does the same thing
either way — kick off onCreateImplementationTask. Always show the
user-meaningful "Create PR" label.

Generated-By: PostHog Code
Task-Id: 9fcb5fbc-ec76-4b37-a0bc-dc4556c0d8a6
- Remove the "Weight: x.x" badge from signal card headers. It was noisy
  internal detail with no actionable meaning for the reviewer.
- For error_tracking signals, render a "View issue" link in the card
  using signal.source_id (the issue UUID). Mirrors the existing
  "View on GitHub" / Zendesk "Open" links on other source-specific
  cards. Adds errorTrackingIssueUrl() to the shared posthogLinks
  helpers so it picks up the user's cloud region and project id.

Generated-By: PostHog Code
Task-Id: 9fcb5fbc-ec76-4b37-a0bc-dc4556c0d8a6
Drop the "Unverified" rendering of VerificationBadge — showing a gray
"Unverified" chip on every unverified signal added noise without
adding signal. The badge now only renders when finding.verified is
true.

Generated-By: PostHog Code
Task-Id: 9fcb5fbc-ec76-4b37-a0bc-dc4556c0d8a6
The Create PR button sat on the bottom implementation task bar, which
felt like an out-of-the-way place for the primary action on a report.
Move it to the header next to Dismiss so all top-level controls live in
one corner.

Header right-side order is now: copy-link, Dismiss, (Create PR | View
PR pill), close. The Create PR button and View PR pill are mutually
exclusive — same slot, same role.

Drops the now-unused onCreateImplementationTask / isAwaitingInput
plumbing from ReportTaskLogs along with the run-action button JSX and
the role="button" workaround that only existed so the nested run
button could coexist with the expand toggle.

Generated-By: PostHog Code
Task-Id: 9fcb5fbc-ec76-4b37-a0bc-dc4556c0d8a6
@joshsny joshsny changed the title fix(inbox): polish signals inbox card and sidebar styling fix(inbox): fix some inbox papercuts May 16, 2026
@joshsny joshsny marked this pull request as ready for review May 16, 2026 16:45
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 16, 2026

Reviews (1): Last reviewed commit: "fix(inbox): move Create/View PR action i..." | Re-trigger Greptile

@joshsny joshsny requested a review from a team May 16, 2026 16:48
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