Commit Graph
31406 Commits
Author SHA1 Message Date
Antonio Scandurra 3ee1950d9d Merge pull request #2274 from zed-industries/leave-on-quit
Leave room on quit
2023-03-13 18:08:01 +01:00
Antonio ScandurraandMax Brunsfeld 3c81933fbc Leave room on quit
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-03-13 17:52:10 +01:00
Mikayla Maki aaa94ccf08 Remove panic in recent projects picker 2023-03-13 09:44:42 -07:00
Mikayla Maki 0d2e73bb61 Fix dock opening on collaboration 2023-03-13 09:36:45 -07:00
Petros Amoiridis e91e82edf2 Merge pull request #2271 from zed-industries/petros/z-278-lock-pop-up-to-the-terminal-button
A new approach for positioning pop-up menus tied to an icon/button
2023-03-13 08:46:44 -07:00
Antonio Scandurra 77da03c698 Merge pull request #2268 from zed-industries/mention-username-of-user-in-prompt-when-removing-a-contact
Mention username of user in prompt when removing a contact
2023-03-13 14:28:11 +01:00
Antonio Scandurra bb4ee21481 Merge pull request #2272 from zed-industries/add-textmate-keymap
Add TextMate keymap
2023-03-13 14:26:32 +01:00
Antonio Scandurra abcc754d86 Merge pull request #2269 from zed-industries/unify-action-names-with-keybinding-names
Unify action names with keybinding name
2023-03-13 14:24:42 +01:00
Joseph Lyons 77a483c2a7 Add TextMate keymap 2023-03-13 08:27:04 -04:00
Petros AmoiridisandAntonio Scandurra 3741bd8640 Use local overlay position mode and alignment
When we show the context menu, we don't specify an explicit position other than the default one which is equal to the origin in the context of a local overlay position mode. We then rely on `AnchorCorner` and aligning the context menu child view in the stack with `top().right()` for pop-ups that need to appear at the top of the icon/button.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-13 12:50:12 +02:00
Petros AmoiridisandAntonio Scandurra 95a36d8c32 Use type_id to determine what has the focus
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-13 11:42:40 +02:00
Joseph Lyons c86d63f3e7 Update method names to match action names 2023-03-12 06:08:12 -04:00
Joseph Lyons 5fcd6c222c Switch github_login to String
One of our macros, `impl_actions!`, didn't like that `RemoveContact` had a lifetime.
2023-03-12 05:03:31 -04:00
Joseph Lyons 841be8edf2 Unify action names with keybinding name 2023-03-12 04:37:39 -04:00
Joseph Lyons 993f258b09 Mention username of user in prompt when removing a contact 2023-03-11 19:28:35 -05:00
Joseph Lyons 1266fee80c Remove hardcoding of "Terminal" string 2023-03-11 16:27:00 -05:00
Petros Amoiridis a1241fb767 Show tooltip for Give Feedback icon 2023-03-11 17:40:47 +02:00
Petros Amoiridis 78cd8dd51a Remove comment
I know @JosephTLyons you had added that, but I am not entirely sure this is how the view should be called. Let's discuss this further if you fill strong about it.
2023-03-11 17:22:21 +02:00
Petros AmoiridisandMikayla Maki 41b5cdd5db Activate terminal button when a terminal is focus
This is code I brought over from https://github.com/zed-industries/zed/pull/2267 by @mikayla-maki after fixing the conflicts.

Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-03-11 16:45:28 +02:00
Petros Amoiridis 1315dc7079 Merge branch 'main' into joseph/z-226-add-terminal-popup-menu 2023-03-11 16:42:42 +02:00
Max Brunsfeld c4b0eaf626 Encode db-max-connections env var as a string in k8s manifest 2023-03-10 17:19:16 -08:00
Max Brunsfeld 5ef6c610c8 collab 0.7.1 2023-03-10 16:36:03 -08:00
Mikayla Maki 57082433dc Merge pull request #2263 from zed-industries/language-status-bar
Language status bar
2023-03-10 16:26:42 -08:00
Mikayla Maki cf5114b193 Align feedback button styles with other sidebar buttons
Make feedback button reflect whether you're in a feedback buffer
2023-03-10 16:19:33 -08:00
Mikayla Maki 49c5ff8df1 Merge pull request #2265 from zed-industries/fix-menu-bar-greying-out
Fix too-agressive menu bar greying
2023-03-10 16:05:07 -08:00
Mikayla Maki 67205336fb Merge pull request #2267 from zed-industries/fix-terminal-icon-active-state
Activate and deactivate the terminal icon based on focused view
2023-03-10 16:02:34 -08:00
Mikayla Maki f5a78c7a3f Fix the terminal icon button to only be active when a terminal is focused 2023-03-10 15:54:42 -08:00
Mikayla Maki deece2f147 Merge pull request #2257 from zed-industries/check-all-contexts
Fix keyboard shortcuts not showing
2023-03-10 15:52:56 -08:00
Mikayla Makiandmax dcefe10e28 Fix a corner case in available action resolution
Add tests for new keybinding resolution behavior

co-authored-by: max <max@zed.dev>
2023-03-10 15:36:20 -08:00
Mikayla MakiandMax 39f5fab0be Switch from using the key window to the main window mac platform API
When the help menu is open, the help menu's search field is the key window, and this was causing menu item action resolution to fail

co-authored-by: Max <max@zed.dev>
2023-03-10 14:43:28 -08:00
Julia 43c0ec17e1 Merge pull request #2266 from zed-industries/avoid-panic
Avoid panic scanning recursive symlink before gitignore is encountered
2023-03-10 17:19:55 -05:00
Julia 0c89beb696 Avoid panic scanning recursive symlink before gitignore is encountered 2023-03-10 16:54:57 -05:00
Mikayla Maki 66aa6a7930 Add feedback for telemetry item when there's no data 2023-03-10 13:15:36 -08:00
Mikayla Maki 0de2936ee6 Move feedback to overflow menu and help menu 2023-03-10 12:48:11 -08:00
Mikayla Maki cf6b3a43b2 Make terminal fallback correctly when unable to deserialize your cwd 2023-03-10 12:23:29 -08:00
Mikayla Maki f1ad279511 Bound the search range for the keybindings by the highest handler path 2023-03-10 12:12:32 -08:00
Mikayla Maki ccf4c95ae3 Merge pull request #2199 from zed-industries/welcome-experience
Welcome experience
2023-03-10 10:48:30 -08:00
Mikayla Maki fc7798ba78 Stub out blank pane experience 2023-03-10 09:58:11 -08:00
Antonio Scandurra 937c5610b4 💄 2023-03-10 17:43:48 +01:00
Antonio Scandurra e8649f9d0e Adjust styling 2023-03-10 17:37:45 +01:00
Antonio Scandurra 7eb8789dec Show active buffer's language on the right in the status bar 2023-03-10 17:37:34 +01:00
Antonio Scandurra f8d24f66a2 Return last excerpt in MultiBuffer::excerpt_containing if overshooting 2023-03-10 17:28:08 +01:00
Antonio ScandurraandNathan Sobo 5d0e209edc Replace "Give Feedback" with an icon and move it to the left
This is so we can show the current language in the status bar on
the right, and having two pieces of text sitting next to each other
felt too busy.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-03-10 17:02:52 +01:00
Antonio Scandurra 123006c5b1 Emphasize currently-selected language 2023-03-10 15:48:39 +01:00
Antonio ScandurraandJulia Risley 2240d602b9 Set buffer language when confirming selection in language selector
Co-Authored-By: Julia Risley <julia@zed.dev>
2023-03-10 15:34:26 +01:00
Antonio ScandurraandJulia Risley f734f630d8 Introduce a new language picker that displays available languages
Right now this panics when trying to select a language, so that's
what we're going to implement next.

Co-Authored-By: Julia Risley <julia@zed.dev>
2023-03-10 15:28:10 +01:00
Antonio Scandurra 28df591385 Allow waiting for language to be loaded in LanguageRegistry APIs 2023-03-10 12:17:47 +01:00
Antonio Scandurra fb8351563a Introduce a new TryFutureExt::unwrap method 2023-03-10 11:41:13 +01:00
Antonio Scandurra 7761594ab5 Increase the amount of max connections to the database 2023-03-10 10:10:59 +01:00
Mikayla Maki 6fcd2ee50c Switch from changing the meaning of the predicate to adding an additional match_dispatch_path_context API for UI elements 2023-03-09 19:32:09 -08:00