Commit Graph

26 Commits

Author SHA1 Message Date
Half-Shot
29d562aea1 Tweak line height 2024-11-07 10:25:05 +00:00
Half-Shot
a262c4b59f Merge remote-tracking branch 'origin/livekit' into hs/emoji-reactions 2024-11-07 09:10:42 +00:00
Hugh Nimmo-Smith
bfffddfa92 Fix minature => miniature spelling (#2727) 2024-11-06 15:54:58 +00:00
Will Hunt
bc0ab92394 Add feature to release hand raised when the tile indicator is clicked. (#2721)
* Refactor to add support for lowering hand on indicator click.

* Cleanup and lint.

* fix icon being a little off
2024-11-06 11:00:19 +00:00
Half-Shot
0e2296430c better reaction description 2024-11-05 15:29:56 +00:00
Half-Shot
8863b7cb6a Add rock emoji 2024-11-05 15:20:43 +00:00
Half-Shot
714ed35e8d Add deer. 2024-11-05 11:32:19 +00:00
Will Hunt
ece04fdd68 Fix some tests. 2024-11-04 12:48:35 +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
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
373a12a3b5 First PoC for reactions 2024-11-01 14:11:36 +00:00
Half-Shot
2d95d4ff36 Use proper duration formatter 2024-10-31 15:17:43 +00:00
Half-Shot
a45b01dc00 Add some explanation comments. 2024-10-29 16:57:06 +00:00
Half-Shot
0b6cf18d22 Drop border from raised hand icon 2024-10-29 13:17:33 +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
198859db08 Add a small mode for spotlight 2024-10-28 22:24:11 +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