Mikayla and Max
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
Joseph T. Lyons
98d8ed590d
collab 0.22.0
2023-09-20 13:59:36 -04: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
d9df8ed631
Provide an admin REST API for use by zed.dev ( #2962 )
...
We're using [PostgREST](https://hub.docker.com/r/postgrest/postgrest )
Todo:
* [x] Add instructions for installing postgrest to local development
docs
* [x] Deploy to staging
* [x] Deploy to production
* [x] Add DNS record for `admin-staging.zed.dev` pointing to the staging
db
* [x] Add a DNS record for `admin.zed.dev` pointing to the production db
2023-09-14 13:48:54 -07:00
Max Brunsfeld
e7c9c30c62
Remove dead code for old admin pages
2023-09-13 15:02:59 -07:00
Max Brunsfeld and Mikayla
d959ba3c9f
Run postgrest as part of foreman
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-09-13 12:32:15 -07:00
Max Brunsfeld and Mikayla
272ca83ce9
Use PostgREST instead of pgAdmin
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-09-13 11:47:20 -07:00
Joseph T. Lyons
659aa6cc9f
collab 0.21.0
2023-09-13 13:34:08 -04:00
Max Brunsfeld
f6749079cd
Get pgadmin loading the passfile
2023-09-13 10:05:13 -07:00
Max Brunsfeld and Mikayla
87a1c31f3d
Start work on deploying pgAdmin to k8s cluster
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-09-12 21:06:43 -07:00
Max Brunsfeld and Mikayla
943895b416
Retrieve load balancer certificate id from DigitalOcean on each deploy
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-09-12 21:04: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
23896b4979
Rejoin channel notes after brief connection loss ( #2930 )
...
* [x] Re-send operations that weren't sent while disconnected
* [x] Apply other clients' operations that were missed while
disconnected
* [x] Update collaborators that joined / left while disconnected
* [x] Inform current collaborators that your peer id has changed
* [x] Refresh channel buffer collaborators on server restart
* [x] randomized test
2023-09-06 15:11:21 -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
Joseph T. Lyons
97eb1d43cb
collab 0.20.0
2023-09-06 13:33:39 -04:00
Max Brunsfeld and Mikayla
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
Max Brunsfeld
977b734848
Start work on rejoining channel buffers
2023-09-01 16:52:12 -07:00
Max Brunsfeld
fe943bc46b
Remove local timestamps from CRDT operations
...
Use lamport timestamps for everything.
2023-08-31 16:23:06 -07:00
Kirill Bulatov
c36367d2e4
Rewrite inlay hint collab tests to remove races
2023-08-31 00:37:00 +03:00