ZIm/crates/ui/src
Mikayla Maki 1aefa5178b
Move "async move" a few characters to the left in cx.spawn() (#26758)
This is the core change:
https://github.com/zed-industries/zed/pull/26758/files#diff-044302c0d57147af17e68a0009fee3e8dcdfb4f32c27a915e70cfa80e987f765R1052

TODO:
- [x] Use AsyncFn instead of Fn() -> Future in GPUI spawn methods
- [x] Implement it in the whole app
- [x] Implement it in the debugger 
- [x] Glance at the RPC crate, and see if those box future methods can
be switched over. Answer: It can't directly, as you can't make an
AsyncFn* into a trait object. There's ways around that, but they're all
more complex than just keeping the code as is.
- [ ] Fix platform specific code

Release Notes:

- N/A
2025-03-19 02:09:02 +00:00
..
components Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
styles Debugger implementation (#13433) 2025-03-18 12:55:25 -04:00
tests ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
traits Revert "ui: Color cleanup (#26673)" (#26681) 2025-03-13 15:40:57 +00:00
utils Debugger implementation (#13433) 2025-03-18 12:55:25 -04:00
components.rs Add StatusToast & the ToastLayer (#26232) 2025-03-06 20:37:54 +00:00
prelude.rs Add StatusToast & the ToastLayer (#26232) 2025-03-06 20:37:54 +00:00
styles.rs Add StatusToast & the ToastLayer (#26232) 2025-03-06 20:37:54 +00:00
tests.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
traits.rs component: Add component and component_preview crates to power UI components (#24456) 2025-02-09 13:25:03 -05:00
ui.rs ui: More component previews, UI component cleanup (#25302) 2025-02-21 09:20:53 -05:00
utils.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00