aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
AgeCommit message (Collapse)AuthorFilesLines
7 hoursfix(todo): open tasks at the configured URL, animate done and snoozeHEADmasterDanilo M.1-1/+2
Vikunja's frontend_url said port 80, so a tap opened the wrong page; the frontend lives at the API's address, so open uses [todo] url. A hold now turns the chip green with a ticked box and shrinks it away, a snooze carries it off to the right; the row is redrawn only after the animation, so it is not cut short. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 hoursstyle(todo): one row of chips, as tall as the running rowDanilo M.1-7/+10
Stacked full-width lines took too much of the Dashboard. Each task is now a chip, title over its due label, up to three side by side and a "+N" for the rest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 hoursfeat(todo): Vikunja tasks due now on the DashboardDanilo M.1-0/+16
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>
8 hoursfeat(dashboard): drop the action icons rowDanilo M.1-38/+1
The screenshot and lock buttons went unused; the keyboard is faster. The actions module keeps only the hyprlock watcher that sleeps and wakes the tablet, under the same name since keystone's module toggle uses it. [dashboard] actions is gone from the config and its validation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 daysfeat(xbox): mark captures saved on the PC, icon save buttonDanilo M.1-2/+3
A capture whose file is already in Pictures/Xbox or Videos/Xbox carries `saved` and gets a check on its tile. The viewer keeps one icon button, save to PC; the download to the tablet is gone. Deleting from Xbox Live was tried and dropped: mediahub's DELETE answers 403 (errorCode 10401) to a token from our own Azure app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 daysfeat(xbox): save a capture to the PCDanilo M.1-0/+1
The viewer's "Save to PC" asks the server to download the capture into Pictures/Xbox (screenshots) or Videos/Xbox (clips), named by title and capture date; the old link stays as "Tablet". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysfeat(xbox): list, view and download uploaded capturesDanilo M.1-1/+12
The slow read also searches mediahub for the user's screenshots and game clips. Their CDN URIs are signed, so the tab shows thumbnails and opens a capture in a dialog (outside the redrawn part, so a data change leaves it open) with a download link and a close button, straight from Microsoft. Only captures the console uploaded appear; an in-game photo mode (e.g. Rockstar's) is not an Xbox capture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysfeat(windows): horizontal strips grouped by workspace or appDanilo M.1-1/+12
The window grid becomes horizontal strips with All, Workspace and App filters. Grouped views get one strip per workspace or app class, headed by its icon; the choice is kept in localStorage. A strip is not rebuilt while touched or within a second of scrolling, and keeps its scroll. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysfix(dashboard): keep the game cover from crowding the cardDanilo M.1-5/+7
The square Xbox art at the card's full height took most of its width and squeezed the name and times into a word per line. The game view is contain: size, so the cover never sizes the card; box art is capped at 45% of the width, square art is shown whole at 55%, and the times stay on one line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysfeat(dashboard): game card with a full-height cover and iconsDanilo M.1-2/+14
The cover now fills the card's height (2:3 box art, square for Xbox Live's art), the platform is a Nerd Font glyph (Steam, PlayStation with a 1/2 tag, Xbox) and the session and total times sit behind clock and history glyphs instead of a line of text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysfeat(dashboard): the music card shows the game being playedDanilo M.1-0/+3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysfeat(xbox): profile background behind profile and consolesDanilo M.1-0/+8
Xbox's profile background is the gamerpic blurred. The tab shows it behind the profile and console cards, greyscale and multiplied over the UDT accent under a base fade, so the theme keeps every colour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16fix(ui): serve the Propo Nerd Font so icons centreDanilo M.1-5/+2
The plain Inconsolata Nerd Font gives each icon a 500 unit advance while its ink is up to twice that wide, so every Nerd Font button sat right of centre. The Propo variant's advance is the ink, so centring works for all of them; the VM power button's padding workaround goes. The URL becomes /fonts/nerd-propo.ttf because the font is cached for a day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16fix(ui): centre the off cards, bigger logos, VM power glyph, ApplicationsDanilo M.1-4/+8
The OBS off card sat left because .deck-transport is a flex row; it now fills the row. Off-card logos are 96px instead of 48px. The VM power glyph's ink overflows its advance in the non-Mono Nerd Font, so a right padding centres it. The Windows tab's Launches block is now Applications with its icons centred. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16feat(xbox): one games list with installed badgesDanilo M.1-5/+3
2026-11-16feat(xbox): console model, region, flags and installed titlesDanilo M.1-1/+14
2026-11-16feat(xbox): the Xbox tabDanilo M.1-0/+59
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(vm): one column, a running VM as tall as the tabDanilo M.1-3/+9
A single running VM is the whole tab, without the card look; with more they stack as tab-tall cards and the tab scrolls. Shut-off VMs are short cards below, without screen or trends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(vm): tablet tiles with screen, trends and a power buttonDanilo M.1-15/+48
Each VM is a tile: its screen from virsh screenshot (JPEG through ffmpeg, every 5s while the tab shows), booting until sshd answers at the ssh -G host and port, CPU and RAM trends, and a big power button, tap for the gentle action and hold to force off. A tap on the tile opens a sheet with every action as an icon and the snapshots as a timeline with their age. hold.js is now the one press and hold, K1C's stop included, and vibrates the tablet when it fires; the Windows long-press buzzes too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(vm): a VMs tab for libvirt power, snapshots and sshDanilo M.1-0/+21
virsh domstats each poll for state, CPU and memory; managed save, snapshots and the guest agent's IP in a thread every 10s. Actions are the drawer's power set plus snapshot take/revert/delete, names checked against the last state. SSH opens a tab in a running kitty over its remote-control socket and focuses it, else spawns kitty. Destructive buttons are press and hold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(dashboard): running modules as chips that open a panelDanilo M.1-6/+28
The running row of 118px cards took height from music and spending and cut its lines into marquees. It is now a row of chips (icon, value, progress fill) copied from each module's slot; a tap opens the full slot in a centred <dialog closedby="any">, which a tap outside closes without reaching what is under it, and a tap inside opens the tab. A module may export detail(state, el) for the panel. The build VM's shows the job command, start and elapsed time, CPU, memory and disk as meters, and the plan package by package: its result once finished (progress.results, sbb-remote 0.13.1), building, or waiting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(tablet): clock fonts and sizes from keystone's Fonts pageDanilo M.1-4/+1
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>
2026-11-13feat(tablet): a font of the PC's for the dim cover's clockDanilo M.1-0/+4
[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>
2026-11-12fix(dashboard): stroke only the top of the chip graphsDanilo M.1-2/+5
The CPU, GPU and network graphs stroked their closed area path, so the outline also ran along the bottom edge and up the left side while the history filled. Each series is now a filled area and an open line through the samples, and only the line is stroked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12fix(dashboard): scroll the spending card beside the running rowDanilo M.1-0/+3
With the running row shown, the spending card is too short for both programs and the second one was clipped. It now scrolls while the row is present. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12feat(dashboard): show build progress in the build VM slotDanilo M.1-0/+1
The build VM slot showed a busy bar and the job kind. It now reads `sbb-remote jobs --active` (sb-builder 0.13.0), whose running build carries progress: the package being built on the first line, done of total (dependencies included, from the preview's plan) on the right, the op, the package's ETA, the estimated end and failures on the second line, and a bar that fills as packages finish. Other jobs keep the busy bar. Polling only active jobs also stops pulling the whole job history over ssh every 10s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12feat(dashboard): show a clock and date on the dim coverDanilo M.1-1/+6
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>
2026-11-11feat(tablet): dim the backlight after an idle timeoutDanilo M.1-0/+5
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>
2026-11-11feat(dashboard): rain into the battery chip while chargingDanilo M.1-0/+12
Streaks fall right to left across the empty part of the battery bar into the fill's edge while the tablet reports charging; still under prefers-reduced-motion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11fix(dashboard): pin the dashboard column to the viewport widthDanilo M.1-1/+1
The .dash grid had no column template, so its one implicit auto column took the min-content width of everything inside it. A long nowrap music title (or any nowrap text) widened the whole dashboard past the viewport, pushing the spending card and chips off screen. minmax(0, 1fr) caps the column at the page width so the title ellipsizes instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11fix(dashboard): keep chip columns from growing with their textDanilo M.1-2/+2
A plain 1fr track has a min-content floor, so the nowrap CPU and GPU names and the network rates widened their columns past the viewport. minmax(0, ...) pins each chip to its share; network keeps a bit more. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(tabs): slide transition, OBS logo and a 3D-printer nozzle for K1CDanilo M.1-1/+3
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>
2026-11-11feat(dashboard): pending updates in the system row, icons, opencode logoDanilo M.1-4/+5
The system row now ends with "N updates available", keystone's "to install" count from updatesctl ([dashboard] updates; empty hides it). stats re-reads it in a thread every 5 minutes, so the NFS reads behind it never stall the 1 s poll. The codename reads "-current" next to the OS name, so it no longer looks like part of the kernel. Kernel and uptime get tux and clock icons, the row is tighter, and its separators are a "|" in the first Hyprland border colour instead of an unreadable dot. The opencode spending card shows the opencode logo by its title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): replies type out, state and bouncing dots in the bubbleDanilo M.1-1/+10
The live reply was rebuilt from scratch every 0.5 s poll, so text landed in chunks. It is now kept and updated in place, and its text types out between polls, catching up with what has arrived in about 0.6 s. The thinking/transcribing/tool line moves from the bottom bar into the reply bubble, and three dots bounce in turn until the first words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): centre the action icons by their measured inkDanilo M.1-3/+3
A fixed 1em box overshot the other way. Each glyph is measured with canvas measureText once the font is loaded, and shifted by half the gap between its drawn width and its advance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): action icons centred in their squaresDanilo M.1-1/+4
The Nerd Font glyphs draw past their advance, so centring the advance left them off to the right; each sits in a 1em box drawn from its left edge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): chip and spending classes clear of global rulesDanilo M.1-4/+4
The global .warn (yellow text) and .row (wrap, margin) rules reached into the dashboard; its chips use .hot and the one-line spending row .inline instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(dashboard): one fixed screen for the tabletDanilo M.1-131/+116
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>
2026-11-10feat(music): a volume slider with a mute toggle, icon buttonsDanilo M.1-2/+6
The Vol-, Mute and Vol+ buttons give way to a mute toggle (its icon shows the state) and a 0-100 slider that sets the default sink with wpctl as it moves. Previous, play/pause and next are Nerd Font glyphs instead of the tablet's Unicode symbols. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(stats): an OS row with logo, kernel and uptimeDanilo M.1-0/+4
The System card's small 'up Nh' line becomes a full-width tile: the distro's Nerd Font logo, NAME and VERSION_ID from /etc/os-release in large type, the codename and kernel release below, and the uptime large on the right. An unknown distro gets Tux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(llm): desktop-assistant usage as Local AgentDanilo M.1-0/+1
The LLM usage card gets a third section, the desktop-assistant program from llm-cost-dashboard, with the same session and total stats as opencode. The per-program aggregation now takes the program. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): tools grouped by the kind of file they takeDanilo M.1-2/+4
Each section of the tools overlay lists its presets and ops under a label per kind (PDF, Text, Code, Images, Video, Archives, Several files, Any file); an item taking several kinds shows in each group. The tile rows get their own class, so the chat rows' style no longer reaches them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): the transcript as chat bubbles with avatarsDanilo M.1-1/+21
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>
2026-11-10feat(windows): a busy desktop gets an accent dot, not a filled tileDanilo M.1-0/+6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix: swiping between tabs works on the tabletDanilo M.1-1/+2
#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.1-0/+3
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.1-15/+21
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.1-0/+11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): a faint picture behind the Assistant tabDanilo M.1-0/+16
`[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 is asleep" overlay, and the tablet may sleep tooDanilo M.1-0/+9
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>