feat(home): follow url-test/fallback groups picked on the node card

The card lists fallback groups again, and switching it to a url-test or
fallback group points the first select group at it without fixing a node.
This commit is contained in:
wonfen
2026-11-19 01:57:09 +08:00
parent 54119cb187
commit 7b7a5947b9
7 changed files with 32 additions and 2 deletions
+6
View File
@@ -27,6 +27,12 @@ pub async fn switch_proxy_node(group_name: String, proxy_name: String, unfix: bo
.stringify_err()
}
#[tauri::command]
#[specta::specta]
pub async fn follow_proxy_group(group_name: String) {
crate::feat::follow_proxy_group(&group_name).await;
}
fn runtime_group_order(config: Option<&Mapping>) -> Vec<String> {
let mut seen = HashSet::new();