Commit Graph

2067 Commits

Author SHA1 Message Date
Half-Shot
5a5c1bedfe Major refactor to support various state problems. 2024-10-29 16:19:01 +00:00
Half-Shot
cd73ad8794 Prevent infinite loop 2024-10-29 15:19:16 +00:00
Half-Shot
528e692d6b Handle cases when a new member event happens. 2024-10-29 15:08:59 +00:00
Half-Shot
0b6cf18d22 Drop border from raised hand icon 2024-10-29 13:17:33 +00:00
Half-Shot
e1a4310e29 Add preferences tab for choosing to enable timer. 2024-10-29 13:13:01 +00:00
Half-Shot
dbabf45ca7 Allow timer to be configurable. 2024-10-29 13:12:20 +00:00
Half-Shot
f13bd7923b Fix and update tests 2024-10-29 09:45:30 +00:00
Half-Shot
23d849bd9a lint 2024-10-29 09:35:10 +00:00
Half-Shot
b7e82362b8 Fix call border resizing video 2024-10-29 09:28:42 +00:00
Half-Shot
07d345191b Fix timestamp calculation on relaod. 2024-10-28 22:24:20 +00:00
Half-Shot
198859db08 Add a small mode for spotlight 2024-10-28 22:24:11 +00:00
Robin
0784a30ef0 Update the strings on the join as guest screen
Hugh pointed out that the button labeled "Join call now" on this screen is misleading, because it does not join you to the call but rather send you to the lobby. Meanwhile, the designs call for this screen to use the words "Join as guest" and "Continue", so let's go with that.
2024-10-28 15:59:53 -04:00
Robin
d2aa6d561f Hide the 'profile' menu option in widget mode
The profile settings tab is non-functional in widget mode so we need to hide its other points of entry.
2024-10-28 15:15:02 -04:00
Robin
0ec56014c3 Remove duplicate media devices from the list
Somehow on my system Firefox always manages to create multiple entries for my webcam. This was an easy enough thing to fix.
2024-10-28 15:02:01 -04:00
Half-Shot
33724efee3 Add better sound. (woosh) 2024-10-28 18:00:39 +00:00
Half-Shot
38878d3ee8 Remove extra layer 2024-10-28 17:45:12 +00:00
Half-Shot
9d01e8c129 Lint tests 2024-10-28 17:44:17 +00:00
Half-Shot
ba921f8c67 Tidy up useEffect 2024-10-28 16:23:17 +00:00
Half-Shot
4a712dcaa2 Redact the right thing. 2024-10-28 16:11:28 +00:00
Half-Shot
4501e670b2 Refactor into own files. 2024-10-28 15:57:55 +00:00
Half-Shot
43b4fc0a0c lint 2024-10-28 12:46:26 +00:00
Half-Shot
a23d256fb6 Refactor raised hand indicator and add tests. 2024-10-28 12:32:33 +00:00
Robin
551c3f4104 Add config options for starting with audio and video enabled 2024-10-27 21:47:13 -04:00
Half-Shot
7f268a3e10 Add a sound for when a hand is raised. 2024-10-25 17:10:14 +01:00
Half-Shot
1c8e547b9a Add support for displaying the duration of a raised hand. 2024-10-25 17:09:45 +01:00
Half-Shot
16afb568fd Center align hand raise. 2024-10-25 11:37:40 +01:00
Robin
339a98d1e1 Don't cause the local tile to disappear when joining
Before you're connected to the SFU the local participant object will have the empty string as its ID. This changes to your actual ID once you've connected. Apparently I tried to fix this by forcing the local ID to always be the string 'local' but then I just forgot to use it correctly :)
2024-10-24 17:20:56 -04:00
Robin
d901045e55 Address review comments 2024-10-22 17:23:40 -04:00
Robin
0c6e53cda4 Make the volume slider less silly
Previously, dragging it all the way to the left would *not* mute the participant but rather bottom out at 10% volume, and people have found this unintuitive. Let's make it less silly by giving the slider a range of 0% to 100%, and making the mute toggle button have the same effect as dragging the slider to zero. When unmuting, it will reset to the last non-zero "committed" volume, similar to how the volume sliders in desktop environments work.
2024-10-18 17:51:37 -04:00
Hugh Nimmo-Smith
8a84c6c45e Use non-deprecated method of re-processing MatrixRTCSession keys (#2646)
* Handle case of encryption key for an index to be undefined

As per https://github.com/matrix-org/matrix-js-sdk/pull/4423 the key can be undefined and so we should handle this rather than waiting for SubtleCrypto.importKey() to fail.

* Use release version of matrix-js-sdk

Diff is baa6d13506...v34.7.0

* Use RTCSession. reemitEncryptionKeys()

* Add some test coverage whilst we are here

* Add some test coverage whilst we are here

* Lint
2024-10-11 11:34:45 -04:00
Hugh Nimmo-Smith
8272c54177 Set LiveKit keyring size to 256 (#2660) 2024-10-10 10:34:38 +01:00
Timo
d7b06760ad Test useTheme hook (#2625)
* Test useTheme hook
2024-09-24 22:15:16 +02:00
Hugh Nimmo-Smith
ed35d6b377 Posthog improvements (#2630) 2024-09-23 14:35:41 +01:00
Hugh Nimmo-Smith
d14b43487a Intercept matrix_sdk logging via console and include in rageshake (#2623)
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
2024-09-23 14:35:10 +01:00
Robin
8b3c94b120 Make the links on the log in page visually consistent
Timo was totally right in his previous review of my typography component work that these didn't have the right styling. I just didn't notice!
2024-09-19 12:09:14 -04:00
Milton Moura
42a7b1ec2a Fix failing GridTile test
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-09-19 11:59:06 +01:00
Milton Moura
69a50fb2a8 Check for reaction & redaction capabilities in widget mode
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-09-19 11:40:46 +01:00
Milton Moura
7ac5642245 Removing RaiseHand.svg 2024-09-19 11:39:52 +01:00
Milton Moura
ab5654cf32 Links to sha commit of matrix-js-sdk that exposes the call membership event id and refactors some async code
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-09-19 11:39:52 +01:00
Milton Moura
0730ba5c70 Use relations to load existing reactions when joining the call
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-09-19 11:36:11 +01:00
fkwp
bcad5003e7 Update src/room/useRaisedHands.tsx
Element Call recently changed to AGPL-3.0
2024-09-19 11:36:11 +01:00
Milton Moura
ac7321d1e6 SpotlightTile should not duplicate the raised hand
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-09-19 11:36:11 +01:00
Milton Moura
f6ae6a0765 Replacing button svg with raised hand emoji
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-09-19 11:35:05 +01:00
Milton Moura
2d1917c22a Refactored to use reaction and redaction events
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-09-19 11:35:05 +01:00
Milton Moura
48cf487e0a Initial support for Hand Raise feature
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-09-19 11:35:05 +01:00
Robin
4aab6cfe4e Leave an open question about whether to move test utils 2024-09-18 23:10:30 -04:00
Robin
25193f467a Factor out repeated event emitter mocks 2024-09-18 23:05:31 -04:00
Robin
156f1e3a10 Merge branch 'livekit' into test-call-vm 2024-09-18 22:37:15 -04:00
Half-Shot
c19645c710 consts 2024-09-18 10:10:29 +01:00
Half-Shot
7e5a8b8feb Retry a join on invite if the response was M_FORBIDDEN 2024-09-18 10:08:03 +01:00