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/render.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/client/shell/render.rs') diff --git a/src/client/shell/render.rs b/src/client/shell/render.rs index bcd9e49b..d51586a0 100644 --- a/src/client/shell/render.rs +++ b/src/client/shell/render.rs @@ -224,7 +224,8 @@ pub(super) struct ShellRenderState<'a> { pub(super) sidebar_collapsed: bool, pub(super) sidebar_section_split: f32, pub(super) tab_drag_insert_index: Option, - pub(super) selected_workspace_id: Option<&'a str>, + pub(super) selected_workspace_id: Option<&'a WorkspaceNavigationTarget>, + pub(super) reveal_navigation_workspace: &'a mut bool, pub(super) dragged_workspace_id: Option<&'a str>, pub(super) workspace_drop_indicator_row: Option, } @@ -272,7 +273,9 @@ pub(super) fn render_shell( layout.sidebar, snapshot, config, - state.selected_workspace_id, + state + .selected_workspace_id + .map(|target| target.workspace_id.as_str()), &mut hits, ); } else { -- cgit v1.2.3