diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-30 11:13:47 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-30 11:13:47 +0100 |
| commit | 41c503645122f3d2d79ea4a428d6eb72c399c5b5 (patch) | |
| tree | 92dfb9879824a9d2d67de8b7262b348fa1303930 /AGENTS.md | |
| parent | 88f120cb544296f4c760546a204f1e2268a2e5dd (diff) | |
| download | deck-it-41c503645122f3d2d79ea4a428d6eb72c399c5b5.tar.gz deck-it-41c503645122f3d2d79ea4a428d6eb72c399c5b5.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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` |
