发布

  • feat(settings): make Reset app data available in server mode too (#314)

    frostbyte_neo 发布于 2026-07-17 15:04:53 +00:00

    #313 gated the reset behind STEMDECK_DESKTOP=1, both server-side and in
    the UI. Removing that restriction: it's covered by the same network_gate
    middleware every other settings-mutating endpoint already relies on (host
    machine always allowed, a LAN device only while network access is on) --
    not a new class of risk this endpoint introduces on its own. The Danger
    zone section in Settings -> General now always renders; the frontend's
    Tauri-specific reset_user_data call stays conditional on window.TAURI
    existing (desktop only, no equivalent needed in server mode since the
    library index there already lives in localStorage, which the existing
    localStorage.clear() call already covers).

    Confirm dialog and row description now say explicitly that a reset on a
    shared server affects everyone who uses it.

    Co-authored-by: Thales <>

    下载附件