Commit graph

101 commits

Author SHA1 Message Date
Šimon Brandner
b762303102
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 08:10:01 +02:00
Michael Telatynski
f5630acea7 Adhere to better eslint rules 2021-07-23 10:35:10 +01:00
Šimon Brandner
f4287fc3ab
Simplifie sidebar showing logic
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 11:16:16 +02:00
Šimon Brandner
33abe83dad
Always hide all feeds
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 10:39:00 +02:00
Šimon Brandner
89983820df
Fix dumb typo
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 09:49:37 +02:00
Šimon Brandner
6429b3c8bd
Only show toast about camera in video calls
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 09:23:37 +02:00
Šimon Brandner
37335b2c79
Show toast even for non-presenters
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 09:19:47 +02:00
Šimon Brandner
1b9b5fd048
Fix sidebar hiding
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 09:14:44 +02:00
Šimon Brandner
9891eddcbd
Rename to toast
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:28:44 +02:00
Šimon Brandner
ddd4b4bc12
Show a "Your camera is turned off" toast
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:22:47 +02:00
Šimon Brandner
3fac4adfc7
Fix feed sizing issues
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:14:21 +02:00
Šimon Brandner
dc7f6d8286
Show sidebar in PiP mode
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 17:45:21 +02:00
Šimon Brandner
337664a1b4
Update sidebar behaviour
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:34:21 +02:00
Šimon Brandner
2014517173
Always show screensharing feed as primary
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:20:09 +02:00
Šimon Brandner
51cf426179
Update the toast
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:08:18 +02:00
Šimon Brandner
cfaf4b8078
Correct sidebar behaviour when muting local video
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 17:08:17 +02:00
Šimon Brandner
c7a28491ca
Correct sidebar toggle behaviour
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 16:58:44 +02:00
Šimon Brandner
690905d01e
Show sidebar button only when screen-sharing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 16:51:47 +02:00
Šimon Brandner
3751f04cef
Add "You are presenting toast"
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 16:17:07 +02:00
Šimon Brandner
0a282b587b
Reorder buttons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 16:07:27 +02:00
Šimon Brandner
fadb13e9fb
Center all buttons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 16:02:02 +02:00
Šimon Brandner
6491a00645
Add some types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 13:47:07 +02:00
Šimon Brandner
66a3b0fe5f
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 13:24:05 +02:00
Michael Telatynski
ce78cdf4ad Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
Šimon Brandner
d512a83a6c
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-16 19:37:57 +02:00
Šimon Brandner
91d208d514
Merge remote-tracking branch 'upstream/develop' into fix/17130/draggable-pip
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-09 08:26:19 +02:00
Šimon Brandner
fc239ffd01
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-07 10:53:22 +02:00
David Baker
80f5232217 Comply with new member-delimiter-style rule
Just `eslint --fix` with rule from
https://github.com/matrix-org/eslint-plugin-matrix-org/pull/9 in place
2021-07-01 23:23:03 +01:00
J. Ryan Stinnett
ae0a8b8da4 Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Šimon Brandner
d89392a1d9
Merge remote-tracking branch 'upstream/develop' into fix/17130/draggable-pip 2021-06-17 15:41:19 +02:00
Šimon Brandner
a933e08e5f
Also turn off camera when hiding sidebar
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 18:13:28 +02:00
Šimon Brandner
60ab7aaed5
Support hiding sidebar
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 17:20:13 +02:00
Šimon Brandner
10e8a1db58
Allow fullscreening in all call types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 17:15:17 +02:00
Šimon Brandner
6d29c19804
Move call controls into a separate method
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 16:32:01 +02:00
Šimon Brandner
9a67851479
Hide feeds with muted video in certain cases and fix colors
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 14:01:09 +02:00
Šimon Brandner
0c55a6c5bf
Add presenting text
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 11:50:16 +02:00
Šimon Brandner
176fb9baae
Don't show sidebar in PiP
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 11:03:14 +02:00
Šimon Brandner
84070bf0ca
Rework how feeds work
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 09:19:58 +02:00
Šimon Brandner
97b976b171
Adjust for sidebar
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-12 08:15:26 +02:00
Šimon Brandner
adddb0f0d2
Show screensharign button only if connected
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-13 18:11:47 +02:00
Šimon Brandner
834579f778
Don't render any audio non-primary feeds
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-11 13:07:30 +02:00
Šimon Brandner
acd0fa4c0e
Add a comment about when it is possible to screenshare
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-10 14:42:06 +02:00
Šimon Brandner
90f4ad7a83
Always sort feeds
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-10 13:21:02 +02:00
Šimon Brandner
69b0425c10
Improve and fix sorting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-08 18:50:13 +02:00
Šimon Brandner
4c9d9dd214
Enable screenshare in all video calls
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-08 10:04:26 +02:00
Šimon Brandner
5b2f941ce2
Add button to screenshare
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-07 21:35:32 +02:00
Šimon Brandner
1f27354439
Add support for up to 4 feeds
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-07 21:34:56 +02:00
Šimon Brandner
0851cf4415
Simplifie things
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 15:16:08 +02:00
Šimon Brandner
7042eb38dd
Listen for mouseup on the document
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 08:12:54 +02:00
Šimon Brandner
51e80dd172
Remove onMoving listner from CallView
This is not necessary since we already listen for it in CallPreview

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 07:50:21 +02:00