Inbox: keep a linked machine's last list across a restart

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
backend

調査の方向性

Read the "A link's line" section of inbox-machines.md first, then find where machines.json is read and written to see the permission and layout conventions to copy. Trace where a linked machine's list is loaded at Inbox startup and where away rows are already rendered for offline machines; persist the last list beside machines.json and feed it into that same away-row path. Done when restarting the always-on machine still shows sleeping links' threads as away rows, with open/reply still waiting on the remote machine.

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

説明

I read everything from one always-on machine's Inbox, linked to a desktop and a laptop that are often asleep. A linked machine's list is kept in memory only (inbox-machines.md, "A link's line": "when the viewing Inbox restarts while the other machine is away, its rows come back when that machine does (accepted: no copy on disk)").

So after an update or a reboot of the always-on machine, the sleeping machines' threads disappear from it until they wake. With a laptop closed for a few days, its open questions aren't visible anywhere I can reach. That works against the rule at the top of inbox-machines.md, that a linked machine's threads should feel like this machine's own.

Keeping each link's last list on disk (next to machines.json, with the same permissions) and showing it as away rows after a restart, the way an offline machine's rows already show, would cover this. Opening a thread or replying would still wait for that machine, as it does while it's away now.

主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
16時間 1分
マージ済み PR(30日)
756

環境構築

はじめの一歩

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

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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