| Age | Commit message (Collapse) | Author | Files | Lines |
|
The cover that hides the dashboard while the tablet is dimmed was only a
dark area; it now shows the time and date in the tablet's locale, so the
dim tablet stays useful at a glance. The cover is darker (85%) so the
clock stands out from the dashboard behind it, and it ticks only while
shown.
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>
|
|
After [tablet] dim_after seconds with no touch the page covers itself and
the tablet module's dim action lowers the backlight to dim_brightness over
adb, with auto brightness off meanwhile; an LCD's backlight is the drain,
so a dark page alone saves little. The touch on the cover only calls
undim, which restores both settings, as does the module's stop.
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 tab change slides the new tab in from the side it sits on in the bar
(40px and a fade over 220ms, off under prefers-reduced-motion); #tab-body
no longer scrolls sideways, so the slide never flashes a scrollbar.
A tab can show a brand logo from static/logos instead of a glyph: OBS
uses the OBS Studio logo (simple-icons). K1C's printer glyph becomes
nf-md-printer_3d_nozzle; the Creality logo exists only as a wordmark,
unreadable at tab size.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
When a window id appears that the last poll did not list, the tablet
shows the Windows tab for [windows] peek seconds (default 8, 0 off) and
then goes back to the tab it was on. A touch on the page or a tab change
meanwhile keeps it there; another new window restarts the timer.
The hook is generic: a panel's peek(state) returns seconds, app.js does
the switching. The first poll only learns what is open, and an error
state keeps what it knew, so neither triggers it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
- The OBS slot has no one-tap stop: a tap opens the OBS tab, so a
stray touch cannot end a recording.
- Scrolling lines are measured once their slot is on screen, and
every slot again when one comes or goes.
- The lock watcher survives a missing pidof.
- Trend gradients are in user space, so a flat line still paints.
- Uptime under an hour shows minutes.
- The shell no longer imports panel files for the modules the
dashboard draws.
- The spec matches the build VM and OBS slots and the error wording.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The Dashboard tab drops the draggable card grid for a fixed layout: a
top band of system, Claude and tablet chips with trend and fill
backgrounds, music and spending always on, a row of one to three busy
modules (printer, build VM, OBS) that scroll long lines, and the
action icons in Hyprland's rotating border. The stats, tablet and llm
panels and the vendored Gridstack go.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
#tab-body scrolls, so Chrome claimed every moving finger as a pan and
sent pointercancel, and the shell dropped the swipe before pointerup:
it never worked on touch. touch-action: pan-y keeps vertical scrolling
the browser's and sideways moves the page's. Swipes may now also start
on buttons (most of the Windows tab is cards); only sliders and the
dashboard's drag and resize handles keep theirs, and a recognised swipe
swallows the click it ends in. Checked with adb swipes: empty space and
a window card both change tab, the card's window is not focused, and
vertical scrolling still works.
Also hide the OBS tab's empty blocks while OBS is off: .deck-cols set
display: grid, which overrode their hidden attribute.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Each tab is a Nerd Font glyph (gauge, windows, camera, chat, printer),
with the name only next to the active one; a tab without an icon keeps
its name. Swipes find tabs by data-tab now that the text is not the name.
The reload button is the refresh glyph.
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>
|
|
A sleeping PC answers no poll, and the wake lock kept the tablet's screen
on over a frozen dashboard all night. After 15 s without any answer the
page shows an overlay and releases the lock; the first answer hides it
and takes the lock again. Checked on the tablet by stopping the server
for 21 s: no screen wake lock while stopped, Chrome's taken again 5 s
after it resumed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Boot imported, mounted and awaited the first poll of each panel in turn,
so one slow source (the build VM over ssh, a printer that is off) held
back every panel after it, and tabs appeared one by one. All panel code
is now imported at once, panels mount in the server's order so cards and
tabs do not shuffle, and first polls run without being awaited.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Each Dashboard card gets a fold button in its title bar. Folded, it
shrinks to one grid row ending at the title bar and cannot be resized;
its height is kept in localStorage (deckit.folded) and restored on
unfold. The grid floats, so nothing moved into the rows a folded card
gave back: cards below it in its columns are pulled up as far as the
space is free, on fold and again once every card has mounted, since a
card restored folded from storage never folds at runtime. Unfolding
needs no mirror; the grid pushes down whatever the regrown card hits.
The installed web app has no browser chrome and so no pull-to-refresh,
which left no way to load new page code on the tablet. A reload button
sits at the top right; JS and CSS are served no-store, so it always
fetches the current code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
The page takes a Screen Wake Lock while visible and again whenever it
comes back to the front, so the tablet neither dims nor starts its
screensaver over the dashboard. It changes no tablet setting, and the
screen goes back to its own timeout when the page is hidden. 127.0.0.1
is a secure context, which the API requires.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
UDT gives font sizes to keystone's fonts page, which writes
~/.config/keystone/fonts.json. deck-it hardcoded px sizes, so changing
the size on the fonts page did nothing on the tablet. theme.css now
carries --udt-font-size (override.deckit, else base, 8 to 40px, as
quickshell checks) on html, and deck.css sizes text in rem, scaled from
the old 14px design.
The page loaded theme.css once, so a scheme, wallpaper or size change
reached the tablet only after a reload. The shell now re-reads it every
5s and on visibility, swapping it into a <style> only when it changed,
and sets meta theme-color from --udt-base instead of Macchiato's
hardcoded base.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|