pour application android simpl-liste
- TypeScript 78.5%
- JavaScript 19.3%
- Python 2%
- Dockerfile 0.1%
- CSS 0.1%
A task created on the companion, or tomorrow by an AI assistant, never rang on the phone: only src/db/repository/tasks.ts scheduled or cancelled reminders, and applyTaskChange wrote the pulled row without touching them. A task completed or deleted elsewhere kept its reminder. - syncRules.ts: reminderPlan(action, task), pure and import-free, returns 'schedule' for an open task with a due date, 'cancel' for a completed task, a task without a due date or a deletion. - syncClient.ts: applyTaskChange executes the plan after its local write, through scheduleTaskReminder and cancelTaskReminder, awaited and with their errors swallowed as in the task repository. A deletion now falls through to the reminder instead of returning early; a row kept by keepLocal still returns before any call. - tests/syncRules.test.mjs: the cases of reminderPlan. - tests/smoke.test.cjs: wiring of applyTaskChange, checked by reading the source (syncClient.ts does not load under node). - web/src/test/sync: the notifications stub records the calls of each device, and a ninth scenario covers the reminder scheduled on receipt, cancelled once the task is completed or deleted elsewhere, and untouched for a row kept by keepLocal. No dependency added, no new host, version and versionCode unchanged. Refs #206 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .vscode | ||
| app | ||
| assets | ||
| patches | ||
| scripts | ||
| src | ||
| tests | ||
| web | ||
| .gitignore | ||
| app.json | ||
| babel.config.js | ||
| CLAUDE.md | ||
| DECISIONS.md | ||
| drizzle.config.ts | ||
| eas.json | ||
| index.js | ||
| masterplan.md | ||
| metro.config.js | ||
| nativewind-env.d.ts | ||
| package-lock.json | ||
| package.json | ||
| REVIEW.md | ||
| SECURITY.md | ||
| spec-decisions-mcp-agents.md | ||
| spec-decisions-sync-suites.md | ||
| spec-plan-mcp-agents.md | ||
| spec-plan-sync-delai-comptes-etiquettes.md | ||
| spec-plan-sync-suites.md | ||
| spec-plan-sync-ws-tests-sonde.md | ||
| spec-simpl-liste-web.md | ||
| sql-transformer.js | ||
| STATE.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||