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

オープン
#3,106 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

Start with inboxSnooze.ts and the Inbox implementation linked in #3036; trace how snooze and pin state affects the Inbox and navigation count. Then read the watch event handling for events such as pull_request.merged and deployment.succeeded. Done means snooze and pins are stored per viewer on the server and matching events can reopen snoozed items across devices.

索引モデルが issue の本文から書いたものです。

説明

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]

主要言語
TypeScript
スター
397
フォーク
43
平均マージ
8時間 28分
マージ済み PR(30日)
764

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/junior のほかの issue

getsentry/junior の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。