aboutsummaryrefslogtreecommitdiffstats
path: root/static
AgeCommit message (Collapse)AuthorFilesLines
2026-11-10fix: swiping between tabs works on the tabletDanilo M.2-4/+14
#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>
2026-11-10feat: icons in the tab barDanilo M.3-3/+16
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>
2026-11-10feat(windows): preview cards and keystone's workspace iconsDanilo M.2-47/+104
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>
2026-11-10feat(assistant): a greeting while the chat is emptyDanilo M.2-0/+16
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): a faint picture behind the Assistant tabDanilo M.2-0/+18
`[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>
2026-11-10feat: the PC tells the tablet it is going to sleepDanilo M.2-10/+14
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>
2026-11-10feat: "The PC is asleep" overlay, and the tablet may sleep tooDanilo M.3-2/+45
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>
2026-11-10feat(assistant): headed sections in the tools overlayDanilo M.2-1/+13
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(assistant): voice-only tab, tools in an overlay, silent clips droppedDanilo M.3-44/+67
The first voice question on the tablet was a 0.66 s silent clip: the mic gave no feedback until the next poll, an extra tap made a near-empty recording, and the model invented a question from the silence. The mic now turns red on the tap itself, and a clip whose loudest sample is under 1500 (room noise measured ~260, speech 15000+) is not sent. Typing happens on the PC, so the text field, send button and the ask action are gone; the bar is a large mic and a stop icon. The presets and ops move into an overlay opened from the header, so the transcript gets the screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(assistant): final review fixesDanilo M.2-10/+29
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>
2026-11-10feat(assistant): the Assistant tabDanilo M.2-0/+371
Chat with formatted streamed replies, voice through the tablet's mic, model choice, and the canvas's Ask presets and Do ops on a file picked on the PC with qarma. Icon controls from the Nerd Font, 48px minimum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): WAV encoder and safe Markdown for the tabDanilo M.4-0/+221
Vendors marked 18.2.0 (MIT). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(tablet): battery and Wi-Fi card on the dashboardDanilo M.2-0/+79
Reads `dumpsys battery` and `cmd wifi status` (Android 11+) over adb from the device whose reverse carries the dashboard socket, so a switch between USB and Wi-Fi is followed. Reads are cached for 10s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(obs): pause, Studio Mode, and working transition tilesDanilo M.2-5/+24
The transition tiles listed transition kinds (fade_transition), which SetCurrentSceneTransition rejects and which never matched the current one, so every tile looked inactive. Read GetSceneTransitionList instead. Add a Pause/Resume button, shown while recording, and a Studio toggle. With Studio Mode on, a scene tap cues it in Preview (dashed tile) and the Transition button, shown only then, sends it to Program. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(k1c): live camera stream instead of snapshotsDanilo M.1-9/+17
The camera was a snapshot reloaded on every poll. It is now the webcam's MJPEG stream_url, which an <img> plays by itself at the camera's own rate (15 fps on the K1C). The stream connects only while the K1C tab is on screen and the page visible, and disconnects otherwise, so a hidden tab does not keep the printer streaming. A dropped stream hides the image and reconnects on the next poll. The image is shown as soon as its source is set, since a never-ending stream may never fire load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(k1c): refresh the tab and camera every secondDanilo M.1-1/+1
The camera snapshot reloads once per poll, so the 2s interval made it choppy. A skipped reload while one is still loading keeps a slow snapshot from piling up requests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10perf: load and mount panels in parallelDanilo M.1-16/+19
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>
2026-11-10feat: fold dashboard cards and a reload buttonDanilo M.3-1/+109
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>
2026-11-10feat: K1C printer tab and proper cards for switched-off sourcesDanilo M.6-12/+378
A K1C tab follows a Klipper printer through Moonraker ([k1c] url): state, file, progress with elapsed, left and finish time, layer, the slicer's model thumbnail, nozzle and bed with target and power, fan, speed, position, filament, and the camera snapshot. It is read-only bar one action, the emergency stop (M112), behind a press-and-hold button so a stray touch on an always-on tablet cannot kill a print. Klipper being down (after a stop) shows its message in a red banner. The printer is often off, so a failed poll backs off 10s instead of costing every tick a timeout. File metadata is fetched once per job; the slicer's estimate covers the start of a print until the file-position estimate settles. The tablet loads the camera and the thumbnail straight from the printer, so both need it on the printer's LAN. OBS, the build VM and LLM usage showed raw text when their source was off ("OBS offline: [Errno 111] ..."). They now share static/offline.js: a greyed app icon, what is off, what brings it back, and a pulsing "checking" note, with the raw error in the tooltip. OBS hides its empty blocks while off. The card is not rebuilt on every poll. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat: keep the tablet awake while the dashboard is shownDanilo M.1-0/+14
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>
2026-11-10fix: window list flicker and icons missing from the icon themeDanilo M.1-0/+5
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>
2026-11-10feat: dashboard-only mode and keystone settings integrationDanilo M.1-0/+2
The second display is now optional: [display] enabled = false skips the headless output, wayvnc, AVNC and the VNC tunnel, so the tablet runs the dashboard alone. `deck-it env` reports it as EXTEND. Keystone's new deck-it page (quickshell, desktop/modules/deckit) edits the config and the autostart line, which needed: - The user config is merged over the shipped config.toml key by key within each table instead of replacing it whole, so the page writes a sparse file and an unset key falls back to the default. - `deck-it defaults` prints the shipped config as JSON for the page's placeholders, so keystone never copies the defaults. - `deck-it status` prints one JSON line (server, display, waiting, tablet, extend) for the page's status line and restart check. - [launch] is now `apps`, a list of desktop ids run with gtk-launch, with name and icon read from the .desktop file, so the page can pick launchers from the installed apps. The old command tables are gone; the client still sends only an id, which must be listed and installed. A launcher whose icon the theme lacks shows its name. - [wifi] address gives the tablet's address in config. The last address that worked is kept in ~/.config/deck-it/last-wifi: `stop` deletes the runtime serial file, so a restart from the page used to wait forever. - `stop` also ends a login's `wifi --wait`, matched by its own command line only, so repeated restarts do not pile up waiters. Also fixed: `deck-it env` fell through into the usage text, and the usage text printed the license header since the header was added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix: follow UDT's font size and live theme changesDanilo M.2-27/+50
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>
2026-11-09chore: GPLv2-only license, docs and source headersDanilo M.9-0/+148
2026-11-09feat: window rows get app icons and a close/move menuDanilo M.2-20/+105
2026-11-09feat: launcher icons come from the configured icon themeDanilo M.7-49/+4
2026-11-09feat: Windows tab shows all workspaces and icon-only launchersDanilo M.7-4/+62
2026-11-09feat: long-press an OBS source to open its properties; fix server detectionDanilo M.2-6/+31
2026-11-09feat: center the tabs and swipe to switch themDanilo M.3-24/+27
2026-11-09feat: PWA manifest so Chrome installs deck-it fullscreenDanilo M.4-0/+17
2026-11-09feat: fullscreen toggle for the tablet browserDanilo M.3-2/+35
2026-11-09feat: move Windows to its own tabDanilo M.3-3/+19
2026-11-09feat: opencode session spend and brand marks in the LLM cardDanilo M.4-4/+26
2026-11-09feat: LLM card shows current session models with section headersDanilo M.2-5/+50
2026-11-09chore: drop the unused build-card metric rulesDanilo M.1-3/+0
2026-11-09feat: tablet-first dashboard tiles and match the Hyprland border speedDanilo M.5-127/+188
2026-11-09feat: animate the UDT border gradient on the cardsDanilo M.1-1/+29
2026-11-09feat: build VM card shows the real stats dashboardDanilo M.2-43/+59
2026-11-09fix: scope music and build panels so their layouts applyDanilo M.2-13/+15
2026-11-09feat: tabbed layout with OBS as an icon-forward stream-deckDanilo M.4-118/+328
2026-11-09feat: card headers, music art/seek, clearer build cardDanilo M.5-53/+172
2026-11-09fix: aggregate opencode rows from /api/summaryDanilo M.1-1/+12
2026-11-09feat: Intel xe GPU stats (temp, fan, VRAM)Danilo M.1-1/+9
2026-11-09feat: vendored Gridstack for drag and free grid resizeDanilo M.5-104/+76
2026-11-09feat: browser-local panel move and resizeDanilo M.2-5/+115
2026-11-09fix: add stats, music and windows panelsDanilo M.6-21/+195
2026-11-09feat: sb-builder status panelDanilo M.2-0/+45
2026-11-09feat: llm usage panelDanilo M.2-0/+58
2026-11-09feat: OBS stream-deck panelDanilo M.2-0/+117
2026-11-09feat: frontend shell and UDT-themed layoutDanilo M.3-2/+126