Commit Graph
17 Commits
Author SHA1 Message Date
Piotr Osiewicz 40e7b3244b fixup! Work around lifetime woes by turning the element in language_tools2 into any element 2024-01-01 14:23:02 +01:00
Piotr Osiewicz 6fbaa2b573 Work around lifetime woes by turning the element in language_tools2 into any element 2024-01-01 14:23:02 +01:00
Nathan Sobo 5a75996184 Attempt to return impl Element from render. 3 errors. 2024-01-01 14:23:02 +01:00
Piotr Osiewicz dacac5688a Titlebar project menu double click (#3784)
This addresses a bug where popover menus in the titlebar were rendered
only after a 2nd click. The first click was creating the View which the
second one then rendered.
In addition to this, `PopoverMenu::menu` function argument can now
return an `Option<View<T>>` instead of `View<T>` as the creation of the
menu can fail (as it might in case of git popover).

Release Notes:

- N/A
2023-12-22 17:18:12 +01:00
Antonio Scandurra 01022e81da Fix context menu in tab bar 2023-12-22 10:23:27 +01:00
Kirill Bulatov 5519557944 Close syntax tree view menu on click too 2023-12-20 18:28:32 +02:00
Kirill Bulatov 12688b6f59 Rework context menu's custom element API to handle clicks properly 2023-12-20 18:23:09 +02:00
Kirill Bulatov ee49603e93 Lsp log selector fixes 2023-12-20 18:23:09 +02:00
Kirill Bulatov 7b0bd1aa28 Syntax tree panel style fixes 2023-12-20 18:23:08 +02:00
Kirill Bulatov d7baad214a Remove temporary imports, fix syntax_tree_view 2023-12-20 18:23:08 +02:00
Kirill Bulatov d9bce6d75b Use stock gpui2 ui components 2023-12-20 18:23:08 +02:00
Kirill Bulatov a3573d9b4c Display something 2023-12-20 18:23:08 +02:00
Kirill Bulatov 6afd8661c0 Uncomment tests 2023-12-20 18:23:08 +02:00
Kirill Bulatov 8147706439 Finish all but the styling 2023-12-20 18:23:08 +02:00
Kirill Bulatov da8c4e8ae3 Apply more fixes to the visual part 2023-12-20 18:23:08 +02:00
Kirill Bulatov 8b78f3b3f0 First fixes 2023-12-20 18:23:08 +02:00
Kirill Bulatov 401c06935e Create a new crate 2023-12-20 18:23:08 +02:00