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 01:20:15 -08:00 committed by GitHub
parent 508b9d3b5d
commit 73ac19958a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 713 additions and 192 deletions

View file

@ -451,6 +451,7 @@ messages!(
(GetRemotes, Background),
(GetRemotesResponse, Background),
(Pull, Background),
(RemoteMessageResponse, Background),
);
request_messages!(
@ -589,10 +590,10 @@ request_messages!(
(GitReset, Ack),
(GitCheckoutFiles, Ack),
(SetIndexText, Ack),
(Push, Ack),
(Fetch, Ack),
(Push, RemoteMessageResponse),
(Fetch, RemoteMessageResponse),
(GetRemotes, GetRemotesResponse),
(Pull, Ack),
(Pull, RemoteMessageResponse),
);
entity_messages!(