Add tray and theme settings (#21) #43

Merged
nessar merged 1 commits from feat/21-tray-and-theme-settings into main 2026-11-18 00:45:47 +01:00
Owner

Closes #21.

  • Extend Paramètres with Fermer dans la zone de notification and Système / Clair / Sombre. Close-to-tray defaults to enabled, and the theme defaults to Système. A saved off setting stays off.
  • Keep the same window, current view and background workers when the window hides. The tray icon offers Ouvrir and Quitter and is recreated after an Explorer restart.
  • Save preferences in the existing TOML configuration, preserving the API key and other settings. A failed save keeps the previous preference and reports an error in French.

Verification

All 142 core tests and 19 Windows app tests passed. The config tests cover the updated default and persistence of an explicit off setting.

The Windows release desktop checks covered hide and restore, Quit, Explorer restart, background portrait downloads, view-state retention, and live theme changes. A simulated confirmed Windows session end also removed the icon and exited the app. Those checks preceded the follow-up that switched the default on. Desktop validation

Closes #21. - Extend **Paramètres** with **Fermer dans la zone de notification** and **Système / Clair / Sombre**. Close-to-tray defaults to enabled, and the theme defaults to **Système**. A saved off setting stays off. - Keep the same window, current view and background workers when the window hides. The tray icon offers **Ouvrir** and **Quitter** and is recreated after an Explorer restart. - Save preferences in the existing TOML configuration, preserving the API key and other settings. A failed save keeps the previous preference and reports an error in French. ## Verification All 142 core tests and 19 Windows app tests passed. The config tests cover the updated default and persistence of an explicit off setting. The Windows release desktop checks covered hide and restore, Quit, Explorer restart, background portrait downloads, view-state retention, and live theme changes. A simulated confirmed Windows session end also removed the icon and exited the app. Those checks preceded the follow-up that switched the default on. [Desktop validation](https://gitea.nessar.fr/nessar/arena-tracker/issues/21#issuecomment-7271)
nessar added 1 commit 2026-11-18 00:36:26 +01:00
Add tray and theme settings (#21)
CI / core (pull_request) Successful in 1m13s
CI / core (push) Successful in 44s
d7bd69c35d
nessar merged commit d7bd69c35d into main 2026-11-18 00:45:47 +01:00
nessar deleted branch feat/21-tray-and-theme-settings 2026-11-18 00:45:47 +01:00
Sign in to join this conversation.