Antonio Scandurra
3c580153ed
Merge branch 'main' into implicit-ancestry
2023-05-04 14:39:58 +02:00
Max Brunsfeld
54815f70ed
Merge branch 'main' into copilot-disabled-globs
2023-05-03 10:53:28 -07:00
Max Brunsfeld
647c3960d9
Add copilot menu item for enabling paths by glob
2023-05-03 10:14:01 -07:00
Antonio Scandurra
ac7e73d494
Remove the ability to retrieve the view's parent
2023-05-03 16:52:55 +02:00
Antonio Scandurra
4bb90083cb
Remove ViewContext::dispatch_any_action
2023-05-01 14:24:00 +02:00
Antonio Scandurra and Nathan Sobo
d7231f63c6
💄
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-28 16:38:00 +02:00
Antonio Scandurra and Nathan Sobo
addccba272
Remove internal actions from copilot_button
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-28 16:36:57 +02:00
Antonio Scandurra
b9cae2d58d
Remove Toast and DismissToast internal actions
2023-04-27 14:43:10 +02:00
Antonio Scandurra
d0a1109f62
Allow passing a handler function to context menu items
2023-04-27 11:32:12 +02:00
Antonio Scandurra
6c78fda391
Remove ContextMenu::element_item
2023-04-27 11:11:21 +02:00
Mikayla Maki
c8e54672c8
fix formatting
2023-04-24 09:25:04 -07:00
Mikayla Maki
e52c8c0145
Update copilot_button.rs
2023-04-24 09:03:54 -07:00
Mikayla Maki
4af24d1366
Change copilot wording to be more explicit
2023-04-21 21:42:23 -07:00
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