P2: Calendar inline Task Inspector editors always call the file-only route #937

Open
opened 2026-10-02 17:41:26 +00:00 by kayg · 0 comments
Owner

P2 — Inline Tasks have field editors that cannot save

Evidence: Calendar mounts TaskSection for every Task at
apps/web/src/routes/calendar/[view]/[date]/+page.svelte:2242. TaskSection
shows Status, dates, Repeat, Priority, List and Tags for both Task kinds at
lines 511–558. Every save calls the file-only properties route at line 315.
crates/plugins/notes/src/tasks_api.rs:358 rejects an inline Task with
inline Task properties require promotion. Even Status always fails. The
catch at line 327 asks the User to try again, although retry cannot work.

Fix: use the existing tick route for inline completion. For other fields,
offer the existing promotion action or show a read-only value with an action
to open its Note. Do not expose an editor whose contract cannot save it.

Test idea: open the Inspector for a checkbox in a Daily note. Change its status
and assert the checkbox and Calendar update. Assert unsupported fields have a
working promotion/open action and do not send a file-only patch.

Rule: DESIGN §§34, 40, 41 and the owner UX completeness rule.

Source: independent read-only review of #659 at 013f6785a. Line numbers refer to that commit. No build or runtime test was run.

## P2 — Inline Tasks have field editors that cannot save Evidence: Calendar mounts TaskSection for every Task at `apps/web/src/routes/calendar/[view]/[date]/+page.svelte:2242`. TaskSection shows Status, dates, Repeat, Priority, List and Tags for both Task kinds at lines 511–558. Every save calls the file-only properties route at line 315. `crates/plugins/notes/src/tasks_api.rs:358` rejects an inline Task with `inline Task properties require promotion`. Even Status always fails. The catch at line 327 asks the User to try again, although retry cannot work. Fix: use the existing tick route for inline completion. For other fields, offer the existing promotion action or show a read-only value with an action to open its Note. Do not expose an editor whose contract cannot save it. Test idea: open the Inspector for a checkbox in a Daily note. Change its status and assert the checkbox and Calendar update. Assert unsupported fields have a working promotion/open action and do not send a file-only patch. Rule: DESIGN §§34, 40, 41 and the owner UX completeness rule. Source: independent read-only review of #659 at 013f6785a. Line numbers refer to that commit. No build or runtime test was run.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#937
No description provided.