Commit Graph
449 Commits
Author SHA1 Message Date
Antonio Scandurra 8d591c6ab1 Allow following users into external projects 2022-10-05 15:32:55 +02:00
Antonio Scandurra 360b75f5f7 Move logic for joining project into a global action in collab_ui 2022-10-05 15:04:03 +02:00
Antonio Scandurra bca261ef76 Set room location when active workspace changes 2022-10-05 15:03:40 +02:00
Antonio Scandurra 0b6390b1a2 Remove project join requests 2022-09-30 11:35:50 +02:00
Antonio ScandurraandNathan Sobo 5cf6e0728c Remove projects from contact updates
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-29 19:40:36 +02:00
Antonio Scandurra 65e3454947 Extract contacts titlebar item into a separate crate
This allows us to implement a new contacts popover that uses the
`editor` crate.
2022-09-28 11:33:38 +02:00
Mikayla Maki 8e5a7e05e1 Fixed minor issue with pane defocusing Co-Authored-By: kay@zed.dev 2022-09-27 17:05:21 -07:00
K Simmons 2a0828de6f Minor improvements to dock visuals, rework dock keybindings, and fix panic on split when dock is active 2022-09-16 12:55:36 -07:00
Mikayla Maki 74fb767605 Added toggle dock test 2022-09-14 10:32:32 -07:00
Mikayla Maki b4e68d939c Added focus on dock toggle 2022-09-14 10:15:15 -07:00
K Simmons ae35cb41a4 Minor tweak to dock tests 2022-09-13 19:26:07 -07:00
K Simmons 631ddb228d Add tests for the dock 2022-09-13 19:18:05 -07:00
K Simmons 780bc02ed6 Fix mouse scroll in terminal items 2022-09-13 17:37:24 -07:00
K SimmonsandMikayla Maki 996c32f045 Fix incorrect rendering of toolbar in right anchored dock
Make dock keybinding activate the dock if it wasn't hidden, and hide it if it was already active
Make clicking the expanded dock wash, hide the dock
Fix some issues with programmatically activating other panes, not hiding the dock
Tweak dock anchor menu text
Swap dock hide button for thin variant
Fix dock sidebar interactions
Add clicked state to search button and fix presenter issue sending clicked events when mouse not overlapping MouseRegion

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-13 15:17:27 -07:00
Mikayla Maki 85c14aced4 fixed one failing test 2022-09-13 11:40:23 -07:00
K Simmons 4a35495d3c Extract panel resize code from sidebar into Resizable element
Make resizable work in vertical axis
Make dock resizable
Have dock preserve size based on Anchor position
Make pane buttons work more correctly in pathological cases
Sync status bar dock button with dock visibility/anchor position

Co-Authored-By Mikayla Maki <mikayla@zed.dev>
2022-09-12 18:32:15 -07:00
Mikayla Maki c2b5feb6f8 Started to make the dock better, major issue's resizing child elements 2022-09-12 14:53:26 -07:00
K Simmons acfa904c70 WIP working on resizable dock 2022-09-12 14:24:57 -07:00
K Simmons 7672731bde Fix some pane button issues 2022-09-11 15:52:09 -07:00
K SimmonsandMikayla Maki a3c0435170 Move workspace overlay elements into an actual overlay in order to get proper stacking context depths
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-11 15:34:12 -07:00
K SimmonsandMikayla Maki 7816d96dc1 Permanent fix to repeat MouseRegion Tag failure in Workspace
Polish tab bar buttons

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-11 15:34:10 -07:00
K SimmonsandMikayla Maki 017f7b75cf DOCK WORKING!
Update editor element to use mouse regions instead of dispatch event for mouse events
Fix bug in presenter where mouse region handlers were stored on click and called instead of more up to date handlers from subsequent renders
Changed MouseRegion to require discriminants in all cases
Add scroll wheel event to MouseRegion
Polished a bunch of dock inconsistencies

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-11 15:32:20 -07:00
K Simmons cf46cd4b62 Swapped keyboard binding and did some minor tweaks to style and focus 2022-09-11 15:31:44 -07:00
K Simmons d87b6d68cf WIP dock split button and default item 2022-09-11 15:31:44 -07:00
Mikayla Maki 09daa7082b In progress, working on building out the dock UI experience 2022-09-11 15:31:44 -07:00
Mikayla Maki 49fb1ebc06 Initial explorations into docks 2022-09-11 15:31:44 -07:00
Mikayla Maki f98405c0c8 Start moving terminal modal into dock UI 2022-09-11 15:31:44 -07:00
Mikayla Maki f575518cdb Update workspace.rs 2022-09-09 17:36:25 -07:00
Mikayla Maki 4d2265d91b Patch for beachball on disconnected overlay, permanent fix to MouseRegion API is a part of the Dock PR.
Co-Authored-By: Keith <keith@zed.dev>
2022-09-09 17:32:31 -07:00
K SimmonsandMikayla Maki a8473e2186 Introduced ItemEvent and to_item_events function to Item trait which converts the Item's events into a standard ItemEvent similar to how SearchableItems work.
Add breadcrumb_location and breadcrumbs functions to item trait which handles rendering of the breadcrumb elements
Change breadcrumb toolbar to use these new functions rather than having hard coded breadcrumb logic
Add breadcrumb support to the terminal tabs

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-06 16:05:36 -07:00
K Simmons 0f810877d4 WIP pull breadcrumb rendering out into item trait 2022-09-06 14:39:58 -07:00
Mikayla Maki c07022d6c4 Merge pull request #1603 from zed-industries/terminal-polishing
Terminal Polishing
2022-09-06 09:31:39 -07:00
Mikayla Maki 8da8ea6b86 Fixed terminal title showing program, WIP showing exe arguments 2022-09-02 18:22:53 -07:00
Mikayla Maki f4d200c507 Began program manager, made terminal modals per-window 2022-09-02 16:45:58 -07:00
Max Brunsfeld 2d0bb76c40 Avoid undesirable pane item deduping with multibuffers 2022-09-02 11:59:10 -07:00
K Simmons d7607394e7 Don't panic if a tab isn't present in a from tab when dragged 2022-09-01 15:17:25 -07:00
Mikayla Maki 77dd14da38 Merge pull request #1587 from zed-industries/alac-search
Terminal Search
2022-09-01 13:49:48 -07:00
Mikayla Maki 4e3db12e8e Finished terminal search 2022-09-01 13:45:46 -07:00
K SimmonsandMax Brunsfeld b1efab3314 Impl default for drag and drop global. Make drag and drop global maintain a list of weak handles to the container.
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-09-01 12:13:46 -07:00
Mikayla Maki 45da742ada Terminal implements important half of search protocol 2022-08-31 17:41:53 -07:00
K Simmons 2dd11336d5 Merge pull request #1581 from zed-industries/generalized-item-search
Make Workspace item search generic
2022-08-31 16:12:45 -07:00
K Simmons 0578489b97 Simulate mouse up if mouse was released outside window, don't report dragged payload if it was dragged from a different window 2022-08-31 14:06:38 -07:00
K Simmons 529bf68aa0 Add match associated type and fix failing test 2022-08-30 21:53:49 -07:00
K Simmons a13b9e2f71 SearchableItem trait is completed and editor searches appear to be working 2022-08-30 15:37:54 -07:00
K Simmons 5232222991 Fix some drag and drop issues including the mouse cursor not being locked to pointer, tooltips being incorrect when a dragged tab is used, and some subscription leaks from panes 2022-08-26 15:43:15 -07:00
K Simmons 8d10edea0f Add tests for Pane::add_item 2022-08-25 16:21:44 -07:00
K Simmons 4080b5b7f3 Drag and drop tabs working. all known bugs fixed 2022-08-25 11:14:24 -07:00
K Simmons 556c688562 Change dragged tab styling 2022-08-23 18:02:01 -07:00
K Simmonsand 2e2699ef96 Move pane item reordering from activate_tab to add_item_at.
Co-authored-by: nathan@zed.dev
2022-08-23 17:33:01 -07:00
K Simmons 4a2f8cf99d Introduce ReorderBehavior to pane, and address drag and drop offset error 2022-08-23 15:41:59 -07:00