| Age | Commit message (Collapse) | Author | Files | Lines |
|
The dim cover's time and date fonts move out of [tablet] clock_font and
clock_font_date into keystone's fonts.json: "family" deckit-clock and
deckit-date, each served at /fonts/<key>, and the "override" sizes
deckit:clock and deckit:date (else deck.css's 8rem and 1.6rem). The date
can now have a font of its own. theme.css carries the rules, so a save
on the Fonts page reaches an open tablet page within 5s, with no restart
and no flags in the tablet state.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
[tablet] clock_font names a font family installed on the PC; the
server finds its file with fc-match and serves it at /fonts/clock, and
the cover's clock uses it, the date too while clock_font_date is on
(default). fc-match falls back to any font, so the route answers only
when the returned family is the one named; otherwise the page font
stays. The font file never enters the repo, so a personal-use font
can be used on one's own tablet without redistributing it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The server never ran the modules' stop: `deck-it stop` ends it with
SIGTERM and nothing called stop_all, so a shutdown left the tablet dim.
A SIGTERM handler now runs stop_all before exiting.
The settings from before a dim lived only in memory, so a new server's
undim had nothing to put back. They are now kept in
~/.cache/deck-it/dim, and a freshly loaded page asks for undim, since it
is never dimmed itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The delay inhibitor now covers shutdown too, and dbus-monitor also
watches PrepareForShutdown. X-Deckit-Sleep carries the reason
("asleep" or "shutting down") and the page shows "The PC is <reason>",
dropping the wake lock as on suspend.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
A POST refused before its body was read (403, 401, 404, a wrong type or
size) closed the socket on unread bytes; the kernel reset it and the
client saw a broken pipe instead of the answer. test_upload_limits hit
this about once in 40 runs (BrokenPipeError), and it slipped into the
previous commit's suite run. _refuse reads up to 1 MiB of the body
first; 0 failures in 300 runs of the affected tests after.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Questions sit on the right in an accent bubble with the user's avatar
(`[assistant] user_avatar`, served at /api/avatar); replies on the left
in a surface bubble with the assistant's, a "…" bubble while a reply has
no text yet. The assistant's avatar is the background picture itself,
zoomed by CSS onto `[assistant] face` ([centre x, centre y, size] in its
pixels), so nothing is cropped on the PC; the page loads the picture once
for its real size. Unset, both are plain circles.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Each window is a card like the Alt+Tab switcher's: a preview in the
window's shape (grim -T on Hyprland's stableId, also for hidden
workspaces, refreshed every 5 s), the desktop top left, close top right,
the app icon bottom left, each on its own scrim, the title below. Tap
focuses, a long press opens the move menu at the press point (the grid
re-renders under a title that changes every second, so the card itself
may already be gone), and Chrome's image menu is suppressed.
Module.image serves module images at /api/<module>/image/<key>; windows
answers only for a window the last state listed. Workspace tiles, card
markers and the move menu use the icons from keystone's Workspaces.qml,
falling back to the number; the icon route also searches the theme's
places, preferences and categories folders, where two of them live.
The workspaces are centred.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
`[assistant] background` names an image (none by default); the server
serves it at /api/bg behind the token, and the tab shows its subject from
the right side, desaturated and faded out on every side so no edge shows:
opacity .24 while the chat is empty, .07 during a conversation. Tuned on
the 1280x800 tablet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
deckit/sleep.py holds an elogind delay inhibitor and watches
PrepareForSleep with dbus-monitor. On a suspend the server marks its
answers with X-Deckit-Sleep for 2 s, so the tablet's next poll shows "The
PC is asleep" at once and drops its wake lock, then lets the inhibitor go.
On resume it takes the inhibitor again. The 15 s silence fallback stays,
worded "The PC is not answering", for a crash or a dropped tunnel.
The inhibitor's command is `tail --pid=<server>` and dbus-monitor has a
parent-death signal, so a killed server leaves no lock delaying every
suspend (checked with kill -9: both gone within 2 s).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Hidden main no longer shows over the offline card, Enter while busy no
longer stops a reply, autoscroll is tracked by a scroll listener so it
works while the tab is hidden, and the catalog is retried on each daemon
reconnect. Mic start is guarded against double taps and recorder
failures, a denied mic can be retried, a failed ask restores the text,
the model panel closes on any outside tap, and the font path is cached
only once found. Plus small CSS and spec corrections.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The Windows tab rebuilt every row once a second, and each rebuild walked
every window icon through its fallback names again, so the rows blinked.
It now re-renders only when the state changed.
Icon lookup only searched the configured theme, so an app the theme
lacks (pcmanfm-qt under candy-icons) lost its icon and showed its label.
It now falls back to hicolor, as the icon theme spec does, in hicolor's
size/category layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|