diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-18 21:50:26 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-18 21:50:26 +0300 |
| commit | 028780cebccc135d67a9ff97fbb0b11a150608de (patch) | |
| tree | b4282db58167539473fa1f0a7f4acd569db9ec53 /src/client/shell/state.rs | |
| parent | 241063f7ffb9583ba9b3438b32a82fcec3cf32a3 (diff) | |
fix: reveal selected agent when cycling the sidebar (#4355)
* fix: reveal selected agent when cycling the sidebar
* fix: reveal agent after endpoint activation
Diffstat (limited to 'src/client/shell/state.rs')
| -rw-r--r-- | src/client/shell/state.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/shell/state.rs b/src/client/shell/state.rs index 901c5a28..b975b2f6 100644 --- a/src/client/shell/state.rs +++ b/src/client/shell/state.rs @@ -861,6 +861,7 @@ pub(crate) struct ClientShellState { pub(super) remote_collapsed_groups: HashMap<ClientEndpointId, HashSet<String>>, pub(super) workspace_scroll: usize, pub(super) agent_scroll: usize, + pub(super) pending_agent_reveal: Option<(ClientEndpointId, String)>, pub(super) tab_scroll: usize, pub(super) mobile_switcher_scroll: usize, pub(super) reveal_focused_workspace: bool, @@ -1023,6 +1024,7 @@ impl ClientShellState { remote_collapsed_groups, workspace_scroll: 0, agent_scroll: 0, + pending_agent_reveal: None, tab_scroll: 0, mobile_switcher_scroll: 0, reveal_focused_workspace: true, |
