Commit Graph

4757 Commits

Author SHA1 Message Date
Half-Shot
507663df87 Add keyboard shortcuts for reaction sending. 2024-11-05 18:33:56 +00:00
Half-Shot
9ff8197987 Add tests for ReactionToggleButton 2024-11-05 17:00:58 +00:00
Half-Shot
2eb62d8e6f Factor out reactions test structure to utils file. 2024-11-05 15:53:22 +00:00
Half-Shot
0e2296430c better reaction description 2024-11-05 15:29:56 +00:00
Half-Shot
05b56c7057 Add type def for custom reaction type. 2024-11-05 15:24:16 +00:00
Half-Shot
d5122f670a Add licence file. 2024-11-05 15:20:47 +00:00
Half-Shot
8863b7cb6a Add rock emoji 2024-11-05 15:20:43 +00:00
Half-Shot
f556e613b3 Document time in css. 2024-11-05 14:41:44 +00:00
Half-Shot
4db7b4fbf5 Const the active time. 2024-11-05 14:40:29 +00:00
Half-Shot
56c40720e8 Fix case where you could send larger strings as emoji 2024-11-05 14:34:51 +00:00
Half-Shot
714ed35e8d Add deer. 2024-11-05 11:32:19 +00:00
Half-Shot
c9e375ff6c Update compound hand raised icon. 2024-11-05 11:32:13 +00:00
Will Hunt
abfcba91a3 Update text 2024-11-04 15:41:48 +00:00
Will Hunt
8b4bd16647 Add new icon 2024-11-04 15:41:44 +00:00
Will Hunt
4e6ffd64c2 Remove old raised hand component 2024-11-04 15:41:40 +00:00
Will Hunt
ece04fdd68 Fix some tests. 2024-11-04 12:48:35 +00:00
Will Hunt
c64c4e61d7 lint 2024-11-04 12:43:59 +00:00
Will Hunt
d251af4e6d Make event listener more resillient. 2024-11-04 12:12:37 +00:00
Will Hunt
844379aa7d Make vertical divider more visually distinct. 2024-11-04 12:10:04 +00:00
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
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
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
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
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