Commit Graph
461 Commits
Author SHA1 Message Date
Max Brunsfeld 00432b613d Bump RPC version for channels + notifications changes 2023-10-25 17:37:14 +02:00
Max Brunsfeld 7f767a024c Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
e3864cb084 Remove logic for multiple channel parents
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Kyle <kyle@zed.dev>
Co-authored-by: Joseph <joseph@zed.dev>
2023-10-24 17:29:23 +02:00
Conrad Irwin 416c049767 Merge branch 'main' into guest-exp 2023-10-23 17:47:21 +02:00
Max Brunsfeld ab38098989 Load more notifications when scrolling down 2023-10-22 17:10:21 +02:00
Max Brunsfeld e879c28daf Mark contact acceptance notifications as read automatically 2023-10-22 12:22:47 +02:00
Conrad Irwin ec356978a3 Wire through LiveKit permissions 2023-10-19 23:23:33 -06:00
Max Brunsfeld 5b0fa47a7f Rename NewNotification proto message to AddNotification 2023-10-19 13:29:14 -07:00
Conrad Irwin 331d334bae Refactor to avoid some (mostly hypothetical) races
Tidy up added code to reduce duplicity of X and X_internals.
2023-10-18 21:42:10 -06:00
Max Brunsfeld 256ef99284 Merge branch 'main' into notifications 2023-10-18 17:20:04 -07:00
Max Brunsfeld d286c4441d Persist chat mentions 2023-10-18 16:56:03 -07:00
Mikayla 77da29e4a9 Restrict DAG-related functionality, but retain infrastructure for implementing symlinks 2023-10-18 05:28:05 -07:00
Conrad Irwin 4d5b7e32a1 Sync Role as part of channels
Begin to fix guest notifications
2023-10-17 22:48:44 -06:00
Max Brunsfeld 1b89d99654 Start work on chat mentions 2023-10-17 17:59:42 -07:00
Max Brunsfeld a42661780e Fix more issues with the channels panel
* Put the newest notifications at the top
* Have at most 1 notification toast, which is non-interactive,
  but focuses the notification panel on click, and auto-dismisses
  on a timer.
2023-10-17 15:43:06 -07:00
Max Brunsfeld c618af92cd Generalize notifications' actor id to entity id
This way, we can retrieve channel invite notifications when
responding to the invites.
2023-10-17 10:34:50 -07:00
Max Brunsfeld f8e8340b84 Display invite response buttons inline in notification panel 2023-10-17 09:12:55 -07:00
Conrad Irwin 9029a2807b Merge branch 'main' into guests 2023-10-17 09:54:17 -06:00
Max Brunsfeld c4d8fb39af Simplify notification serialization 2023-10-13 16:09:46 -07:00
Max Brunsfeld 497907ea4c Remove contact notifications when cancelling a contact request 2023-10-13 16:09:46 -07:00
Conrad Irwin a4e960f73a Wire through public access toggle 2023-10-13 16:59:30 -06:00
Max Brunsfeld b7207c5533 Merge branch 'main' into notifications 2023-10-13 11:31:53 -07:00
Max Brunsfeld 66fa04eef9 Bump protocol version 2023-10-13 11:23:39 -07:00
Max Brunsfeld fb4b3bb4c1 Connect notification panel to notification toasts 2023-10-13 11:21:45 -07:00
Conrad Irwin ca7a6064a8 Add check_is_channel_participant
Refactor permission checks to load ancestor permissions into memory
for all checks to make the different logics more explicit.
2023-10-12 19:59:50 -06:00
Max Brunsfeld 6f3ea55c7a Remove old contact request notification mechanism, use notification instead 2023-10-12 17:42:32 -07:00
Max Brunsfeld be1b3b38d5 Make notification db representation more flexible 2023-10-12 17:42:32 -07:00
Max Brunsfeld 1d0710a937 Fix use statement order 2023-10-12 17:41:09 -07:00
Max Brunsfeld 7d663b7290 Start work on notification panel 2023-10-12 17:41:09 -07:00
Max Brunsfeld a033f0ac42 Add notification doc comments 2023-10-12 17:41:09 -07:00
Max Brunsfeld 3fd65b596a Start work on storing notifications in the database 2023-10-12 17:41:07 -07:00
Mikayla 76321cddd4 Add channel visibility columns and protos 2023-10-12 12:21:41 -07:00
Conrad Irwin 03dd4b5be8 Push role refactoring through RPC/client 2023-10-12 13:05:54 -06:00
Julia 24233511f1 Enable completion menu to resolve documentation when guest 2023-10-10 00:16:15 -04: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
Mikayla 10496fabf5 Add message and operation ACK messages to protos 2023-10-02 17:10:03 -07:00
Mikayla 03777676aa Implement channel changes for messages 2023-10-01 22:32:11 -07:00
Mikayla 2a02ec0b87 Channel notifications from the server works 2023-10-01 22:30:21 -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 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 c8fee1d696 Make project id optional when following - server only 2023-09-21 13:14:15 -07: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 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 880495362e Improve database and RPC API for moving and linking channels, improve test legibility 2023-09-15 11:39:55 -07:00
Mikayla 4bf3ac9c41 Render the DAG 2023-09-15 11:28:34 -07:00
Mikayla 9799462cf2 WIP: Add channel DAG related RPC messages, change update message 2023-09-15 11:23:12 -07:00
Max Brunsfeld 18882a4fb6 Bump protocol version 2023-09-14 18:39:31 -07:00
Max Brunsfeld 60ffa5f9e7 Allow deleting chat messages 2023-09-14 16:29:40 -07:00