Commit Graph

142 Commits

Author SHA1 Message Date
Hugh Nimmo-Smith
a63d44af0c Simplify diff
These changes are in https://github.com/element-hq/element-call/pull/2809
2024-11-20 12:28:10 +00:00
Hugh Nimmo-Smith
18e7ca567c Simplify diff 2024-11-20 12:14:41 +00:00
Hugh Nimmo-Smith
b7ecd396c5 Test case for only showing tiles for MatrixRTC session members 2024-11-20 11:16:13 +00:00
Hugh Nimmo-Smith
7677514bf5 Make it clear that we are mocking MatrixRTC memberships 2024-11-20 10:37:50 +00:00
Hugh Nimmo-Smith
138a6c7e73 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-20 10:35:49 +00:00
Hugh Nimmo-Smith
fbc2cd3e97 Remove redundant distinctUntilChanged (#2804)
Because this.scope.state() does this for us
2024-11-20 10:31:36 +00:00
Hugh Nimmo-Smith
edb53ae049 Fix 2024-11-20 10:24:38 +00:00
Hugh Nimmo-Smith
256a65a119 Simplify speaking observer 2024-11-20 10:09:56 +00:00
Hugh Nimmo-Smith
8f59f087cc Fix incorrect type assertion 2024-11-20 10:09:27 +00:00
Hugh Nimmo-Smith
09de97637c Refactor 2024-11-18 17:50:59 +00:00
Hugh Nimmo-Smith
5cae84940e Fix unit test 2024-11-18 17:29:41 +00:00
Hugh Nimmo-Smith
f6a641b478 back 2024-11-14 13:51:49 +00:00
Hugh Nimmo-Smith
eafd8fd8b6 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-14 13:42:19 +00:00
Hugh Nimmo-Smith
fa3c9fde14 iterate 2024-11-14 13:34:49 +00:00
Hugh Nimmo-Smith
6e5c468780 Use more explicit names and types for LayoutMedia observables (#2781) 2024-11-14 14:23:50 +01:00
Quentin Gliech
2297675b06 Replace lodash with lodash-es (#2777) 2024-11-14 11:18:43 +00:00
Hugh Nimmo-Smith
44935eeb40 Remove option to show non-member tiles to simplify code review 2024-11-13 10:14:12 +00:00
Hugh Nimmo-Smith
83514212cd Iterate 2024-11-13 10:03:57 +00:00
Hugh Nimmo-Smith
dbbf774443 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-13 09:31:39 +00:00
Robin
50d380cf37 Make one-on-one layout less prone to crashing
The basic issue here, I think, was that the 'oneOnOne' observable flag and the 'onOnOneLayout' observable could become out of sync, as RxJS does *not* have atomicity guarantees. We can work around this by combining them into one observable.
2024-11-11 08:25:16 -05:00
Hugh Nimmo-Smith
02b96fa924 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-11 10:41:11 +00:00
Robin
68d71a8329 Improve interactions to hide/show the footer
This fixes a few different usability issues with the footer:

- When tapping one of the footer buttons, the footer would be dismissed rather than activating the button.
- When the footer was hidden, you could still tap the buttons.
- Interacting with controls in the footer would not reset the timer that hides it, leading to a feeling that the footer can disappear out from under you.
2024-11-08 12:52:55 -05:00
Hugh Nimmo-Smith
886dc2c2fe Avoid case of one-to-one layout with missing local or remote 2024-11-08 06:50:58 +00:00
Hugh Nimmo-Smith
c37c2e50bd Handle no local media (yet) 2024-11-07 17:53:44 +00:00
Hugh Nimmo-Smith
238797aed8 Remove isLiveKitParticipantAvailable and show via encryption status 2024-11-07 17:53:08 +00:00
Hugh Nimmo-Smith
5009f1fe1b Assertions for one-on-one view 2024-11-07 16:53:25 +00:00
Hugh Nimmo-Smith
0c4cddbb32 Apply local override where participant not yet known 2024-11-07 16:23:40 +00:00
Hugh Nimmo-Smith
bf41cfc005 Cleanup 2024-11-07 15:28:55 +00:00
Hugh Nimmo-Smith
5da642b71d Fix mocks 2024-11-07 15:24:58 +00:00
Hugh Nimmo-Smith
bb56f4205b tidy up test init 2024-11-07 14:24:20 +00:00
Hugh Nimmo-Smith
5e8a94778d tidy up handling of local rtc member in tests 2024-11-07 14:16:55 +00:00
Hugh Nimmo-Smith
6bda8953ab Tidy config of show non-member settings 2024-11-07 14:02:25 +00:00
Hugh Nimmo-Smith
95effe0852 Cleanup 2024-11-07 13:01:48 +00:00
Hugh Nimmo-Smith
0760796024 Remove throttleTime from bad merge 2024-11-07 12:12:10 +00:00
Hugh Nimmo-Smith
9bfd2e371c Revert function reordering 2024-11-07 12:02:32 +00:00
Hugh Nimmo-Smith
e515359344 Lint 2024-11-07 11:33:22 +00:00
Hugh Nimmo-Smith
dfd7273ac6 Duplicate screen sharing tiles like we used to 2024-11-07 11:30:08 +00:00
Hugh Nimmo-Smith
59e49d5ff3 Lint 2024-11-06 17:31:06 +00:00
Hugh Nimmo-Smith
4f6b1b0e10 Tests again 2024-11-06 17:30:29 +00:00
Hugh Nimmo-Smith
efe9c9b8fe Fix RTC members in tes 2024-11-06 17:05:29 +00:00
Hugh Nimmo-Smith
eec44702f7 Make local field based on view model class not observable 2024-11-06 16:33:53 +00:00
Hugh Nimmo-Smith
d8d4e8942c Readonly 2024-11-06 16:07:02 +00:00
Hugh Nimmo-Smith
2c3d733714 isLiveKitParticipantAvailable 2024-11-06 15:57:39 +00:00
Hugh Nimmo-Smith
5213636d23 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-06 14:34:50 +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
b0e0e0ed6b Add explicit types for public fields 2024-11-06 14:13:00 +00:00
Hugh Nimmo-Smith
bcbdb596a3 Fix user id 2024-11-06 14:12:32 +00:00
Hugh Nimmo-Smith
73107e4139 Merge fixes 2024-11-06 14:02:14 +00:00
Hugh Nimmo-Smith
c829f2f599 Lint 2024-11-06 14:02:09 +00:00
Hugh Nimmo-Smith
733b685e96 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-06 13:42:45 +00:00