Commit Graph
950 Commits
Author SHA1 Message Date
Conrad Irwin cbbbcdbf79 Refactor to remove toggle_follow 2023-10-02 16:51:02 -06:00
Conrad Irwin 484ea0e8ee Fix bug in following
Prior to this change you could only follow across workspaces when you
were heading to the first window.
2023-10-02 16:29:42 -06:00
Conrad Irwin 19bb02c50e Ensure notifications are dismissed
Before this change if you joined a project without clicking on the
notification it would never disappear.

Fix a related bug where if you have more than one monitor, the
notification was only dismissed from one of them.
2023-10-02 11:01:21 -06:00
Conrad IrwinandMax Brunsfeld a53a022583 Make following more good
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-09-29 17:59:19 -06:00
Max Brunsfeld 447a8ffa81 Introduce a WorkspaceStore for handling following 2023-09-28 18:58:52 -07:00
Max Brunsfeld 4d98184acc Remove unused db query method 2023-09-28 17:13:10 -07:00
Max Brunsfeld 26b0382f31 Undo making project optional on stored follower states
Following works without a project, but following in unshared projects does
not need to be replicated to other participants.
2023-09-28 14:21:44 -07:00
Max BrunsfeldandConrad cd72b7c288 Fix errors from assuming all room_participant rows had a non-null participant_index
Rows representing pending participants have a null participant_index.

Co-authored-by: Conrad <conrad@zed.dev>
2023-09-28 12:03:53 -07:00
Max BrunsfeldandConrad 13f4957210 Rename color_index to participant_index
Co-authored-by: Conrad <conrad@zed.dev>
2023-09-28 11:37:22 -07:00
0976bdc78d Assign unique color indices to room participants, use those instead of replica_ids
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Antonio <antonio@zed.dev>
2023-09-28 11:06:09 -07:00
Max Brunsfeld e23d0b8c80 Allow following into channel notes regardless of project 2023-09-21 17:12:59 -07:00
Max Brunsfeld e8bcd6d63e Add initial failing test for following to channel notes in an unshared project 2023-09-21 13:14:15 -07:00
Max Brunsfeld c8fee1d696 Make project id optional when following - server only 2023-09-21 13:14:15 -07:00
MikaylaandMax 0cee12f6eb Fix bugs in moving channels that could cause channels to be stranded or moved unexpectedly
Made channel linking not query in a loop

co-authored-by: Max <max@zed.dev>
2023-09-20 15:32:06 -07:00
Mikayla Maki 9376900ab1 Add UI/UX for moving channels (#2976)
TODO:

- [x] Add drag and drop
- [x] Polish up in-flight decisions.
- [x] Fix chat panel panic
- [x] Add nice hover effect highlighting the matching ones
- [x] Fix and test keyboard

Release Notes:

- N/A
2023-09-19 17:56:22 -07:00
Mikayla 2dc8da1006 Add hover styles to channels matching the current selection
Fix chat desync from moving / linking channels
2023-09-19 17:50:02 -07:00
Mikayla 5b4d4900cd Finish optimizing channel representations and operations 2023-09-18 20:24:37 -07:00
Piotr Osiewicz 5fe12ec616 chore: Use aho-corasick 1.1 in direct dependencies (#2983)
Nothing too fancy, we've depended indirectly on 1.0/1.1 already, so this
is essentially bookkeeping.

Release Notes:
- N/A
2023-09-18 17:01:08 +02:00
Mikayla 457b321f7f WIP: Send the channel name and the channel edges seperately, so we're not repeating them constantly
This commit is currently broken and includes debug data for a failed attempt at rewriting the insert_edge logic
2023-09-15 17:57:23 -07:00
Mikayla df39c94413 Make DAG tests order independent 2023-09-15 13:44:01 -07:00
Mikayla 12ff927af6 Simplify path representation in collab panel
Optimize set representation in collab
2023-09-15 13:35:46 -07:00
Mikayla 231de420b8 Fix merge conflicts 2023-09-15 12:30:26 -07:00
Mikayla 76cbccb954 fmt 2023-09-15 11:39:56 -07:00
Mikayla 081cd2b60c Finish testing new channel store client behavior 2023-09-15 11:39:56 -07:00
Mikayla da64cd38b1 Clean up implementation of channel index, get simple channel moving test cases working 2023-09-15 11:39:56 -07:00
Mikayla 45dcb28e81 Implement final move, link, unlink db APIs 2023-09-15 11:39:56 -07:00
Mikayla 23b171849b WIP: improve move and link handling around 'root paths', currently very incorrect and in need of a deeper rework 2023-09-15 11:39:56 -07:00
Mikayla 880495362e Improve database and RPC API for moving and linking channels, improve test legibility 2023-09-15 11:39:55 -07:00
Mikayla f61af0bd83 Finish integration tests for channel moving
Refactor channel store to combine the channels_by_id and channel_paths into a 'ChannelIndex'
2023-09-15 11:23:43 -07:00
Mikayla 9799462cf2 WIP: Add channel DAG related RPC messages, change update message 2023-09-15 11:23:12 -07:00
Mikayla 4827cac44a Improve channel deletion to be DAG aware 2023-09-15 11:20:04 -07:00
Mikayla 64c6dedf70 Add removing of previous channel channel, allowing for channel moving operations 2023-09-15 11:20:04 -07:00
Mikayla c4e11878e8 Expand DAG tests to include more complex tree operations and removal behavior 2023-09-15 11:20:04 -07:00
Mikayla d8f242bde3 Add channel linking operation 2023-09-15 11:20:04 -07:00
Mikayla a72f4adfaf Add channel moving test 2023-09-15 11:20:04 -07:00
Max Brunsfeld 60ffa5f9e7 Allow deleting chat messages 2023-09-14 16:29:40 -07:00
Max Brunsfeld 3cb0e69878 Merge branch 'main' into chat-again 2023-09-14 14:50:45 -07:00
Max Brunsfeld e7c9c30c62 Remove dead code for old admin pages 2023-09-13 15:02:59 -07:00
Max Brunsfeld 80a5c0a9f3 Remove channel chat participant when connection is lost 2023-09-11 17:37:05 -07:00
Max Brunsfeld 2a0907805d Rejoin channel chats upon reconnecting 2023-09-11 17:11:33 -07:00
Max Brunsfeld 9f8ad957b6 Restore chat functionality with a very rough UI 2023-09-08 09:59:35 -07:00
Max Brunsfeld 699e14abaf Start work on restoring server-side code for chat messages 2023-09-07 16:32:49 -07:00
Max Brunsfeld 5cbc1e947d Restore channel chat model and panel view 2023-09-07 11:38:27 -07:00
Max Brunsfeld 3ab91aae15 Tolerate channel buffer operations being re-sent 2023-09-06 14:58:25 -07:00
Max Brunsfeld cce2388dd0 Check that channel notes text converges in randomized test 2023-09-06 14:25:07 -07:00
Max Brunsfeld 28a3914ec1 Add basic randomized integration test for channel notes 2023-09-06 14:09:36 -07:00
Max Brunsfeld 15265e427a Extract randomized test infrastructure for use in other tests 2023-09-06 14:08:43 -07:00
Max BrunsfeldandMikayla 578b874f83 Implement clearing stale channel buffer participants on server restart
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-09-05 11:34:24 -07:00
Max Brunsfeld 7010bc8263 Start work on refreshing channel buffer collaborators on server restart 2023-09-01 17:51:00 -07:00
Max Brunsfeld 77bf2ef790 Broadcast new peer ids for rejoined channel collaborators 2023-09-01 17:23:55 -07:00