Robin Townsend
fc07dd2af9
Convert useMediaStream to TypeScript
2022-06-13 17:24:25 -04:00
Robin Townsend
989712c2d5
Fix lints
2022-06-13 13:34:45 -04:00
Robin Townsend
ee43fcc91f
Make AEC work with spatial audio on Chrome
2022-06-13 13:31:44 -04:00
Timo K
18ca92cec4
js->ts
2022-06-11 23:21:20 +02:00
Timo K
dc11814695
rename files js->ts
2022-06-11 15:23:33 +02:00
Timo K
17a31e0904
typing profile folder
2022-06-11 15:14:00 +02:00
Timo K
f990530031
Merge branch 'main' into ts_profile
2022-06-11 14:36:54 +02:00
Timo K
46f1f0f8e9
remove explicit any
2022-06-11 14:32:25 +02:00
Timo K
885e933948
fixes in useMediaHandler
2022-06-11 14:29:26 +02:00
Timo K
9b2e99c559
use React.ChangeEvent in SettingsModal
2022-06-11 14:28:54 +02:00
Timo K
60ed54d6d3
change rageshake.ts
...
to be more similar to the matrix-js version
2022-06-11 14:28:30 +02:00
David Baker
9fc4fbc3e7
Icon / styling fixes + typo
...
* Use icon from compound
* Use warning colour
* Fix capitalisation
2022-06-10 12:06:06 +01:00
David Baker
1f5ac411f6
Add warning if incompatible versionsd are being used
...
This will probably be overly sensitive until we start timing out
member events (ie. https://github.com/matrix-org/matrix-js-sdk/pull/2446
lands) because lots of calls might have old member events from people
who've joined previously.
2022-06-09 21:56:58 +01:00
Timo K
0aa29f775c
linter
2022-06-08 17:22:46 +02:00
Timo K
a4a6105bc9
Merge branch 'main' into ts_settings
2022-06-08 16:40:51 +02:00
Timo K
23098131b8
couple of cleanups
...
ModalProps fixes
LogEntry interface
missing return promise
2022-06-08 16:36:22 +02:00
Robin
1a7211198b
Merge pull request #377 from robintown/spatial-audio-copy
...
Tweak spatial audio copy
2022-06-07 09:25:56 -04:00
Matthew Hodgson
4f9efb3563
last minute s/radio call/walkie-talkie call/ig
2022-06-07 13:31:19 +01:00
Timo K
190c57e853
typescript src/settings
2022-06-06 22:42:48 +02:00
Timo K
785eca7289
typescript src/profile
2022-06-06 22:33:13 +02:00
Robin Townsend
2667e78b43
sound → seem
2022-06-06 11:26:48 -04:00
Robin Townsend
b314e047c1
Tweak spatial audio copy
2022-06-06 11:19:40 -04:00
Robin Townsend
977016fbb2
Merge branch 'main' into organize-colors
2022-06-06 09:03:40 -04:00
Robin Townsend
8da492d00d
Fix warning
2022-06-02 16:30:35 -04:00
Robin Townsend
7d87b8d1e5
'Webcam' → 'Camera'
2022-06-02 13:53:31 -04:00
David Baker
ecb139721b
Merge pull request #370 from vector-im/dbkr/avoid-browser-index-import
...
Fix app when built in production mode
2022-06-02 11:01:49 +01:00
Robin Townsend
aa45261b0d
Organize colors
2022-06-01 11:48:17 -04:00
David Baker
017ec13981
Disable typescript warnings
2022-06-01 16:05:58 +01:00
David Baker
5282ab5f12
Merge remote-tracking branch 'origin/main' into dbkr/avoid-browser-index-import
2022-06-01 16:03:18 +01:00
David Baker
582e6637dc
Merge remote-tracking branch 'origin/main' into dbkr/lower_sdk_timeout
2022-06-01 16:02:48 +01:00
David Baker
65804cd962
Merge pull request #358 from vector-im/dbkr/matrix-utils-ts
...
Convert matrix-utils to typescript
2022-06-01 16:02:20 +01:00
David Baker
0411e1cac8
Fix app when built in production mode
...
The recent typescripting appears to have caused the typescript
compiler to get confused about dependency references and start
refwrencing things like CRYPTO_ENABLED in the js-sdk before it's
defined them.
This avoids using things from the (javascript) browser-index import
and instead pulls everything in from the typescript files, then
fixes the resulting type failures, (in some cases with hacks).
2022-06-01 15:55:02 +01:00
Robin Townsend
d680a36cab
Bump the animation size up a little bit more
2022-06-01 10:41:49 -04:00
Robin Townsend
25bde3560b
Use color variables
2022-06-01 10:41:12 -04:00
Robin Townsend
ddac2ba5ef
Merge branch 'main' into vu-animation
2022-06-01 10:31:04 -04:00
Robin
cd55098921
Merge pull request #365 from robintown/spatial-audio
...
Spatial audio
2022-06-01 09:17:04 -04:00
Robin
f1bdad0d7f
Merge pull request #366 from robintown/chrome-android-sink
...
Fix crash when setting audio output on Chrome for Android
2022-06-01 09:14:41 -04:00
Robin
9fac2c95e5
Merge pull request #368 from robintown/radio-button-cursor
...
Make PTTButton feel more clickable
2022-06-01 09:13:04 -04:00
David Baker
486d0abd30
Merge pull request #363 from vector-im/dbkr/ptt_connection_lost
...
Show when connection is lost on PTT mode
2022-06-01 10:24:53 +01:00
David Baker
d9bd48b9a6
Split out client sync listeber into separate useEffect
2022-06-01 10:21:44 +01:00
David Baker
64e30c89e3
Comment typo
...
Co-authored-by: Robin <robin@robin.town>
2022-06-01 10:13:20 +01:00
David Baker
1860eaae7a
Merge pull request #360 from vector-im/dbkr/consistent_sort
...
Sort call feeds consistently when choosing active speaker
2022-06-01 10:12:56 +01:00
David Baker
771424cbf0
Expand comment
2022-06-01 10:11:02 +01:00
David Baker
925a909ec1
Merge pull request #361 from vector-im/dbkr/usegroupcall_ts
...
Convert useGroupCall to TS
2022-06-01 10:07:12 +01:00
David Baker
f07ee54e05
Finish sentence
...
Co-authored-by: Robin <robin@robin.town>
2022-06-01 10:04:49 +01:00
David Baker
7ee2f630db
Add more typers to useInteractiveLogin
...
otherwise apparently Typescript can't trace the MatrixClient type
through.
2022-06-01 09:59:59 +01:00
David Baker
626fdb9f79
Merge remote-tracking branch 'origin/main' into dbkr/matrix-utils-ts
2022-06-01 09:37:59 +01:00
David Baker
2cf40ff0b8
Fix room creation
...
The room alias is not part of the spec. Synapse returns it anyway,
but it's not part of the js-sdk types. We don't really need the
server to tell us what the alias is, so just generate it locally
instead.
2022-06-01 09:29:47 +01:00
David Baker
9edc1acc90
Add type to indexeddb variable
2022-06-01 09:07:00 +01:00
Robin Townsend
641e6c53b6
Make the animation smaller
2022-05-31 23:41:05 -04:00
Robin Townsend
14fbddf780
Make PTTButton feel more clickable
2022-05-31 18:08:42 -04:00
Robin Townsend
2a69b72bed
Add a VU meter-style animation to radio mode
2022-05-31 18:01:34 -04:00
Robin Townsend
e21094b525
Fix crash when setting audio output on Chrome for Android
2022-05-31 16:21:35 -04:00
Robin Townsend
da3d038547
Make it work on Chrome
2022-05-31 16:11:39 -04:00
Robin Townsend
c6b90803f8
Add spatial audio capabilities
2022-05-31 13:36:15 -04:00
Robin Townsend
26251e1e60
Don't abuse useMemo for creating a MatrixClient
2022-05-31 10:33:10 -04:00
David Baker
e9b963080c
Show when connection is lost on PTT mode
2022-05-30 16:28:16 +01:00
David Baker
1164e6f1e7
Add return type too
2022-05-30 15:53:44 +01:00
David Baker
21c7bb979e
Convert useGroupCall to TS
2022-05-30 15:30:57 +01:00
David Baker
1ff9073a1a
Sort call feeds consistently when choosing active speaker
2022-05-30 12:14:25 +01:00
David Baker
7ed2f9bd9a
Lower timeout on js-sdk API call to 5s
2022-05-30 11:46:27 +01:00
David Baker
2cdbeb6f12
Fix imports
2022-05-30 11:41:59 +01:00
David Baker
7bd95621f1
More types
2022-05-30 11:28:16 +01:00
David Baker
a05501a909
Convert matrix-utils to typescript
2022-05-30 10:09:13 +01:00
Robin Townsend
e6960a1e15
TypeScriptify RegisterPage
2022-05-27 16:55:50 -04:00
Robin Townsend
c057713004
TypeScriptify useInteractiveRegistration
2022-05-27 16:55:50 -04:00
Robin Townsend
35e2135e3c
TypeScriptify useInteractiveLogin
2022-05-27 14:52:32 -04:00
Robin Townsend
af74228f8e
TypeScriptify useRecaptcha
2022-05-27 10:37:27 -04:00
Robin Townsend
9a44790450
TypeScriptify LoginPage
2022-05-27 10:37:00 -04:00
Robin Townsend
94380b64bd
Set color-scheme to dark to make the focus ring on the dropdown button
...
legible
2022-05-26 14:12:25 -04:00
Robin Townsend
cbfd03f9c6
Add a dropdown to choose between video calls and radio calls
2022-05-26 13:52:06 -04:00
Robin Townsend
17fed7cd9c
Prettyify
2022-05-24 16:55:53 -04:00
Robin Townsend
266861bdad
Fix order of tiles in 1:1 layout
2022-05-24 16:54:33 -04:00
Robin Townsend
426e1a433b
Make drag-and-drop smoother
2022-05-24 16:37:24 -04:00
Robin
3b8dfcec51
Merge pull request #349 from robintown/rate-limit
...
Handle rate limits when upgrading from a guest account
2022-05-24 07:45:24 -04:00
Robin
6f892edd5e
Merge pull request #348 from robintown/limit-width
...
Limit the width of the remote participant's video in 1:1 layout
2022-05-24 07:45:09 -04:00
Robin Townsend
59938cd46b
Handle rate limits when upgrading from a guest account
2022-05-23 10:48:02 -04:00
Robin Townsend
a445bcd0b9
Limit the width of the remote participant's video in 1:1 layout
2022-05-23 09:59:55 -04:00
Robin Townsend
2acb6825e9
Prevent video elements from being mistakenly muted/unmuted
2022-05-23 09:20:34 -04:00
Robin Townsend
aa1fabf857
Fix joining an existing room from UnregisteredView
2022-05-19 15:59:02 -04:00
Robin
1367ff9914
Merge pull request #340 from robintown/fix-invite-modal
...
Fix soft crash when opening invite modal in lobby
2022-05-19 10:46:41 -04:00
Robin
7a2d64c0ef
Merge pull request #339 from robintown/room-avatars
...
Display room avatars
2022-05-19 10:46:24 -04:00
David Baker
d81c52e9bb
Merge pull request #329 from vector-im/dbkr/rageshake_ptt
...
Enable rageshake on PTT mode
2022-05-19 10:40:43 +01:00
Robin Townsend
c54f1bd7a3
Fix soft crash when opening invite modal in lobby
2022-05-18 19:04:59 -04:00
Robin Townsend
24f721e414
Display room avatars
2022-05-18 19:00:59 -04:00
Robin
183eea9f24
Merge pull request #336 from robintown/fix-links
...
Fix links
2022-05-18 08:45:33 -04:00
Robin
548ea7220b
Merge pull request #335 from robintown/drag-local-video
...
Make local video in 1:1 calls draggable
2022-05-18 08:45:22 -04:00
Robin Townsend
8cd45b64a1
Fix links
...
The href attribute was never actually being set.
2022-05-17 18:30:59 -04:00
Robin
c33d97a2ed
Merge pull request #332 from robintown/double-call-name-prompt
...
Don't leave UnauthenticatedView if there was a room creation error
2022-05-17 17:43:17 -04:00
Robin Townsend
7926a1f9b9
Make local video in 1:1 calls draggable
2022-05-17 17:35:35 -04:00
Robin Townsend
1e5539f165
Don't leave UnauthenticatedView if there was a room creation error
2022-05-17 12:38:01 -04:00
David Baker
d019add257
Merge remote-tracking branch 'origin/main' into dbkr/rageshake_ptt
2022-05-17 15:41:57 +01:00
David Baker
cc8ce7a05c
Move feedback button to overflow menu
...
To be consistent with normal view and avoid nested dialogs.
Also disable space for the PTT key when the feedback dialog is visible,
since otherwise you can't type a space. Involves some rearrangement of
modal state.
Remove accidentally comitted vite port config.
2022-05-17 15:36:13 +01:00
David Baker
6913fddcd3
Merge pull request #303 from vector-im/to-device-olm2
...
Add support for to-device messages via OLM
2022-05-17 13:33:30 +01:00
David Baker
c13040f0b0
Merge pull request #327 from vector-im/dbkr/end_talk_sound
...
Add sound when speaker stops speaking
2022-05-16 20:37:38 +01:00
David Baker
b3285974f9
Enable rageshake on PTT mode
...
By putting another 'Submit Feedback' button in the developer section
of the setting modal (we can work out a better place for it).
2022-05-16 16:58:39 +01:00
David Baker
24a1091954
Merge pull request #325 from vector-im/dbkr/fix_mute_races
...
Mute local mic if blocked and fix races on mute / unmute
2022-05-16 14:12:15 +01:00
David Baker
9fd7329554
Add sound when speaker stops speaking
...
And also a slightly nicer blocked sound (ok, I couldn't let it go).
2022-05-13 21:00:14 +01:00
David Baker
2a19a9964d
Merge pull request #326 from vector-im/dbkr/ptt_button_touch_fixes
...
Fixes for touch interface on push-to-talk button
2022-05-13 20:45:22 +01:00
David Baker
3fc9c1b74a
Import createref separately
2022-05-13 20:43:20 +01:00