Antonio Scandurra
33eee3003f
Check room invariants in Store::check_invariants
2022-10-05 16:29:22 +02:00
Antonio Scandurra
7c4051e642
Enhance integration test to verify creating rooms while busy
2022-10-05 16:20:01 +02:00
Antonio Scandurra
abad8199ee
Add integration test verifying calls to busy users
2022-10-05 16:14:40 +02:00
Antonio Scandurra
8d591c6ab1
Allow following users into external projects
2022-10-05 15:32:55 +02:00
Antonio Scandurra
360b75f5f7
Move logic for joining project into a global action in collab_ui
2022-10-05 15:04:03 +02:00
Antonio Scandurra
bca261ef76
Set room location when active workspace changes
2022-10-05 15:03:40 +02:00
Antonio Scandurra
b8005ca30d
Set room only after project has been shared to avoid flicker
2022-10-05 11:19:44 +02:00
Antonio Scandurra
06ab1095a1
Always open project when added to a call via the + button
2022-10-05 11:01:28 +02:00
Antonio Scandurra
4ae097e515
Use AppContext instead of MutableAppContext for ActiveCall::global
2022-10-05 10:51:51 +02:00
Antonio Scandurra and Max Brunsfeld
d60225f118
Automatically share project when creating the room
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-10-04 19:25:48 +02:00
Antonio Scandurra and Max Brunsfeld
12511d3e5e
Don't show share button for remote projects
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-10-04 18:35:54 +02:00
Antonio Scandurra
7ac25fa0a9
Re-emit notifications and events from ActiveCall
...
This lets us only observe and subscribe to the active call without
needing to track the underlying `Room` if it changes, which implies
writing the same boilerplate over and over.
2022-10-04 18:15:56 +02:00
Antonio Scandurra
212a83ba85
Simplify Collaborator to stop including the user
...
It can be retrieved from the `Room` and we're guaranteed to have
a room in order to have collaborators in a project.
2022-10-04 18:00:54 +02:00
Antonio Scandurra
cc8f7e188c
Show notification when a new project is shared and allow joining it
2022-10-04 16:55:41 +02:00
Antonio Scandurra
1021f51bf8
Show Share button for unshared projects when inside of a room
2022-10-04 15:56:20 +02:00
Antonio Scandurra
66d211f378
Use a different style for inactive participants
2022-10-04 15:06:20 +02:00
Antonio Scandurra
396fc03fff
Implement Room::set_location
2022-10-04 11:46:01 +02:00
Antonio Scandurra
32dcfcb580
Emit event on Room when a user shares a new project
2022-10-03 17:12:07 +02:00
Antonio Scandurra
a51b32b51f
Automatically fetch remote participant users in Room
2022-10-03 16:09:49 +02:00
Antonio Scandurra
48129ae74f
Prevent calls from users who aren't contacts
2022-10-03 15:54:20 +02:00
Antonio Scandurra
1387ab407e
Fix randomized integration test failure
2022-10-03 15:50:47 +02:00
Antonio Scandurra
bbe6bf0d96
Adapt integration tests to always pass a room id to Project::share
...
Randomized test is failing, so we'll look into that next.
2022-10-03 15:44:11 +02:00
Antonio Scandurra
b05063b8a1
WIP: require sharing projects on a given Room
2022-09-30 18:21:47 +02:00
Antonio Scandurra
9d6f15cb60
Rip out project registration and use sharing/unsharing instead
2022-09-30 12:23:57 +02:00
Antonio Scandurra
0b6390b1a2
Remove project join requests
2022-09-30 11:35:50 +02:00
Antonio Scandurra and Nathan Sobo
5cf6e0728c
Remove projects from contact updates
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-29 19:40:36 +02:00
Antonio Scandurra and Nathan Sobo
100249e196
Encapsulate Room interaction within ActiveCall
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-29 17:39:53 +02:00
Antonio Scandurra and Nathan Sobo
ccea160994
Rename room crate to call
...
Also, rename `client::Call` to `client::IncomingCall`.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-29 17:24:31 +02:00
Antonio Scandurra
366c7ac5d6
Wire up accepting/declining a call
2022-09-29 15:33:33 +02:00
Antonio Scandurra
55e22d331c
Avoid using global for Room and extract that logic into ActiveCall
2022-09-29 10:48:51 +02:00
Antonio Scandurra and Nathan Sobo
913ba66cae
WIP: Start on ActiveCall
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-28 19:50:13 +02:00
Antonio Scandurra and Nathan Sobo
06716d447f
Open popup window when receiving a call
...
We still need to style and allow people to accept the call but this
is a good starting point.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-28 19:35:24 +02:00
Antonio Scandurra and Nathan Sobo
1a2b18d9aa
Rename collab_titlebar_item crate to collab_ui
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-28 19:14:31 +02:00
Nathan Sobo and Antonio Scandurra
f3c58bd213
Start a call when clicking on a contact in the contacts popover
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2022-09-28 11:02:26 -06:00
Nathan Sobo and Antonio Scandurra
8c854e51a8
Rename AddParticipantPopover to ContactsPopover
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2022-09-28 09:10:01 -06:00
Nathan Sobo and Antonio Scandurra
444d92870d
Remove contacts menu bar extra
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2022-09-28 09:06:28 -06:00
2af7f27c3f
Remove current user from contacts
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2022-09-28 11:33:38 +02:00
Antonio Scandurra
c25c26aa97
WIP: Start moving contacts panel into "add participants" popover
2022-09-28 11:33:38 +02:00
Antonio Scandurra
73b5d91b5c
Add active style when participant popover is open
2022-09-28 11:33:38 +02:00
Antonio Scandurra
1af9f9eb3d
Show add participant popover on click
2022-09-28 11:33:38 +02:00
Antonio Scandurra
77d5639245
Rename contacts_titlebar_item to collab_titlebar_item
2022-09-28 11:33:38 +02:00
Antonio Scandurra
adf918d947
Introduce a + button in the titlebar
2022-09-28 11:33:38 +02:00
Antonio Scandurra
65e3454947
Extract contacts titlebar item into a separate crate
...
This allows us to implement a new contacts popover that uses the
`editor` crate.
2022-09-28 11:33:38 +02:00
Antonio Scandurra and Nathan Sobo
8bbbc1a5d1
Ring users upon connection if somebody was calling them before connecting
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-28 11:33:38 +02:00
Antonio Scandurra and Nathan Sobo
37bc45201d
Leave room automatically on disconnection
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-09-28 11:33:38 +02:00
Antonio Scandurra
2b940ee565
Remove projects from basic calls test for now
2022-09-28 11:33:38 +02:00
Antonio Scandurra
d45d67a20b
Leave room when Room entity is dropped
2022-09-28 11:33:38 +02:00
Antonio Scandurra
ca78ee9918
Always rely on the server to cancel the incoming call
2022-09-28 11:33:38 +02:00
Antonio Scandurra
0f4fa65e35
💄
2022-09-28 11:33:38 +02:00
Antonio Scandurra
87187cb7e2
Introduce the ability of declining calls
2022-09-28 11:33:38 +02:00