Commit Graph
642 Commits
Author SHA1 Message Date
Mikayla Maki 730ea83ee0 Convert keymap context to use generics and Cow<'static> so we don't have to add .to_string() and .into() for each usage 2023-02-23 14:10:55 -08:00
Max Brunsfeld e34ff3fdb4 Merge pull request #2114 from zed-industries/new-collaboration-ui
New collaboration UI part 1/N
2023-02-22 12:32:41 -08:00
Mikayla Maki 36bf325979 Merge pull request #2198 from zed-industries/more-item-defaults
Add more default impls to the item trait
2023-02-22 09:14:12 -08:00
Julia 8946fbd17d Highlight face pile which local user is following 2023-02-22 11:22:37 -05:00
Julia 3d9742d272 Absolute pain of the iterator kind (start laying out a user's followers) 2023-02-22 11:21:23 -05:00
Julia 9cc7d74f69 Move workspace title into collaboration titlebar item render 2023-02-22 11:21:11 -05:00
Mikayla Maki 6f6d374f7c Remove now-default stubs 2023-02-21 17:51:49 -08:00
Mikayla Maki 7d62089491 Add more default impls to the item trait
Change pane to not split if the underlying item cannot be cloned
2023-02-21 17:29:39 -08:00
Mikayla Maki 6aec385c3f Changed label and text to be generic over static strings and owned strings 2023-02-21 16:47:29 -08:00
Joseph Lyons 0bd34ef698 Remove print macros 2023-02-21 10:46:12 -05:00
Max Brunsfeld e9b7d7f55a Merge pull request #2194 from zed-industries/window-position-env-vars
Fix handling of ZED_WINDOW_{SIZE,POSITION} env vars
2023-02-20 15:29:51 -08:00
Max BrunsfeldandNathan Sobo 3a32412b5e Fix handling of ZED_WINDOW_{SIZE,POSITION} env vars
Co-authored-by: Nathan Sobo <nathan@zed.dev>
2023-02-20 15:11:20 -08:00
Kay Simmons 4788743abb Iterate over keymap then dispatch path when matching keybindings to make precedence more intuitive
Rename action which adds the active tab to the dock to be more intuitive
Add action which moves the active tab out of the dock and bind it to the same keybinding
2023-02-18 13:10:01 -08:00
Kay Simmons 0b445f79b4 pull toggle button into its own file 2023-02-18 12:32:19 -08:00
Kay Simmons 7e98fc9a86 fix bracket ranges failing test 2023-02-17 17:19:23 -08:00
Julia 8080bbc45c Merge pull request #2173 from zed-industries/tab-bar-background-focus-pane
Focus pane when clicking on tab bar background
2023-02-15 16:07:10 -05:00
Julia 13ab253e9c Indicate in native window title if project is shared or remote 2023-02-15 15:56:16 -05:00
Petros Amoiridis 8bc4a4836c Merge pull request #2161 from zed-industries/community/3-reveal-in-finder
Introduce Reveal in Finder
2023-02-15 16:11:04 +02:00
Petros Amoiridis ceb1531fcf Use open_url from the platform module
And remove the open function from the `util` crate.
2023-02-15 15:58:57 +02:00
Julia 613d8be365 Focus pane when clicking on tab bar background 2023-02-14 12:39:29 -05:00
Mikayla Maki acbf7f814a Switch from vec to smallvec 2023-02-13 12:49:57 -08:00
Joseph Lyons d27505337b Remove toggle right sidebar command 2023-02-11 21:53:10 -05:00
Petros AmoiridisandMikayla Maki 476cded146 Introduce an open function
And refactor some of the older code to simplify it

Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-02-10 21:11:54 +02:00
Joseph Lyons 5e8a830643 Update links to community repository 2023-02-07 18:19:27 -05:00
Kay Simmons 39b5a9dd00 show notification if no recent projects 2023-02-07 00:10:11 -08:00
Petros AmoiridisandAntonio Scandurra f1c0668fdc Guard against tab_bar_context_menu
We don't want to have the tab_bar_context_menu as the active item of the pane where the split started from

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-02-02 20:15:43 +02:00
Mikayla Maki edb2d2cd3f Removed old experiments settings and staff mode flag, added new StaffMode global that is set based on the webserver's staff bit 2023-01-27 15:43:12 -08:00
Kay Simmons cf0966d8ea Merge pull request #2090 from zed-industries/workspace-window-position-persistence
Workspace window position persistence
2023-01-27 15:24:01 -08:00
Kay Simmons 2a07c63ba2 Add function which checks if a child of a view is focused and use that to only focus item updates from the leader when that the active item was focused 2023-01-27 12:39:32 -08:00
Kay Simmons 68bef7e402 window position restoration working 2023-01-26 16:35:00 -08:00
Julia f9f4a24805 Add "Close Window" global action which does not need a focused workspace 2023-01-25 18:51:25 -05:00
Kay Simmons f6d76da812 mostly working now 2023-01-25 11:36:38 -08:00
Kay Simmons 06d99f945e wip 2023-01-25 11:32:19 -08:00
Kay Simmons 56396af37b wip 2023-01-25 11:32:19 -08:00
Mikayla Maki 918227f261 Remove debug wiring 2023-01-25 09:10:51 -08:00
Mikayla Maki 28fd6c4ae4 WIP - adds platform APIs for checking the top most window 2023-01-25 09:10:35 -08:00
Joseph Lyons 9dc231f461 Merge branch 'main' into in-app-feedback 2023-01-23 18:24:12 -05:00
Joseph Lyons f9f8ad778d Clean out unused code 2023-01-23 18:19:10 -05:00
Mikayla Maki a77221d10d Add action to open licenses file 2023-01-23 12:45:18 -08:00
Julia 5aca31f56d Avoid stomping on tab close icon's cursor style 2023-01-23 11:43:50 -05:00
Joseph Lyons 79a7819293 Fix new errors after merge 2023-01-23 01:31:02 -05:00
Joseph Lyons 3f77f72d24 Merge branch 'main' into in-app-feedback 2023-01-23 01:20:10 -05:00
Mikayla Maki f611d31ff0 Fix broken merge 2023-01-20 09:19:58 -08:00
Mikayla MakiandNathan 8563899c02 Switched from active hover to NSViews acceptsFirstMouse API
Co-authored-by: Nathan <nathan@zed.dev>
2023-01-20 09:14:38 -08:00
Mikayla Maki 8383f27680 Adds UI for showing the followed-by status to collaboration 2023-01-19 14:22:12 -08:00
Max Brunsfeld 0e7be77827 Update comments in Pane::close_items 2023-01-18 15:17:44 -08:00
Max Brunsfeld d7ecc78a26 Merge pull request #2045 from zed-industries/fewer-unsaved-prompts
Avoid prompting to save when closing an untitled buffer that is still open elsewhere
2023-01-18 15:10:19 -08:00
Max Brunsfeld cad6460a7c Fix workspace tests after changing Item trait 2023-01-18 15:00:40 -08:00
Joseph Lyons 66a3aadccc WIP 2023-01-18 00:12:52 -05:00
Max Brunsfeld 49d4c4eaa7 Set up fake project paths correctly in tests 2023-01-17 17:40:34 -08:00