Nathan Sobo and Max Brunsfeld
52d4cc5349
Refine naming of element-related types and traits
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-04-21 13:06:37 -06:00
2bd56ab6f0
Rename Drawable::boxed to into_element and make containers generic
...
Multi-element are now generic over any drawable child, which can be converted
into an element.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-04-21 12:43:19 -06:00
Antonio Scandurra
8421d816a8
Merge branch 'main' into window_context_2
2023-04-20 16:01:47 +02:00
Mikayla Maki
b8c5103502
add copilot menu
2023-04-19 17:27:44 -07:00
Antonio Scandurra and Nathan Sobo
4b2347769a
Clarify Copilot context menu
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-19 20:18:06 +02:00
Antonio Scandurra and Nathan Sobo
7d9b486576
Clarify copilot settings
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-19 20:07:05 +02:00
Antonio Scandurra
aeffa5b8fc
Pass WindowContext to ViewHandle::is_focused
2023-04-14 12:12:08 +02:00
Nathan Sobo
d5629c7183
WIP
2023-04-12 12:38:26 -06:00
Nathan Sobo
f5a86aecdc
WIP
2023-04-12 12:13:35 -06:00
Antonio Scandurra
5f04261450
WIP
2023-04-12 15:55:43 +02:00
Nathan Sobo
0316747904
WIP
2023-04-12 06:51:03 -06:00
Nathan Sobo
fabf89a1b1
WIP
2023-04-11 18:21:56 -06:00
Nathan Sobo
45c1106140
Don't export platform::* from gpui
...
I'd like to avoid cluttering the top-level namespace with all the platform-
specific types.
2023-04-07 11:45:53 -06:00
Nathan Sobo
d937660683
Merge MutableAppContext into AppContext
...
There may have been a good reason for the difference at some point, or I was
still learning Rust. But now it's just &mut AppContext vs &AppContext.
2023-04-06 15:49:03 -06:00
Antonio Scandurra
3b3d1deb90
Clear Copilot suggestions when it gets disabled from the settings
2023-04-04 10:45:56 +02:00
Mikayla Maki
49ecb56c52
Remove per-file copilot enable/disable
2023-04-03 15:15:42 -07:00
Mikayla Maki
54d958a5e4
Fix typo in copilot button
2023-03-31 11:50:31 -07:00
Mikayla Maki
ebc197a373
Fix leaked handle and failure to update language in context menu
2023-03-30 17:40:11 -07:00
Mikayla Maki
ef7e2dfc6b
Fix unrelated panics in tests
2023-03-30 17:19:29 -07:00
Mikayla Maki
5dc4eb7a71
Added erorr states and first-pass error handling to the copilot status bar item.
...
Added correct icons
Added a new 'Toast' action which allows other crates to easily pop toasts with an optional click action
2023-03-30 14:10:57 -07:00
Mikayla Maki
4a9b78e48f
Fix bug with enable setting, clean up sign in UIs
2023-03-29 21:51:07 -07:00
Mikayla Maki
c2f6567042
Add status bar icon reflecting copilot state to Zed status bar
2023-03-29 21:31:33 -07:00