pour application android simpl-liste
  • TypeScript 78.5%
  • JavaScript 19.3%
  • Python 2%
  • Dockerfile 0.1%
  • CSS 0.1%
Find a file
le king fu 0156aee011 fix(sync): read the app inbox from the database and repair split devices
After the first sync the app kept reading the fixed local inbox id, which
the server never knows: the Inbox tab looked empty, tasks created there
were refused, and ensureInbox recreated the fixed list at every launch.

- getInboxId() is async and returns the local isInbox list, preferring a
  server inbox over the fixed id (pickInboxId, most recent first like the
  server); the fixed id only remains before the first sync.
- ensureInbox() creates the fixed id only when no inbox exists at all.
- repairInbox() runs at startup, after the settings store is hydrated and
  before the first sync: tasks under the fixed id move to the server inbox
  and are queued again (create, update, current tags, pending tag
  removals, dated in push order), their pending entries are discarded,
  other pending entries pointing at the fixed id are rewritten, list
  entries of the fixed inbox are dropped, and the fixed list is deleted.
  The decisions live in planInboxRepair (syncRules.ts, pure, node-tested
  against a model of POST /api/sync: zero refusals after the repair).
- initialReset on an account without an inbox creates one under a new
  UUID and pushes it, instead of falling back to the fixed id.
- The new task screen loads its default list asynchronously.

test: reproduces #152 (tests/syncRules.test.mjs, smoke wiring guard)

Refs #152

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 20:20:24 -04:00
.claude docs(eas-build): document APK upload retry pattern for transient 502/504 2026-05-01 07:17:51 -04:00
.vscode Initial commit 2026-02-20 19:08:56 -05:00
app fix(sync): read the app inbox from the database and repair split devices 2026-10-25 20:20:24 -04:00
assets feat: add custom app icon and adjust medium widget to 2x4 2026-02-21 14:12:22 -05:00
patches perf(widget): cut expand/collapse tap latency (native patches + light headless path) 2026-07-19 16:41:47 -04:00
scripts chore(review): stop counting a removed network call as high 2026-10-25 23:52:00 +00:00
src fix(sync): read the app inbox from the database and repair split devices 2026-10-25 20:20:24 -04:00
tests fix(sync): read the app inbox from the database and repair split devices 2026-10-25 20:20:24 -04:00
web test(sync): lock that one account cannot update or delete another account's rows 2026-10-25 17:14:02 -04:00
.gitignore chore: ignore .next/ and reports/ 2026-09-27 15:52:56 -04:00
app.json chore: bump version to 1.6.6 (versionCode 18) 2026-08-12 14:20:59 -04:00
babel.config.js feat: initial Simpl-Liste MVP 2026-02-20 19:28:42 -05:00
CLAUDE.md docs(review): add REVIEW.md with review levels and calibration script 2026-10-19 21:00:13 -04:00
drizzle.config.ts feat: initial Simpl-Liste MVP 2026-02-20 19:28:42 -05:00
eas.json feat: initial Simpl-Liste MVP 2026-02-20 19:28:42 -05:00
index.js feat: add Android widget for task overview (3 sizes) 2026-02-21 09:47:15 -05:00
masterplan.md docs: add CLAUDE.md and masterplan for project reference 2026-02-20 21:50:45 -05:00
metro.config.js fix: list navigation, crypto polyfill, SQL transformer, dark mode priorities 2026-02-20 20:15:49 -05:00
nativewind-env.d.ts feat: initial Simpl-Liste MVP 2026-02-20 19:28:42 -05:00
package-lock.json fix(security): raise postcss-selector-parser floor to 6.1.5 2026-10-19 20:09:12 -04:00
package.json fix(sync): pulled rows keep local-only fields and newer offline edits 2026-10-24 14:21:45 -04:00
REVIEW.md chore(review): stop counting a removed network call as high 2026-10-25 23:52:00 +00:00
SECURITY.md docs(security): seed STATE.md and SECURITY.md after vuln remediation 2026-04-24 07:30:41 -04:00
spec-decisions-sync-suites.md docs(spec): add sync-suites decisions and plan 2026-10-24 13:31:35 -04:00
spec-plan-sync-suites.md docs(spec): add sync-suites decisions and plan 2026-10-24 13:31:35 -04:00
spec-simpl-liste-web.md docs: archive spec-simpl-liste-web (milestone 12/12 done) 2026-04-19 15:57:00 -04:00
sql-transformer.js fix: list navigation, crypto polyfill, SQL transformer, dark mode priorities 2026-02-20 20:15:49 -05:00
STATE.md state: sync after #160 and #143 2026-10-25 19:52:42 -04:00
tailwind.config.js feat: initial Simpl-Liste MVP 2026-02-20 19:28:42 -05:00
tsconfig.json fix: resolve Logto auth crash on web — remove illegal cookie set in layout 2026-04-08 13:12:59 -04:00