David Baker
d7d7bee685
Remove the overflow menu button in fullscreen mode
...
It didn't work and fixing it is a bit of a project: see comment
https://github.com/vector-im/element-call/issues/807
2022-12-22 12:16:05 +00:00
David Baker
70522ed8da
Also add comment
2022-12-21 15:26:24 +00:00
David Baker
3581aceb5a
Addd ResolvedConfigOptions back
2022-12-21 15:25:08 +00:00
David Baker
29f48f25f4
Actually remove the bit that's no longer neccessary
2022-12-21 15:17:34 +00:00
David Baker
c879090a34
Re-jig config accessors
...
We only ever used the static instance() method to get to the config
object, so just make a static instance that returns the ConfigOptions
directly, throwing an exception if it's not yet initialised. This way
the types can all be non-optional (plus it's shorter).
2022-12-21 10:17:53 +00:00
David Baker
6303b357ab
Update default homeserver to match what the docs say
2022-12-21 10:01:37 +00:00
David Baker
b3d97810a8
Unused import
2022-12-21 09:44:28 +00:00
David Baker
eaf14a0562
Don't send rageshakes or start sentry if we don't have config for them
2022-12-21 09:42:27 +00:00
David Baker
fd3c0d9fc6
Don't guess the server name from the URL
...
It only uses the default HS URL anywayso just use the default
server name.
2022-12-21 09:27:25 +00:00
David Baker
c85d1c1d9c
Don't touch the product name option for now
2022-12-20 17:30:47 +00:00
David Baker
96de515e56
Move default homeserver to config file
2022-12-20 17:26:45 +00:00
David Baker
7c26bdbda3
Put the maximised conditional back
...
and comment it
2022-12-19 15:10:25 +00:00
David Baker
4ad5ea49c2
Merge remote-tracking branch 'origin/main' into dbkr/spatial_audio_ff_only
2022-12-19 13:18:12 +00:00
Timo
e3aa810230
Posthog widget embedding ( #767 )
...
* load analytics id from url in embedded mode
Signed-off-by: Timo K <timok@element.io>
* add start call in the widget code path
Signed-off-by: Timo K <timok@element.io>
* send group call id instead of call name
Signed-off-by: Timo K <timok@element.io>
* generate analyticsid based on account analyticsid
This make it impossible to find users from the element web posthog instance
in the element call instance
* move registration type setup PosthogAnalytics.ts
* Order identificaition and tracking.
This fixes an issue that the widget version did not identify the user before sneding
the first track event.
Because start call is called right after app startup.
Signed-off-by: Timo K <timok@element.io>
2022-12-19 12:16:59 +01:00
David Baker
c6ad2003f0
Add other missing file
2022-12-16 17:28:52 +00:00
David Baker
9aed344a80
Add missing file
2022-12-16 17:25:28 +00:00
David Baker
0c55efe4b6
Don't reorder imports - 3rd time's a charm
2022-12-16 17:20:52 +00:00
David Baker
c93df1fd06
Don't reorder import try 2
2022-12-16 17:19:40 +00:00
David Baker
c30eb19021
Don't reorder imports
2022-12-16 17:18:52 +00:00
David Baker
2d8c33d66d
Merge remote-tracking branch 'origin/main' into dbkr/spatial_audio_ff_only
2022-12-16 17:17:30 +00:00
David Baker
223793a445
Make spatial audio Firefox-only
...
Hopefully explained in comment: we have a heisenbug where we sometimes
lack audio from a certain participant, so this simplifies the audio
path by removing the workaround required to do AEC with spatial audio
on chrome.
2022-12-16 17:12:17 +00:00
Robin Townsend
102ce87bb0
Hide controls completely in picture-in-picture view
...
This is to prepare for upcoming design changes to the picture-in-picture view in Element Web.
2022-12-13 18:20:30 -05:00
Robin
f9845617b3
Merge pull request #783 from robintown/font-params
...
Add URL params to control fonts
2022-12-10 18:55:35 -05:00
Robin Townsend
32168fb467
Update the leave icon
2022-12-09 14:41:43 -05:00
Robin Townsend
acc41c532e
Add URL params to control fonts
...
This was also a good chance to switch to the semantic font size names used in Compound.
2022-12-09 14:31:13 -05:00
Šimon Brandner
6d8ae91b6c
Don't expose calls
on GroupCall
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-12-04 15:50:21 +01:00
Robin Townsend
0a38395bdc
Subtly animate video tile toolbars
2022-12-02 12:44:31 -05:00
Robin Townsend
44e22e2684
Don't start new calls in widget mode
...
In widget mode, it's the client's duty to start the call.
2022-11-29 15:47:39 -05:00
Robin
aa828fe9f5
Merge pull request #761 from robintown/update-js-sdk
...
Enable users to join calls from multiple devices
2022-11-28 16:37:15 -05:00
Robin Townsend
5ba7267164
Fix lints
2022-11-28 16:15:47 -05:00
David Baker
9c08a69226
Add import
...
And also Prettier says hi apparently
2022-11-23 10:11:55 +00:00
David Baker
40a0958e0d
Use useCallback
...
Co-authored-by: Robin <robin@robin.town>
2022-11-23 10:06:14 +00:00
David Baker
098be75415
Fix click leaking through to DOM element underneath
...
See comment, although this is quite hack - I'm torn on whether this
is worth it for the bugfix. Upgrading react-aria doesn't fix it either
(and also breaks everything in React strict mode).
Fixes https://github.com/vector-im/element-call/issues/762
2022-11-22 19:01:50 +00:00
Robin Townsend
13def24f7e
Enable users to join calls from multiple devices
2022-11-21 12:39:48 -05:00
David Baker
eab8b1d095
Put rageshake request ID in title of debug log submission
2022-11-17 16:06:41 +00:00
David Baker
b92acd4822
Merge pull request #752 from vector-im/dbkr/waiting_for_media
...
Add a 'waiting for video' state to media tiles
2022-11-16 16:41:27 +00:00
David Baker
93aafb1415
Remove mystery blank line
...
Co-authored-by: Robin <robin@robin.town>
2022-11-16 16:39:35 +00:00
David Baker
734d330a10
CamcelCase for enum values
2022-11-16 10:45:49 +00:00
David Baker
5623fa415f
Also update connection states when participants change
2022-11-15 17:33:58 +00:00
David Baker
f2746ab994
Pass user's connection state for their screenshare feed
2022-11-15 17:19:09 +00:00
David Baker
80f07a5454
Add a 'waiting for video' state to media tiles
...
This will show if the call is waiting for media to connect (in practice
doesn't actually seem to happen all that often) but also show if the
media connection is lost, with the js-sdk change.
Requires https://github.com/matrix-org/matrix-js-sdk/pull/2880
Fixes: https://github.com/vector-im/element-call/issues/669
2022-11-15 16:13:33 +00:00
Erik Johnston
a2bbe61292
Update help text
2022-11-14 20:58:39 +00:00
Erik Johnston
6855e61c47
Correctly handle window losing focus
2022-11-14 20:58:39 +00:00
Erik Johnston
d09c3d8374
Add 'v' shortcut
2022-11-14 16:14:16 +00:00
Erik Johnston
67b97e63ca
Use useEventTarget
2022-11-14 16:12:19 +00:00
Erik Johnston
4cd49dee4b
Update description
2022-11-14 16:11:42 +00:00
Erik Johnston
0aadb7e60c
Add a straw man description to the setting
2022-11-14 11:29:42 +00:00
Erik Johnston
c67e7ebc2c
Put PTTButton shortcuts behind the new shortcut
2022-11-14 10:40:02 +00:00
Erik Johnston
b30ef953b4
Put keyboard shortcuts behind settings flag
2022-11-14 10:24:03 +00:00
Erik Johnston
c9330debd4
Lint take2?
2022-11-11 16:02:24 +00:00