add commit panel

This commit is contained in:
2026-08-14 08:49:08 +07:00
parent 9b1dd526a5
commit 080a026d3f
10 changed files with 1135 additions and 16 deletions
+3 -2
View File
@@ -63,7 +63,8 @@ impl RepoListView {
cx: &mut Context<Self>,
) {
let dock_area = self.dock_area.clone();
let detail = cx.new(|cx| RepoDetailView::new(announcement.clone(), window, cx));
let detail =
cx.new(|cx| RepoDetailView::new(dock_area.clone(), announcement.clone(), window, cx));
if let Some(dock_area) = dock_area.upgrade() {
dock_area.update(cx, |dock_area, cx| {
@@ -171,7 +172,7 @@ impl Panel for RepoListView {
}
fn title(&mut self, _window: &mut Window, _cx: &mut Context<Self>) -> impl IntoElement {
"Explore"
div().text_sm().child(SharedString::from("Explore"))
}
}