diff --git a/src/config.rs b/src/config.rs index 734974a..165b7ef 100644 --- a/src/config.rs +++ b/src/config.rs @@ -104,6 +104,9 @@ fn default_cache_size() -> usize { #[derive(Debug, Clone, Serialize, Deserialize)] pub struct UiConfig { + /// Nom affiché dans le dashboard + #[serde(default)] + pub username: String, #[serde(default = "default_true")] pub show_notifications: bool, #[serde(default = "default_true")] @@ -115,6 +118,7 @@ pub struct UiConfig { impl Default for UiConfig { fn default() -> Self { Self { + username: String::new(), show_notifications: true, show_tray_icon: true, notification_timeout_sec: default_notification_timeout(), diff --git a/src/frontend/changelog.html b/src/frontend/changelog.html index 89924e9..d22f430 100644 --- a/src/frontend/changelog.html +++ b/src/frontend/changelog.html @@ -3,7 +3,7 @@
-