Commit Graph

2051 Commits

Author SHA1 Message Date
Will Hunt
41c5a8053e Add settings for disabling animations / sounds. 2024-11-04 11:37:45 +00:00
Will Hunt
c9fe0bd932 lint 2024-11-04 11:15:50 +00:00
Will Hunt
3e69e2529c Merge remote-tracking branch 'origin/livekit' into hs/emoji-reactions 2024-11-04 11:14:36 +00:00
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
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
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
Half-Shot
27e3cec575 Overflow buttons when screen is too narrow 2024-11-01 17:35:47 +00:00
Half-Shot
0f4fec46b6 Center emoji picker 2024-11-01 17:34:16 +00:00
Half-Shot
28bef94227 fix import 2024-11-01 17:25:34 +00:00
Half-Shot
a60d48965b Subscribe to the ecall reaction event type. 2024-11-01 17:23:29 +00:00
Half-Shot
e3c23fa2cf Linting and general stability improvements. 2024-11-01 17:22:45 +00:00
Half-Shot
dfe9569720 Tidy up + add support for floating emoji. 2024-11-01 15:27:20 +00:00
Half-Shot
fd46f8ad46 Add sounds. 2024-11-01 14:49:00 +00:00
Half-Shot
edc4142fb1 Add reaction indicator. 2024-11-01 14:34:33 +00:00
Half-Shot
80b40b6b00 Add lightbulb. 2024-11-01 14:34:09 +00:00
Half-Shot
a207536907 hide menu by default 2024-11-01 14:17:22 +00:00
Half-Shot
373a12a3b5 First PoC for reactions 2024-11-01 14:11:36 +00:00
Half-Shot
f54e1e2046 Transpose border to GridTile. 2024-11-01 08:57:35 +00:00
Half-Shot
748cc58c3f Be even less brittle. 2024-11-01 08:41:43 +00:00
Half-Shot
167caa32a3 Merge remote-tracking branch 'origin/livekit' into raise-hand-button 2024-10-31 17:09:01 +00:00
Half-Shot
a9e6aa3d54 Add tests for cases where we got a reaction from someone else. 2024-10-31 16:39:59 +00:00
Half-Shot
21380c7791 linting 2024-10-31 16:25:31 +00:00
Half-Shot
ec9dec89bb Use deferred value 2024-10-31 16:20:17 +00:00
Half-Shot
e49eb55a3d More tidying 2024-10-31 16:17:13 +00:00
Half-Shot
a354a4013d Fix redactions not working because they pick up events in transit. 2024-10-31 16:04:37 +00:00
Half-Shot
7229f4bf1b Remove rerender 2024-10-31 15:24:44 +00:00
Half-Shot
2d95d4ff36 Use proper duration formatter 2024-10-31 15:17:43 +00:00
Half-Shot
32294984fe Even more comments. 2024-10-29 17:05:54 +00:00
Half-Shot
a45b01dc00 Add some explanation comments. 2024-10-29 16:57:06 +00:00
Half-Shot
ff7da135ca Tidy up and finish test rewrites 2024-10-29 16:49:37 +00:00
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