diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-19 15:43:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-19 15:43:47 +0300 |
| commit | e0507237ad8d41f60aece10d00ef29ce2339ca34 (patch) | |
| tree | 829503bc869cf76285953866367b74a90927a19d /src/client/shell/state.rs | |
| parent | cc7c696cd0772e466da403eb4e3f00f4e8d8ae1e (diff) | |
feat: show every agent and terminal in the go to picker (#4384)
Diffstat (limited to 'src/client/shell/state.rs')
| -rw-r--r-- | src/client/shell/state.rs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/client/shell/state.rs b/src/client/shell/state.rs index b975b2f6..7128db57 100644 --- a/src/client/shell/state.rs +++ b/src/client/shell/state.rs @@ -121,6 +121,8 @@ pub(super) struct ShellHitMap { pub(super) navigator_popup: Rect, pub(super) navigator_search: Rect, pub(super) navigator_rows: Vec<(Rect, ClientNavigatorTarget)>, + pub(super) navigator_scrollbar: Rect, + pub(super) navigator_scroll_metrics: Option<crate::pane::ScrollMetrics>, pub(super) worktree_search: Rect, pub(super) worktree_rows: Vec<(Rect, usize)>, pub(super) help_popup: Rect, @@ -196,6 +198,9 @@ pub(super) enum ClientChromeDrag { HelpScrollbar { grab_row_offset: u16, }, + NavigatorScrollbar { + grab_row_offset: u16, + }, ProductAnnouncementScrollbar { grab_row_offset: u16, }, @@ -336,10 +341,6 @@ pub(super) enum ClientNavigatorTarget { endpoint_id: ClientEndpointId, workspace_id: String, }, - Tab { - endpoint_id: ClientEndpointId, - tab_id: String, - }, Pane { endpoint_id: ClientEndpointId, pane_id: String, @@ -351,6 +352,8 @@ pub(super) struct ClientNavigatorRow { pub(super) depth: u8, pub(super) label: String, pub(super) meta: String, + pub(super) detail: String, + pub(super) agent: Option<String>, pub(super) status: Option<crate::api::schema::AgentStatus>, pub(super) stale: bool, pub(super) current: bool, @@ -364,7 +367,6 @@ pub(super) struct ClientNavigatorOverlay { pub(super) selected: Option<ClientNavigatorTarget>, pub(super) scroll: usize, pub(super) filter: Option<ClientNavigatorFilter>, - pub(super) expanded_workspaces: HashSet<(ClientEndpointId, String)>, } #[derive(Debug)] |
