From b9ce96869e89937278d673d70ae4c135dd318469 Mon Sep 17 00:00:00 2001 From: akbash Date: Wed, 9 Sep 2026 02:35:31 +0300 Subject: feat: navigate and highlight workspaces across machines (#3755) * fix: highlight workspace navigation with saved machines refs #3754 * feat: navigate workspaces across connected machines refs #3754 * feat: navigate workspaces across machines refs #3754 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: Ogulcan Celik --- src/client/shell/tests/mobile.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/client/shell/tests/mobile.rs') diff --git a/src/client/shell/tests/mobile.rs b/src/client/shell/tests/mobile.rs index b7cc2a47..0c6f1908 100644 --- a/src/client/shell/tests/mobile.rs +++ b/src/client/shell/tests/mobile.rs @@ -363,7 +363,7 @@ fn mobile_background_workspace_uses_its_own_active_tab_status() { state.set_snapshot(Box::new(projected)); state.set_pane_surface(surface()); state.mode = ClientShellMode::Navigate; - state.navigate_workspace_id = Some("ws_2".into()); + state.navigate_workspace_id = state.navigation_target(&ClientEndpointId::Local, "ws_2"); let frame = state.compose(44, 20).expect("mobile switcher"); let text = frame .cells @@ -615,7 +615,10 @@ fn mobile_switcher_scroll_close_and_width_transition_clear_mobile_hits() { ))]); } state.compose(44, 10).expect("revealed mobile selection"); - assert_eq!(state.navigate_workspace_id.as_deref(), Some("ws_8")); + assert_eq!( + state.navigate_workspace_id, + state.navigation_target(&ClientEndpointId::Local, "ws_8") + ); assert!(state.mobile_switcher_scroll > 2); assert!(state.hits.mobile_targets.iter().any(|(_, target)| { matches!( -- cgit v1.2.3