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

Abierto
#3,778 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
649
Merge medio
16 h 1 min
PR fusionados (30 d)
756

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de backnotprop/plannotator

Todos los issues de backnotprop/plannotator

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.