Šimon Brandner
ba3d7f9bee
Use marked execution
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-09 15:50:52 +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
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Šimon Brandner
c8cf23b87c
Implement LERP
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-19 12:21:24 +02:00
Šimon Brandner
61929e3fc2
Implement snapping
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-19 09:34:45 +02:00
Šimon Brandner
946317ddf8
Move moving out of state
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-18 19:11:48 +02:00
Šimon Brandner
ab3ccecc96
Use UIStore
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-17 15:52:55 +02: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
9755da6f09
Add ?
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 19:59:51 +02:00
Šimon Brandner
f79339c2da
Add missing semicolon
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 18:36:11 +02:00
Šimon Brandner
889b90fbc3
Fix const values
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 18:33:24 +02:00
Šimon Brandner
941a6e1c1b
Don't duplicate code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 18:16:36 +02:00
Šimon Brandner
0bf2b01f84
Keep PiP in the window when resizing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 18:11:02 +02:00
Šimon Brandner
be2da6376e
Simplifie translation code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 17:49:55 +02:00
Šimon Brandner
d8d380c74d
Always keep the PiP CallView on the screen
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 17:22:45 +02:00
Šimon Brandner
f93ff1c8ae
Add semicolons to event listeners
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 15:43:13 +02:00
Šimon Brandner
2c9231641b
Add ref to callViewWrapper
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 15:40:59 +02:00
Šimon Brandner
76f503666c
Add default offset
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 15:40:12 +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
adcdd72a08
preventDefault() and stopPropagation() only if moving
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-03 15:07:25 +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
fca5347668
Add preventDefault() and stopPropagation()
...
This avoids text being selected while dragging
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-02 21:17:59 +02:00
Šimon Brandner
53b8fd3072
Listen for mousemove on document scale
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-02 20:57:18 +02:00
Šimon Brandner
11222e7a46
Wire up dragging
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-02 16:26:54 +02:00
Šimon Brandner
f64a950195
Prep basic methods for dragging
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-02 16:26:41 +02:00
Šimon Brandner
c97bbe11a9
Prep state and props for dragging
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-02 16:26:03 +02:00
Šimon Brandner
40748d3c94
Make CallHandler emit CallChangeRoom
...
Let's hope I changed the tests correctly
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-28 11:49:07 +02:00
David Baker
59c5ab31de
Support MSC3086 asserted identity
2021-04-19 20:30:51 +01:00
Travis Ralston
41576954fd
Batch of views getting replaceableComponent decorators
2021-03-08 20:23:54 -07:00
David Baker
1ce63f0fa7
Line 1 / 2 Support
...
Support one active call plus one call on hold
2020-12-03 17:45:49 +00:00
David Baker
c921567831
WIP: the new call views work now
...
just need to add the buttons and then get rid of the status bar
2020-11-12 18:09:56 +00:00
David Baker
f828c6d494
Implement call hold
...
Currently just by adding /holdcall and /unholdcall slash commands
The only place the hold status of the call is currently represented
is when the call is a voice call and you're viewing a different room:
it's not wired up when you're viewing the room because that currently
uses the room status bar which it won't do with the new UI.
Also convert VideoFeed to typescript, and remove videoview because
it essentially just managed the fullscreen functionality, but we'll
want and 'on hold' representation (and probably chrome for hagnup etc)
in the fullscreen UI too, so let's just make CallView the thing that
gets fullscreened.
2020-10-29 17:56:24 +00:00
David Baker
55f77b04ae
Rewrite call state machine
...
* Remove the two separate enumerations of call state: now everything
uses the js-sdk version of call state. Stop adding a separate
'call_state' field onto the call object(!)
* Better reflection of the actual state of the call in the call bar,
so when it's connecting, it says connecting, and only says 'active call'
when the call is actually active.
* More typey goodness
2020-10-09 18:56:07 +01:00
David Baker
8962f7ae9e
Convert CallHandler to typescript
...
and remove the old conference call stuff while we're at it: enough
time should have passed since those mistakes that we can move on.
The old conference call rooms will still appear for anyone whose
account dates back to that time, but they've presumably been appearing
in any other matrix client they used too.
2020-09-24 16:16:20 +01:00
Michael Telatynski
828cfb7138
Add min-width to floating Jitsi
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-20 15:15:21 +01:00
Travis Ralston
76902a752f
CallPreview2 -> CallPreview
2020-07-17 15:56:07 -06:00