Skip to content

Store Inbox snooze and pins on the server, with event-based snooze #3106

Open

Description

@sentry-junior

The dashboard Inbox (#3036) keeps snooze and pins in the browser only. Other devices and the nav count do not see them.

Current behavior

  • Snooze and pin state lives in the browser (inboxSnooze.ts). It is lost when you switch device, and it does not change the Inbox count in the nav.
  • Snooze only supports times.

Gap

  • Snoozed and pinned Review items should look the same on every device and in every count.
  • Many Junior asks only become actionable after an event, not at a time. Examples: a PR opens, a PR merges, a deployment finishes, or an Automation runs.

Proposal (raised by BYK): store snooze and pins per viewer on the server, and add "when" snooze conditions, in the spirit of Google Inbox's location-based snooze. Examples: "when automation X runs", "when this PR opens", "when this PR merges". Junior already delivers provider events such as pull_request.merged and deployment.succeeded to watches, so an event-based snooze could reopen the item when a matching event arrives.

Related: #3036, #3103.

via @BYK.

--

View Session [Sentry]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions