Skip to content

webcontrol-rs 0.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 20:59
· 102 commits to master since this release

WebControl 0.3.0

Display theme is now a machine setting

  • Moved to Settings ▸ Display. The Light / Dark / System toggle is gone from the header.
    The choice is stored on the Pi with the other WebControl settings (uiTheme), so every
    device shows the same theme.
  • Applies immediately. Picking a theme switches it at once, with no Save, on every open
    page, without a reload. It can be changed during a job; it doesn't touch the machine or the
    controller's settings.
  • System is the default. It follows each device's own light or dark mode.
  • No flash on load. Each browser remembers the last theme it got from the Pi, so a page
    opens in the right theme straight away.
  • A later choice wins. If you change the theme twice quickly and the first save is refused,
    you keep the later choice.
  • The old per-browser choice from earlier versions is replaced by the Pi's setting the
    first time the page loads.

Header

  • More room for status. With the theme toggle gone, the status chips keep their longer
    labels at more widths. Landscape iPads still fit the header on one row, and the build commit
    is always shown.

Under the hood

  • Adds PUT /api/display/theme and a theme field in GET /api/state (contract stays at
    version 4; additive only).
  • CI gives the end-to-end test server longer to build when the Rust dependency cache is cold.

Install / update

On the Pi: webcontrol-update once this release is published, or install the tarball with its
install-pi.sh. Verify downloads against SHA256SUMS.