Skip to content

v0.7.0 — Webview-driven setup wizard + Settings page

Choose a tag to compare

@jdrumgoole jdrumgoole released this 16 May 23:12
· 7 commits to main since this release

TOML-backed configuration. No CLI prompts.

Changed

  • All configuration now lives inside the webview. The CLI no longer prompts for anything — solisdash boots straight into the pywebview window and silently generates SESSION_SECRET on first run.

Added

  • First-run setup wizard at /setup: a single-page form with three sections (MongoDB, SolisCloud, Administrator account). Each section has an HTMX Test button that probes the value inline before save. After save the user is auto-signed-in and dropped on the dashboard.
  • Settings page at /settings (linked from the nav as ⚙ Settings): re-edit the same values, re-test, or reset the configuration. Reset wipes solisdash.toml and re-runs the wizard; MongoDB data (users, samples, alarms, daily totals) is left alone.
  • ~/.config/solisdash/solisdash.toml as the persisted config store, XDG-aware and chmodded to 0600. Loaded via pydantic-settings' TomlConfigSettingsSource. Environment variables still take precedence over the file, and a project-local .env is still read for dev.

Removed

  • The interactive CLI setup helpers (solisdash setup, prompts on first boot). The add-user subcommand stays for post-install user management.