Commit Graph
1200 Commits
Author SHA1 Message Date
Joseph T. Lyons 5a045efa3e collab 0.28.0 2023-11-01 14:50:29 -04:00
Max Brunsfeld 56448f8444 collab 0.27.0 2023-10-25 17:38:09 +02:00
Mikayla Maki ba82f7fe33 Rename IIFE to maybe (#3165)
Too good of an idea to forget

Release Notes:

- N/A
2023-10-25 17:09:12 +02:00
Joseph T. Lyons 6431265fe5 collab 0.26.0 2023-10-25 16:24:53 +02:00
Mikayla be7e30fbb1 Change from try (reserved keyword) to maybe 2023-10-25 07:10:21 -07:00
Max Brunsfeld ef83a44d32 Remove logic for multiple channel parents (#3162)
This PR simplifies our state management for channels, and logic for
inheriting channel permissions, by removing the ability for channels to
have multiple parent channels.
2023-10-25 15:57:55 +02:00
Max Brunsfeld 0bf3d36ae7 Allow moving channels to the root 2023-10-25 15:50:37 +02:00
Max Brunsfeld 7f767a024c Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
Conrad Irwin 837755b5c7 Fix panic by disallowing multiple room joins (#3149)
Release Notes:

- Fixed panic that could occur when switching channels quickly
2023-10-24 23:57:08 +02:00
Conrad Irwin 38a00ade0f Fix extra race 2023-10-24 18:54:55 +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
Max Brunsfeld dd85f6448f Guest roles (#3140)
Release Notes:

- Added a "guest" role to channels, and made that the default when a new
user joins a public channel.
2023-10-24 17:29:14 +02:00
Kirill Bulatov ab12b3c6e1 Rework prettier tests
Do not infuse `FakeNodeRuntime` with prettier exceptions, rather keep
the default formatter installation method as no-op.
2023-10-24 14:25:46 +02:00
Conrad Irwin 4d7cc2649e fix format 2023-10-24 11:17:17 +02:00
Conrad Irwin 14590458c3 Fix set_channel_visibility for public channels 2023-10-24 10:55:10 +02:00
Conrad Irwin ff1894c6c4 Fix tests 2023-10-24 09:46:46 +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 5d1e917401 Merge branch 'main' into notifications 2023-10-22 12:25:30 +02:00
Max Brunsfeld e879c28daf Mark contact acceptance notifications as read automatically 2023-10-22 12:22:47 +02:00
Max Brunsfeld cee43e1a60 Mark chat mention notifications as read when viewing the message 2023-10-22 11:57:10 +02:00
Mikayla 9c48d81c01 Finish room initialization concurrency test 2023-10-21 03:15:18 -07:00
Mikayla a798fd4a32 WIP: Add test for panic, temporarily rollback synchronization changes 2023-10-21 03:05:57 -07:00
Kirill Bulatov fb3932aa57 Move prettier parsers data into languages from LSP adapters 2023-10-21 01:14:03 +02:00
Conrad Irwin ec356978a3 Wire through LiveKit permissions 2023-10-19 23:23:33 -06:00
Conrad Irwin de6e3d8e10 Fix notifications for membership changes too 2023-10-19 23:05:06 -06:00
Max Brunsfeld 5b0fa47a7f Rename NewNotification proto message to AddNotification 2023-10-19 13:29:14 -07:00
Max Brunsfeld d461c7eb43 Index notifications to allow faster lookup by kind, entity id 2023-10-19 13:03:27 -07:00
Max Brunsfeld b938e8bbad Fix filtering when providing non-admins info about channel members 2023-10-19 12:54:47 -07:00
Max Brunsfeld e7f43c9e6b Navigate to chat messages when clicking them in the notification panel 2023-10-19 12:31:45 -07:00
Conrad Irwin db582b776b Add read-only channel notes support
Fix some bugs where ChannelNotes and ChannelChat had old cached channel
instances
2023-10-19 13:20:49 -06:00
Max BrunsfeldandPiotr 9449d46b70 Create notifications for mentioned users
Co-authored-by: Piotr <piotr@zed.dev>
2023-10-19 10:52:40 -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 07e0674f68 Fix compile error in db seed executable 2023-10-18 18:05:51 -07:00
Max Brunsfeld f0434bfebc Fix possibility of extra mention insertion on nonce collision 2023-10-18 18:04:56 -07: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
Conrad Irwin 8d9c9c16d4 Fix notifications on channel changes 2023-10-18 15:56:33 -06:00
Joseph T. Lyons b4911dcea8 collab 0.25.0 2023-10-18 13:17:17 -04: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
Conrad Irwin c339356343 Allow guests to chat 2023-10-17 19:03:02 -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
Conrad Irwin 9cbc8b8095 Make sure guests join as guests 2023-10-17 15:40:23 -06:00
Conrad Irwin 5240eb08f9 update sidebar for public channels 2023-10-17 13:30:09 -06:00
Max Brunsfeld 9ed0e5fdd9 Add notifications integration test 2023-10-17 11:21:38 -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
Conrad Irwin 29b1d0ad13 Temporarily join public channels as a member 2023-10-17 10:29:43 -06:00
Conrad Irwin cab542114e Fix some tests 2023-10-17 10:15:20 -06:00