New commit review flow in project diff view (#25229)

Closes #ISSUE

Release Notes:

- N/A

---------

Co-authored-by: Nate Butler <iamnbutler@gmail.com>
This commit is contained in:
Conrad Irwin
2025-02-21 06:52:34 +00:00
committed by GitHub
co-authored by Nate Butler
parent 6b9397c380
commit 4871d3c9e7
18 changed files with 982 additions and 480 deletions
+5 -1
View File
@@ -349,7 +349,11 @@ impl Dock {
.and_then(|index| self.panel_entries.get(index))
}
pub(crate) fn set_open(&mut self, open: bool, window: &mut Window, cx: &mut Context<Self>) {
pub fn active_panel_index(&self) -> Option<usize> {
self.active_panel_index
}
pub fn set_open(&mut self, open: bool, window: &mut Window, cx: &mut Context<Self>) {
if open != self.is_open {
self.is_open = open;
if let Some(active_panel) = self.active_panel_entry() {