aboutsummaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-07-26 02:45:44 +0300
committerGitHub <noreply@github.com>2026-07-26 02:45:44 +0300
commit8843bbb0c4dc4e6b52ca5d0a6592ce80be56a19c (patch)
tree9387a75a8ae34fd864de83355412331c4f22a2b9 /src/ui.rs
parent547aba8e0ab310623f1986d3026658f708d432bd (diff)
fix: improve sidebar worktree hierarchy and reordering (#1873)
* fix: clarify sidebar worktree hierarchy refs #1694 * feat: reorder worktree groups as a unit refs #1694
Diffstat (limited to 'src/ui.rs')
-rw-r--r--src/ui.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/ui.rs b/src/ui.rs
index ed1f6a7d..59145dd2 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -52,6 +52,8 @@ pub(crate) use self::scrollbar::{
scrollbar_offset_from_row, scrollbar_thumb_grab_offset, should_show_scrollbar,
};
use self::settings::render_settings_overlay;
+#[cfg(test)]
+pub(crate) use self::sidebar::workspace_drop_indicator_row;
use self::sidebar::{render_sidebar, render_sidebar_collapsed};
use self::status::{
copy_feedback_rect, render_config_diagnostic, render_copy_feedback, render_toast_notification,
@@ -79,11 +81,13 @@ pub(crate) use self::{
agent_panel_toggle_rect, all_agent_panel_entries, collapsed_sidebar_sections,
collapsed_sidebar_toggle_rect, compute_workspace_card_areas, expanded_sidebar_sections,
expanded_sidebar_toggle_rect, normalized_workspace_scroll, sidebar_section_divider_rect,
- workspace_drop_indicator_row, workspace_list_entries, workspace_list_entries_expanded,
- workspace_list_rect, workspace_list_scroll_metrics, workspace_list_scrollbar_rect,
- workspace_parent_group_state, AgentPanelEntry, WorkspaceListEntry,
+ workspace_drop_slots, workspace_group_chevron_rect, workspace_list_entries,
+ workspace_list_entries_expanded, workspace_list_rect, workspace_list_scroll_metrics,
+ workspace_list_scrollbar_rect, workspace_parent_group_state, AgentPanelEntry,
+ WorkspaceListEntry,
},
};
+
pub(crate) use self::{
keybind_help::keybind_help_lines,
mobile::{