Commit Graph
11144 Commits
Author SHA1 Message Date
Mikayla Maki fcfe78b086 Fix format 2023-05-09 12:54:53 -07:00
Nathan Sobo 94300d8487 WIP 2023-05-09 13:28:34 -06:00
Mikayla Maki 70dfc8448c Fix center items not being activated when deserialized 2023-05-09 12:27:07 -07:00
Mikayla Maki dd9ddcc71a Make dock not eagerly steal focus from sub items 2023-05-09 12:00:09 -07:00
Antonio ScandurraandNathan Sobo 754c24ad4f WIP: Allow panels to be moved
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-05-09 18:57:25 +02:00
Antonio ScandurraandNathan Sobo e789777d3c Remove unused code
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-05-09 18:06:59 +02:00
Antonio Scandurra ef7b2ab3b0 Focus new item if pane was focused when removing previous active item
Previously, we were relying on the item getting blurred and the workspace
receiving focus, which would in turn focus the active pane. This doesn't
play well with docks because they aren't part of the workspace panes.
2023-05-09 17:38:54 +02:00
Antonio Scandurra 96807e1019 Ensure ctrl-` works in the terminal panel 2023-05-09 17:38:18 +02:00
Antonio Scandurra ed597975e0 WIP 2023-05-09 17:14:33 +02:00
Antonio ScandurraandJulia Risley 76ac20fcab Randomly mutate worktree in addition to mutating the file-system
This ensures that we test the code path that refreshes entries.

Co-Authored-By: Julia Risley <julia@zed.dev>
2023-05-09 17:01:11 +02:00
Antonio ScandurraandJulia Risley a8877200a4 Deliver file-system change events in batches in randomized worktree test
Co-Authored-By: Julia Risley <julia@zed.dev>
2023-05-09 16:55:03 +02:00
JuliaandAntonio Scandurra 7d24931b89 Only update changed local worktree buffers
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-05-09 15:13:12 +02:00
Antonio Scandurra 8e2a5865f9 Allow customization of Pane tab bar buttons 2023-05-09 15:05:29 +02:00
Antonio Scandurra c6c23cee5c Fix bottom dock resizing 2023-05-09 14:46:15 +02:00
Antonio Scandurra c10bb5d90a Prevent splits in the terminal panel 2023-05-09 12:29:16 +02:00
Antonio Scandurra 06af5576aa Show terminal count in panel button 2023-05-09 12:21:35 +02:00
Antonio Scandurra 2ecfbb96b5 Don't pass &mut Workspace when closing items in a Pane
This allows closing items via actions even in the `TerminalPanel`
where the `Pane` is not directly owned by a `Workspace`.
2023-05-09 11:45:39 +02:00
Antonio Scandurra 172741ef5c Automatically close terminal dock when the last terminal was closed 2023-05-09 10:18:11 +02:00
Antonio Scandurra 23161c4444 Prevent dragging items that aren't terminals to the terminal panel 2023-05-09 10:18:11 +02:00
Antonio Scandurra 1b0b793304 WIP: Start on TerminalPanel 2023-05-09 10:18:11 +02: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
Nathan Sobo e7d9fdc4b5 Remove dock from workspace 2023-05-09 10:18:10 +02:00
Mikayla Maki 4e433a3bf5 Merge pull request #2454 from zed-industries/fix-mismatching-panes-when-deserializing-empty-panes
Fully remove panes and update internal data structures
2023-05-08 20:37:06 -04:00
Mikayla Maki 6c599f4b82 Refactor and fix format 2023-05-08 17:32:40 -07:00
Mikayla Maki 2de2e8a94c Add manual removal code to remove_panes 2023-05-08 17:25:28 -07:00
Mikayla Maki ed1f4f8d77 Fully remove panes and update internal data structures 2023-05-08 17:09:29 -07:00
Max Brunsfeld 8afc8a01d5 collab 0.12.0 2023-05-08 15:54:11 -07:00
Mikayla Maki dc32c72e77 Merge pull request #2428 from zed-industries/add-branch-name
Add branch name and synchronize repository representations on the worktree.
2023-05-08 17:40:47 -04:00
Mikayla Maki 1f544cf486 Bump protocol version number 2023-05-08 14:34:14 -07:00
Mikayla Maki 858efd1f63 Fix styling of titlebar highlights 2023-05-08 14:33:59 -07:00
Mikayla Maki 53bccf44fd Add postgres migration 2023-05-08 14:33:59 -07:00
Mikayla Maki cb5ca6c54c Restore randomized integration tests 2023-05-08 14:33:59 -07:00
Mikayla Maki 1ea9ec550c fix format 2023-05-08 14:33:59 -07:00
Mikayla Maki 7fce8a259e Fix panic in tests 2023-05-08 14:33:59 -07:00
Mikayla Maki 7a40544d05 Removed test modifications, added special case to git initialization for when the repository is inside a .git folder 2023-05-08 14:33:59 -07:00
Mikayla Maki b241677bf8 Refresh titlebar on project notifications 2023-05-08 14:33:59 -07:00
Mikayla Maki 162e1ba814 Adjust tests to not create repositories inside repositories 2023-05-08 14:33:59 -07:00
Mikayla MakiandMax 09b0ea9e7b Fixed randomized test failures
co-authored-by: Max <max@zed.dev>
2023-05-08 14:33:59 -07:00
Mikayla MakiandMax 134e12a79d Removed scan ID from repository interfaces
co-authored-by: Max <max@zed.dev>
2023-05-08 14:33:59 -07:00
Mikayla MakiandMax 1d5c06465c Finished RepositoryEntry refactoring, smoke tests passing
co-authored-by: Max <max@zed.dev>
2023-05-08 14:33:59 -07:00
Mikayla Maki c5f4722a4a WIP: Change RepositoryEntry representation to be keyed off of the work directory
Removes branches button scaffolding
2023-05-08 14:33:59 -07:00
950b5873a6 WIP: re-arranging the RepositoryEntry representation
Added branches to the randomized test to check the git branch
Added the remaining database integrations in collab

Co-authored-by: Max <max@zed.dev>
Co-authored-by: Petros <petros@zed.dev>
2023-05-08 14:33:59 -07:00
Mikayla MakiandPetros 585e612b3a Add branch name in title UI
co-authored-by: Petros <petros@zed.dev>
2023-05-08 14:33:59 -07:00
Petros Amoiridis e2df701b38 Rebase main and fix error 2023-05-08 14:33:59 -07:00
Mikayla MakiandMax 46db4cbb79 WIP: Add repository entries to collab and synchronize when rejoining the room
co-authored-by: Max <max@zed.dev>
2023-05-08 14:33:59 -07:00
Mikayla Maki 8f3c07b943 Add proto fields for repository entry maintenance 2023-05-08 14:33:59 -07:00
Mikayla Maki adf07dc837 Add smoke test for collaboration 2023-05-08 14:33:59 -07:00
Petros Amoiridis 1902d69e19 Remove unused functions 2023-05-08 14:33:59 -07:00
Petros AmoiridisandMikayla Maki 5c1703823b Introduce BrancesButton in title bar
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-05-08 14:33:58 -07:00