Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Four small problems from shipping a local-first task app

说明与用途

OpenTodo 0.9.0 解决四个问题:编辑标题解析、单一计时器、只读问题导入以及将来源元数据加密为单一值。

问题

Local‑first task manager OpenTodo faced four practical issues during its 0.9.0 release: parsing edited titles, ensuring a single running timer across offline devices, importing issues without writing back, and encrypting origin metadata as a single value.

结果

OpenTodo’s 0.9.0 release resolved four nuanced problems, improving user experience and security while maintaining local‑first guarantees.

工作流

  • Implement title parser to compare base and draft, extracting only the edited span.
  • Define deterministic timer repair rule: keep entry with greatest started_at (tie by id) and end others.
  • Design import logic to be read‑only, with server‑owner opt‑in and outbound policy enforcement.
  • Serialize and encrypt origin metadata as a single value, store and serve unchanged.
  • Use OpenSpec workflow for spec, design, and code review.
  • Deploy release 0.9.0 with AI coding agents.

证据

The fix is to read only the edit. When editing starts, the current title becomes the base. On commit, the parser finds the common prefix and the common suffix of the base and the draft, treats those spans as if they were quoted, and reads only the text in between.

来源

Among a user's running entries, the one to keep is the one with the greatest started_at, with ties broken by the greatest id.

来源

The feature is off by default, and the personal access tokens are kept outside the database and its backups.

来源

The origin is encrypted as one whole value: the object is serialised, then encrypted into one ciphertext string.

来源

  • 记录日期: 2026-10-23T01:11:34.622Z