feat: add first-run confirmation dialog for stream check

Show an informational dialog when users first click the health check
button, explaining its limitations (OAuth providers, relay services,
Bedrock). The dialog persists the confirmation in settings so it only
appears once per device.
This commit is contained in:
Jason
2026-03-03 21:49:57 +08:00
parent 377c736aad
commit 07568286fc
6 changed files with 67 additions and 2 deletions
+4
View File
@@ -196,6 +196,9 @@ pub struct AppSettings {
/// User has confirmed the usage query first-run notice
#[serde(default, skip_serializing_if = "Option::is_none")]
pub usage_confirmed: Option<bool>,
/// User has confirmed the stream check first-run notice
#[serde(default, skip_serializing_if = "Option::is_none")]
pub stream_check_confirmed: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub language: Option<String>,
@@ -282,6 +285,7 @@ impl Default for AppSettings {
enable_local_proxy: false,
proxy_confirmed: None,
usage_confirmed: None,
stream_check_confirmed: None,
language: None,
visible_apps: None,
claude_config_dir: None,