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

Aperta
#3,778 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 1m
PR unite (30g)
756

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.