ZIm/crates/workspace/src
Julia Ryan 2b94a35aaa
Rework git toasts (#26420)
The notifications from git output could take up variable amounts of
screen space, and they were quite obnoxious when a git command printed
lots of output, such as fetching many new branches or verbose push
hooks.

This change makes the push/pull/fetch buttons trigger a small
notification toast, based on the output of the command that was ran. For
errors or commands with more output the user may want to see, there's an
"Open Log" button which opens a new buffer with the output of that
command.

It also uses this behavior for long error notifications for other git
commands like `commit` and `checkout`. The output of those commands can
be quite long due to arbitrary githooks running.

Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
2025-03-11 21:39:29 +00:00
..
persistence windows: Bring back restoration of tabs (#25870) 2025-03-01 17:18:34 +00:00
shared_screen cx.background_executor().spawn(...) -> cx.background_spawn(...) (#25103) 2025-02-18 20:30:33 +00:00
dock.rs Fix panic opening branch picker in commit modal (#26407) 2025-03-10 16:36:23 -06:00
item.rs Remove worktree and project notifies (#26244) 2025-03-07 10:51:46 -07:00
modal_layer.rs Git commit modal branch list (#26417) 2025-03-10 22:10:52 -06:00
notifications.rs Add user-visible output for remote operations (#25849) 2025-03-03 09:20:15 +00:00
pane.rs Allow too many arguments (#26375) 2025-03-10 13:38:30 -06:00
pane_group.rs Allow too many arguments (#26375) 2025-03-10 13:38:30 -06:00
persistence.rs Add user-visible output for remote operations (#25849) 2025-03-03 09:20:15 +00:00
searchable.rs Make buffer search aware of search direction (#24974) 2025-03-04 19:27:37 -07:00
shared_screen.rs Simplify livekit config so that cargo check Just Works (#21661) 2024-12-06 13:50:59 -08:00
status_bar.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tasks.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
theme_preview.rs ui: More component previews, UI component cleanup (#25302) 2025-02-21 09:20:53 -05:00
toast_layer.rs Rework git toasts (#26420) 2025-03-11 21:39:29 +00:00
toolbar.rs Allow buffer search in project search (#23819) 2025-01-31 00:13:46 -07:00
workspace.rs Rework git toasts (#26420) 2025-03-11 21:39:29 +00:00
workspace_settings.rs Add last window closed setting (#25185) 2025-02-19 20:03:10 +00:00