| Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|