This commit is contained in:
2026-08-11 11:05:28 +07:00
parent aabccdf099
commit e77cfe29d9
4 changed files with 9 additions and 2 deletions
@@ -2,6 +2,7 @@ use std::collections::{HashMap, HashSet};
use std::path::{Component, Path, PathBuf};
use anyhow::Error;
use assets::CustomIconName;
use gpui::prelude::*;
use gpui::{
App, ClipboardItem, Context, Entity, EventEmitter, FocusHandle, Focusable, Render,
@@ -291,6 +292,7 @@ impl Render for RepoDetailView {
.pt_2()
.pb_4()
.w_full()
.gap_2()
.items_start()
.justify_between()
.border_b_1()
@@ -302,7 +304,6 @@ impl Render for RepoDetailView {
.child(div().font_semibold().child(name))
.child(
div()
.w_full()
.text_xs()
.text_color(cx.theme().muted_foreground)
.line_clamp(3)
@@ -373,7 +374,7 @@ impl Render for RepoDetailView {
)
.child(
Button::new("clone")
.icon(IconName::ArrowDown)
.icon(CustomIconName::GitClone)
.tooltip("Clone")
.primary(),
),
@@ -210,6 +210,9 @@ impl Render for SidebarPanel {
.child(NavItem::new("explore", "Browse", IconName::Globe).on_click(
cx.listener(|this, _ev, window, cx| this.open_explore(window, cx)),
))
.child(NavItem::new("search", "Saerch", IconName::Search).on_click(
cx.listener(|this, _ev, window, cx| this.open_explore(window, cx)),
))
.child(
v_flex().w_full().child(
h_flex()