From 41c503645122f3d2d79ea4a428d6eb72c399c5b5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 30 Nov 2026 11:13:47 +0100 Subject: feat(todo): Vikunja tasks due now on the Dashboard A row under the music and spending cards lists the open Vikunja tasks that are due today or overdue, or whose reminder has passed, and is hidden when there are none. A task with a reminder still ahead is left out, so snoozing adds a reminder 30 min ahead and the task returns when it fires. Tap opens the task in the PC's browser, hold marks it done, a swipe right snoozes it. [todo] url points at Vikunja; the API token lives in ~/.config/deck-it/vikunja-token. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 0da1307..8cbfc48 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -40,6 +40,15 @@ Keep the server dependency-free apart from that one package. hyprlock` every 2s and sends the tablet `KEYCODE_SLEEP` on lock and `KEYCODE_WAKEUP` on unlock. (Its Dashboard icons were dropped; the name stays because keystone's module toggle uses it.) +- `todo` reads Vikunja (`[todo] url`, an API token in + `~/.config/deck-it/vikunja-token`) every 60s: open tasks due today or + overdue or whose reminder passed (`/api/v2/tasks` filter), minus any with a + reminder still ahead, so a snooze hides one until it fires. Actions, for an + id the last state listed: `open` (`xdg-open` on the PC, Vikunja's + `frontend_url`), `done` and `snooze` (merge-patch; snooze keeps the old + reminders and adds one at now+30m), each re-reading the list. The + Dashboard's `.dash-todo` row exists only while there are tasks: tap opens, + hold marks done, a swipe right snoozes. - `deckit/theme.py` reads UDT's palette (`~/.config/rofi/udt/palette.rasi`) and `~/.cache/udt/udt-border.lua`; the frontend uses only those CSS variables. Text size is keystone's (`~/.config/keystone/fonts.json`, `override.deckit` -- cgit v1.2.3