Add user-visible output for remote operations (#25849)

This PR adds toasts for reporting success and errors from remote git
operations. This PR also adds a focus handle to notifications, in
anticipation of making them keyboard accessible.

Release Notes:

- N/A

---------

Co-authored-by: julia <julia@zed.dev>
This commit is contained in:
Mikayla Maki
2025-03-03 09:20:15 +00:00
committed by GitHub
co-authored by julia
parent 508b9d3b5d
commit 73ac19958a
38 changed files with 713 additions and 192 deletions
+1 -1
View File
@@ -590,7 +590,7 @@ impl HighlightedText {
pub fn to_styled_text(&self, default_style: &TextStyle) -> StyledText {
gpui::StyledText::new(self.text.clone())
.with_highlights(default_style, self.highlights.iter().cloned())
.with_default_highlights(default_style, self.highlights.iter().cloned())
}
/// Returns the first line without leading whitespace unless highlighted