Commit Graph

4831 Commits

Author SHA1 Message Date
Milton Moura
1897210a60
Hand raise feature (#2542)
* Initial support for Hand Raise feature

Signed-off-by: Milton Moura <miltonmoura@gmail.com>

* Refactored to use reaction and redaction events

Signed-off-by: Milton Moura <miltonmoura@gmail.com>

* Replacing button svg with raised hand emoji

Signed-off-by: Milton Moura <miltonmoura@gmail.com>

* SpotlightTile should not duplicate the raised hand

Signed-off-by: Milton Moura <miltonmoura@gmail.com>

* Update src/room/useRaisedHands.tsx

Element Call recently changed to AGPL-3.0

* Use relations to load existing reactions when joining the call

Signed-off-by: Milton Moura <miltonmoura@gmail.com>

* 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>

* Removing RaiseHand.svg

* Check for reaction & redaction capabilities in widget mode

Signed-off-by: Milton Moura <miltonmoura@gmail.com>

* Fix failing GridTile test

Signed-off-by: Milton Moura <miltonmoura@gmail.com>

* Center align hand raise.

* Add support for displaying the duration of a raised hand.

* Add a sound for when a hand is raised.

* Refactor raised hand indicator and add tests.

* lint

* Refactor into own files.

* Redact the right thing.

* Tidy up useEffect

* Lint tests

* Remove extra layer

* Add better sound. (woosh)

* Add a small mode for spotlight

* Fix timestamp calculation on relaod.

* Fix call border resizing video

* lint

* Fix and update tests

* Allow timer to be configurable.

* Add preferences tab for choosing to enable timer.

* Drop border from raised hand icon

* Handle cases when a new member event happens.

* Prevent infinite loop

* Major refactor to support various state problems.

* Tidy up and finish test rewrites

* Add some explanation comments.

* Even more comments.

* Use proper duration formatter

* Remove rerender

* Fix redactions not working because they pick up events in transit.

* More tidying

* Use deferred value

* linting

* Add tests for cases where we got a reaction from someone else.

* Be even less brittle.

* Transpose border to GridTile.

* lint

---------

Signed-off-by: Milton Moura <miltonmoura@gmail.com>
Co-authored-by: fkwp <fkwp@users.noreply.github.com>
Co-authored-by: Half-Shot <will@half-shot.uk>
Co-authored-by: Will Hunt <github@half-shot.uk>
2024-11-04 09:54:13 +00:00
Hugh Nimmo-Smith
f2ed07c258
Refactor to make encryption system available in view models (#2702) 2024-11-04 09:11:44 +00:00
Robin
19c4696a0d
Merge pull request #2692 from robintown/hide-profile
Hide the 'profile' menu option in widget mode
2024-11-02 18:37:45 -04:00
Robin
b3441ed4a0
Merge pull request #2711 from robintown/lobby-unmirror
Don't mirror rear-facing cameras in the lobby
2024-11-02 18:26:31 -04:00
Robin
7b0bdd320a Don't mirror rear-facing cameras in the lobby 2024-11-01 17:26:45 -04:00
Robin
c9cf7aa7db
Merge pull request #2709 from robintown/app-prompt-config
Add a config option to disable the app prompt
2024-11-01 17:05:09 -04:00
Robin
8f8e2b42e1
Merge pull request #2694 from robintown/switch-camera
Add a button to switch the camera on mobile
2024-11-01 17:04:36 -04:00
Robin
7ad70064a3 Add a config option to disable the app prompt 2024-11-01 16:57:48 -04:00
Robin
8c0280954c Add a button to switch the camera on mobile 2024-11-01 16:00:34 -04:00
Robin
42be187182 Explain why speaking indicators are hidden 2024-11-01 11:25:55 -04:00
Robin
90681b16e0
Merge pull request #2705 from element-hq/renovate/github-actions
Update GitHub Actions
2024-10-31 21:37:37 -04:00
renovate[bot]
05b06ce3e2
Update GitHub Actions 2024-11-01 01:16:40 +00:00
fkwp
39a451e764
Merge pull request #2704 from element-hq/renovate/livekit-client
Update dependency livekit-client to v2.6.0
2024-10-31 23:23:03 +01:00
renovate[bot]
592ed1f0cf
Update dependency livekit-client to v2.6.0 2024-10-31 22:19:15 +00:00
Robin
ef320636e2
Merge pull request #2661 from element-hq/renovate/eslint-plugin-unicorn-56.x
Update dependency eslint-plugin-unicorn to v56
2024-10-30 10:29:47 -04:00
renovate[bot]
9fa7bf976f
Update dependency eslint-plugin-unicorn to v56 2024-10-30 14:27:38 +00:00
Robin
a38862b0b9
Merge pull request #2682 from element-hq/renovate/all-minor-patch
Update all non-major dependencies
2024-10-30 10:26:19 -04:00
renovate[bot]
823ffd96b3
Update all non-major dependencies 2024-10-30 13:52:21 +00:00
Robin
0d45c25eb8
Merge pull request #2693 from robintown/join-guest-strings
Update the strings on the join as guest screen
2024-10-29 20:49:46 -04: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
e06aaf6fd4
Merge pull request #2691 from robintown/duplicate-devices
Remove duplicate media devices from the list
2024-10-28 15:05:47 -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
Robin
3a706ea3e0 Show speaking indicators in spotlight during screen sharing 2024-10-28 14:45:06 -04:00
Robin
7edc8af9a0
Merge pull request #2687 from robintown/media-devices-config
Add config options for starting with audio and video enabled
2024-10-28 09:08:04 -04:00
Robin
551c3f4104 Add config options for starting with audio and video enabled 2024-10-27 21:47:13 -04:00
Robin
5907bf7c33
Merge pull request #2662 from element-hq/renovate/compound
Update Compound
2024-10-25 12:27:32 -04:00
Hugh Nimmo-Smith
d8bbd93294
Bump js-sdk for MatrixRTC fixes (#2688)
Full diff https://github.com/matrix-org/matrix-js-sdk/compare/v34.7.0...0a29063bc9e61ee70ca43820d4bb91f6a27f1237

Relevant PRs included:

- Do not rotate MatrixRTC media encryption key when a new member joins a session #4472
- Refactor/simplify Promises in MatrixRTCSession #4466
- Prepare delayed call leave events more reliably #4447
- Fix DelayedEventInfo type #4446
- Fix MatrixRTC sender key wrapping #4441
2024-10-25 17:23:34 +01:00
Robin
bb95d9e414
Merge pull request #2686 from robintown/keep-local-tile
Don't cause the local tile to disappear when joining
2024-10-25 08:22:37 -04: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
fkwp
fbf754972b
Merge pull request #2685 from element-hq/renovate/livekit-client
Update dependency livekit-client to v2.5.10
2024-10-24 09:01:21 +02:00
renovate[bot]
7974c04dd9
Update dependency livekit-client to v2.5.10 2024-10-24 06:58:57 +00:00
Robin
a4faafb3e0
Merge pull request #2681 from robintown/volume-slider
Make the volume slider less silly
2024-10-22 17:25:18 -04:00
Robin
d901045e55 Address review comments 2024-10-22 17:23:40 -04:00
renovate[bot]
5aba2a00a5
Update Compound 2024-10-22 19:25:12 +00:00
fkwp
33401171a8
Merge pull request #2684 from element-hq/renovate/livekit-components
Update LiveKit components
2024-10-22 21:24:33 +02:00
renovate[bot]
480b62a5d8
Update LiveKit components 2024-10-22 19:16:22 +00: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
Robin
bfe6da6be7
Merge pull request #2680 from robintown/disable-codecov-annotations
Disable Codecov annotations
2024-10-18 17:01:48 -04:00
Robin
250291315e Disable Codecov annotations
Don't mark up the diffs on PRs with warnings about untested lines; we're not aiming for 100% test coverage and they just get in the way of reviewing.
2024-10-18 16:39:02 -04:00
Robin
75c7516f0a
Merge pull request #2673 from element-hq/renovate/all-minor-patch
Update all non-major dependencies
2024-10-17 15:54:21 -04:00
renovate[bot]
d1570466d2
Update all non-major dependencies 2024-10-17 19:15:31 +00:00
Andrew Ferrazzutti
6094627d8d
Fix typo in example config (#2679) 2024-10-17 15:14:12 -04:00
fkwp
d252b0a06b
Merge pull request #2676 from element-hq/renovate/livekit-client
Update dependency livekit-client to v2.5.9
2024-10-14 15:48:42 +02:00
fkwp
b630dad4a3
Merge pull request #2675 from element-hq/renovate/github-actions
Update GitHub Actions
2024-10-14 15:48:19 +02:00
renovate[bot]
d3d8500431
Update dependency livekit-client to v2.5.9 2024-10-14 13:47:11 +00:00
renovate[bot]
3bd3e947ad
Update GitHub Actions 2024-10-14 13:47:02 +00:00
fkwp
771bf00b66
Merge pull request #2674 from element-hq/renovate/livekit-client
Update dependency livekit-client to v2.5.8
2024-10-14 09:14:48 +02:00
renovate[bot]
e9baf3ccfa
Update dependency livekit-client to v2.5.8 2024-10-14 01:31:56 +00:00
Robin
8e20be42e0
Merge pull request #2672 from element-hq/renovate/major-react-monorepo
Update dependency eslint-plugin-react-hooks to v5
2024-10-11 11:36:43 -04:00