← Back to Pull requests

feat(inbox): Compact Snooze menu with Custom… last #4035

Open
unknown opened this pull request with 326 lines diff across 4 files
View on GitHub
unknown unknown commented on Nov 22, 2026 19:07 UTC
Author

Follow-up to getsentry/junior#3964. The Snooze menu had grown to ten rows, and Custom… sat in the middle.

What changes

  • Custom… is always last. It opens a dialog, so it ends the menu, after Someday.

  • Durations share one row. 15m, 30m, 1h and 3h are a 4-cell grid, each with its wake time under the label. Their accessible names still spell out the duration and time, such as "15 minutes 08:15".

  • Day choices stay a row each. This afternoon, This evening, Tomorrow morning and Next week keep their time hint. Rows are a little tighter on desktop and keep their touch height on mobile.

  • Someday and Custom… share the last row, under a divider. Rows without Event snoozes show Custom… alone there.
  • Every choice and every number key stays the same: 1–4 are the durations in order, then the day choices, then Custom…. The menu goes from ten rows to six, and from about 336 px to about 208 px tall on desktop. This applies everywhere the menu shows: Inbox rows, stacks, hover actions and question cards in both UIs.

    Screenshots

    Mock data, the shared question card's Snooze menu.

    | | Before | After |
    | --- | --- | --- |
    | Dark · desktop | <img src="https://junior-prod.sentry.dev/public/artifacts/f2be4451-72f1-4374-affb-3fd94ac384b8.png" width="420"> | <img src="https://junior-prod.sentry.dev/public/artifacts/b57bc8d6-10d7-431a-9b75-c716c4aa9ec9.png" width="420"> |
    | Light · desktop | <img src="https://junior-prod.sentry.dev/public/artifacts/6a6bd952-5dc6-4c61-abb8-f0235efd04de.png" width="420"> | <img src="https://junior-prod.sentry.dev/public/artifacts/540f7c54-1332-45a1-bf8c-9b7b14aaa0fa.png" width="420"> |
    | Dark · mobile | <img src="https://junior-prod.sentry.dev/public/artifacts/056e188b-2e32-4efc-960e-047bd862e0b1.png" width="220"> | <img src="https://junior-prod.sentry.dev/public/artifacts/9e68dc5c-d251-4e59-a29c-ecd61abc2ced.png" width="220"> |
    | Light · mobile | <img src="https://junior-prod.sentry.dev/public/artifacts/6247af30-d7eb-42c1-9c3d-5a08e53de695.png" width="220"> | <img src="https://junior-prod.sentry.dev/public/artifacts/e35aeebc-3a3a-49c8-b974-3faac8b05c86.png" width="220"> |

    <!-- junior-request-attribution:start -->
    via @BYK.
    <!-- junior-request-attribution:end -->

    <!-- junior-session-footer:start -->
    <!-- junior-conversation-id:agent%3A68f829546c1a0883f2ead00bc1fdd890 -->

    --

    View Session [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A68f829546c1a0883f2ead00bc1fdd890/?project=4510944073809921)

    <!-- junior-session-footer:end -->

    Diff: 326 lines (+244 / -82) across 4 files Reviewer: cursor[bot] Review duration: 33m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.42) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 326 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.346
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #4035"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42% (MEDIUM) · Higher = larger blast radius
    42%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.4% · Safe to merge
    22.4%