Commit Graph
54 Commits
Author SHA1 Message Date
Mikayla Maki 74fefb0002 Remove on_click_out handler from context menu
Add 'delay_cancel()' method and on_down handler to relevant buttons
2023-06-29 17:10:51 -07:00
Piotr Osiewicz 406e160730 Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
Max Brunsfeld b6a053f0d0 Eliminate assets crate 2023-06-06 11:46:46 -07:00
Max Brunsfeld c338c69da7 Make language_settings take a language, not a language name 2023-05-31 15:10:30 -07:00
Max Brunsfeld 6f55841897 Make language settings accessors take an arc dyn file 2023-05-31 14:57:04 -07:00
Max Brunsfeld 1fbbaa262f Respect project-specific settings for copilot 2023-05-31 14:42:15 -07:00
Max Brunsfeld fb4c174fd1 Start work on respecting project-specific settings 2023-05-29 14:25:49 -07:00
Antonio Scandurra 8f56c80d68 Merge branch 'main' into panels 2023-05-22 14:10:17 +02:00
Nathan Sobo ef566cacd2 Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
Max Brunsfeld fbad8fc1e4 Replace remaining usages of glob crate with globset 2023-05-19 09:36:46 -07:00
Max Brunsfeld 30e678a450 Remove optional path argument when getting settings 2023-05-17 15:05:20 -07:00
Max Brunsfeld c261a01c7f Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
Max Brunsfeld 56f2ff64ed Define language settings in the language crate 2023-05-16 17:29:53 -07:00
Max Brunsfeld fe610e556f Define telemetry settings in the client crate 2023-05-10 12:59:24 -07:00
Max Brunsfeld 2c7b3dcb92 Start using the SettingsStore in the app 2023-05-10 12:59:24 -07:00
Nathan Sobo b9d92fce56 Rename DockItem to Panel 2023-05-09 10:18:11 +02:00
Nathan Sobo a978561ff7 Rename Sidebar to Dock 2023-05-09 10:18:10 +02:00
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 ScandurraandNathan Sobo d7231f63c6 💄
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-04-28 16:38:00 +02:00
Antonio ScandurraandNathan 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
Max Brunsfeld d1f33d7052 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
Max Brunsfeld a17f009b00 Use a workspace dependency for the futures crate 2023-04-24 09:43:31 -07: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 SoboandMax 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 ScandurraandNathan Sobo 4b2347769a Clarify Copilot context menu
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-04-19 20:18:06 +02:00
Antonio ScandurraandNathan 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