Commit Graph
2133 Commits
Author SHA1 Message Date
Half-Shot dbad2b3902 Begin moving over to membershipEvents 2024-11-08 17:04:10 +00:00
Half-Shot 1a95c576e0 Merge remote-tracking branch 'origin/livekit' into hs/emoji-reactions 2024-11-08 16:20:42 +00:00
Half-Shot 31bf036aa1 fix 2024-11-08 16:19:03 +00:00
Half-Shot 9a9a479610 fix button 2024-11-08 16:18:28 +00:00
Half-Shot a6d1edbc7d cleanup 2024-11-08 16:10:17 +00:00
Half-Shot 689f94b7e5 Another attempt to fix the sizing of the reactions 2024-11-08 14:42:10 +00:00
Robin 0ffb4cc23d Disable the encryption status indicators
Currently they're a bit broken and we don't have the time to fix them.
2024-11-08 09:34:02 -05:00
Half-Shot 1062b98289 Replace deer sound 2024-11-08 14:08:34 +00:00
Half-Shot 251d1c86f7 lint 2024-11-08 13:39:43 +00:00
Half-Shot 0d94d9abc9 Move polyfill. 2024-11-08 13:37:34 +00:00
Half-Shot a50198dcbc Add comments on reaction interface 2024-11-08 13:37:31 +00:00
Half-Shot fbb3882b81 More translations 2024-11-08 13:37:23 +00:00
Half-Shot d6d6efdff2 Relabel lower hand 2024-11-08 13:30:35 +00:00
Half-Shot caf2d6bb5e Fix tests 2024-11-08 13:26:15 +00:00
Half-Shot 90fa6d02d7 Clear reactions if we're clearing timeouts. 2024-11-08 13:14:45 +00:00
Half-Shot e97c779ee4 Fix generic sound not playing. 2024-11-08 13:14:38 +00:00
Half-Shot f628809809 Remove unrequired media query 2024-11-08 13:03:02 +00:00
Half-Shot f6e32742f2 Spacing for emoji buttons search 2024-11-08 13:01:40 +00:00
Half-Shot 0a8e53e393 i18n 2024-11-08 12:53:10 +00:00
Half-Shot e98f84eb8f Add error for failured to send reaction. 2024-11-08 12:52:05 +00:00
Half-Shot afe64cfe20 Decomplicate className system for Modal 2024-11-08 12:16:44 +00:00
Half-Shot 3b625226de Add lower motion mode. 2024-11-08 12:13:48 +00:00
Half-Shot 688e7a12b4 Add toggle for raise hand. 2024-11-08 12:06:29 +00:00
Half-Shot 230c85e513 Merge remote-tracking branch 'origin/livekit' into hs/emoji-reactions 2024-11-08 09:57:41 +00:00
Half-Shot 63137a53d9 Use prefers-reduced-motion 2024-11-08 09:57:28 +00:00
Half-Shot 19626324c7 Remove useless useCallback 2024-11-08 09:49:09 +00:00
Half-Shot 63f1b7346f Clear timeouts on component close. 2024-11-08 09:47:05 +00:00
Half-Shot 17f2647d89 Use Intl.Segmenter 2024-11-08 09:46:52 +00:00
Will Hunt 938beccb6e Add tests for Modal (#2731)
* Add Modal tests.

* fix type

* apply review feedback

* lint

* remove act
2024-11-07 17:06:49 +00:00
Half-Shot 54f7afa0ef Fix mobile view for emoji picker. 2024-11-07 16:53:00 +00:00
Half-Shot 234bdaa842 Swap icon, make mobile view better. 2024-11-07 16:00:32 +00:00
Half-Shot 5a9eddfd70 Remove closed menu test since we're using Modal. 2024-11-07 14:25:35 +00:00
Timo 9bf40eda25 Prohibit .preview to be 0 width (#2730) 2024-11-07 13:15:12 +01:00
Half-Shot 54b495c79d Modal refactor attempts. 2024-11-07 12:08:13 +00:00
Half-Shot 60300c2f84 modal impl 2024-11-07 11:33:10 +00:00
Half-Shot 29d562aea1 Tweak line height 2024-11-07 10:25:05 +00:00
Half-Shot 83eb5b4977 simplify 2024-11-07 10:14:10 +00:00
Half-Shot fabbdac1ca lint 2024-11-07 10:12:31 +00:00
Half-Shot f4f0821987 Fix test 2024-11-07 09:53:47 +00:00
Half-Shot e8e905c710 add onclick back 2024-11-07 09:26:50 +00:00
Half-Shot a262c4b59f Merge remote-tracking branch 'origin/livekit' into hs/emoji-reactions 2024-11-07 09:10:42 +00:00
Half-Shot b1d90f8262 Update rock sounds 2024-11-07 09:02:13 +00:00
Half-Shot 6294fbb8e1 Preload reaction sounds to prevent delays. 2024-11-07 09:01:58 +00:00
Hugh Nimmo-Smith bfffddfa92 Fix minature => miniature spelling (#2727) 2024-11-06 15:54:58 +00:00
Hugh Nimmo-Smith f611554c31 Don't hide video on encryption status error (#2726) 2024-11-06 15:31:31 +00:00
Hugh Nimmo-Smith 7fd344385d Add rxjs/recommend eslint rules (#2724)
We will probably want to tweak these as we get more used to them.
2024-11-06 14:33:06 +00:00
Hugh Nimmo-Smith c45f724279 Show encryption key status from LiveKit (#2700)
* Refactor to make encryption system available in view models

* WIP show encryption errors from LiveKit

* Missing CSS

* Show encryption status based on LK and RTC

* Lint

* Lint

* Fix tests

* Update wording

* Refactor

* Lint
2024-11-06 11:12:46 +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
RobinandHugh Nimmo-Smith 110914a4d6 Replace some custom React hooks with observable-hooks (#2710)
The observable-hooks package provides hooks that do exactly the same thing as these custom React hooks I had written a while back. (even the names are the same, wow)

Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2024-11-06 09:43:27 +00:00
RobinandHugh Nimmo-Smith d3f069e763 Keep tiles in a stable order (#2670)
* Keep tiles in a stable order

This introduces a new layer of abstraction on top of MediaViewModel: TileViewModel, which gives us a place to store data relating to tiles rather than their media, and also generally makes it easier to reason about tiles as they move about the call layout. I have created a class called TileStore to keep track of these tiles.

This allows us to swap out the media shown on a tile as the spotlight speaker changes, and avoid moving tiles around unless they really need to jump between the visible/invisible regions of the layout.

* Don't throttle spotlight updates

Since we now assume that the spotlight and grid will be in sync (i.e. an active speaker in one will behave as an active speaker in the other), we don't want the spotlight to ever lag behind due to throttling. If this causes usability issues we should maybe look into making LiveKit's 'speaking' indicators less erratic first.

* Make layout shifts due to a change in speaker less surprising

Although we try now to avoid layout shifts due to the spotlight speaker changing wherever possible, a spotlight speaker coming from off screen can still trigger one. Let's shift the layout a bit more gracefully in this case.

* Improve the tile ordering tests

* Maximize the spotlight tile in portrait layout

* Tell tiles whether they're actually visible in a more timely manner

* Fix test

* Fix speaking indicators logic

* Improve readability of marbles

* Fix test case

---------

Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2024-11-06 09:36:48 +00:00