Commit Graph
1114 Commits
Author SHA1 Message Date
Kirill Bulatov 2c9ee7814d Add prettier support (#3122) 2023-10-12 17:13:10 +03:00
Kirill Bulatov 222bb37da6 Add more tests 2023-10-12 15:14:51 +03:00
Joseph T. Lyons b8ce16874e collab 0.24.0 2023-10-11 13:51:01 -04:00
Kirill Bulatov ca0c508c1d Rebase fixes 2023-10-11 12:56:29 +03:00
Kirill Bulatov a7f42aa29e Slightly better prettier settings and discovery 2023-10-11 12:56:29 +03:00
Kirill Bulatov a92b61844a Make NodeRuntime non-static for prettier runner 2023-10-11 12:56:29 +03:00
Mikayla 66fad069b4 Rename release channel to enviroment 2023-10-10 13:23:03 -07:00
6912545774 Update channel rooms to be ephemeral
Remove redundant live kit initialization code
Fix bug in recent channel links changes where channel rooms would have the incorrect release set

co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
co-authored-by: Max <max@zed.dev>
2023-10-10 12:39:16 -07:00
Conrad Irwin 36c95ae516 Merge branch 'main' into links 2023-10-09 20:08:48 -06:00
Max Brunsfeld a41791a817 Add failing test for switching leaders in a pane 2023-10-09 13:30:14 -07:00
Conrad Irwin 928230ecb2 Only allow one release channel in a call 2023-10-09 12:59:18 -06:00
Max Brunsfeld a829cd1f89 Remove workspace -> channel dependency 2023-10-06 14:19:25 -07:00
Max Brunsfeld 4999dc0a92 collab 0.23.3 2023-10-06 11:25:46 -07:00
Max Brunsfeld 698a7eb32c Fix error in query for last N channel messages 2023-10-06 10:58:34 -07:00
Max Brunsfeld 4cdf8a6fd7 collab 0.23.2 2023-10-05 16:06:28 -07:00
Max Brunsfeld d480074555 Fix bugs in handling mutual following
* Propagate all of leader's views to a new follower, even if those views
  were originally created by that follower.
* Propagate active view changes to followers, even if the active view is
  following that follower.
* Avoid redundant active view updates on the client.
2023-10-05 13:28:46 -07:00
Max Brunsfeld 707f3ec403 collab 0.23.1 2023-10-04 15:12:17 -07:00
Max Brunsfeld 1967d3cddb Ensure chat messages are retrieved in order of id 2023-10-04 14:43:53 -07:00
Joseph T. Lyons 0c4b4276f2 collab 0.23.0 2023-10-04 15:01:38 -04:00
Mikaylaandmax 2417284d20 Add an RPC handler for channel buffer acks
co-authored-by: max <max@zed.dev>
2023-10-04 11:47:13 -07:00
Mikayla 2f82357b29 Fix channel messages test 2023-10-04 10:13:02 -07:00
Mikayla 6f21c99e95 Fix most tests for new chat changes 2023-10-03 20:50:17 -07:00
MikaylaandConrad f4dbf3dc0f Fix unit test
co-authored-by: Conrad <conrad.irwin@gmail.com>
2023-10-03 20:03:57 -07:00
Max Brunsfeld 6f6460a858 Merge branch 'main' into channel-changes 2023-10-03 17:52:28 -07:00
Max BrunsfeldandMikayla d2ca5522f5 Acknowledge channel notes and chat changes when views are active
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-03 17:40:10 -07:00
Max BrunsfeldandMikayla a6eaeed919 Specify uuid crate in the root Cargo.toml
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-03 17:39:24 -07:00
MikaylaandMax 8052372c7c Upgrade SeaORM to latest version, also upgrade sqlite bindings, rustqlite, and remove SeaQuery
co-authored-by: Max <max@zed.dev>
2023-10-03 12:16:53 -07:00
MikaylaandMax dd375d1d4e Added db message and edit operation observation
Co-authored-by: Max <max@zed.dev>
2023-10-03 11:39:59 -07:00
Max BrunsfeldandMikayla 2305497209 Avoid N+1 query for channels with new messages
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-02 16:22:28 -07:00
Max BrunsfeldandMikayla 2e8040aeda Avoid N+1 query for channels with notes changes
Also, start work on new timing for recording observed notes edits.

Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-02 15:58:34 -07:00
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
Mikayla 03777676aa Implement channel changes for messages 2023-10-01 22:32:11 -07:00
Mikayla ec0d8fe1ba Add database implementation of channel message change tracking 2023-10-01 22:32:11 -07:00
Mikayla 30ae808ce1 Add channel note indicator and clear changed status 2023-10-01 22:32:10 -07:00
Mikayla 2a02ec0b87 Channel notifications from the server works 2023-10-01 22:30:21 -07:00
Mikayla 09289bb995 Add observed_channel_notes table and implement note diffing 2023-10-01 22:26:27 -07: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
Max Brunsfeld 694ad1b675 collab 0.22.1 2023-09-20 17:39:21 -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