Commit Graph

243 Commits

Author SHA1 Message Date
Robin
9db21e024e Start using the new modal component
This attempts to converge all our modals on the new modal component while changing their designs as little as possible. This should reduce the bundle size a bit and make the app generally feel like it's converging on the new designs, even though individual modals still remain to be revamped.
2023-09-17 14:46:36 -04:00
Robin
f609ec3f4c Implement new modal designs
They aren't yet used anywhere, but this will let us move on to implementing specific modal interactions from the new designs.

I made the design decision of making this new Modal component always be controlled by an explicit open state, which was inspired by some work I did with Jetpack Compose recently, where I saw that this makes state management and the behavior of components so much more obvious.
2023-09-17 14:40:14 -04:00
David Baker
a4d20f85a0 Use js-sdk from latest develop 2023-09-12 16:25:59 +01:00
David Baker
1fb210c5cc Merge remote-tracking branch 'origin/livekit' into dbkr/matrixrtcsession 2023-09-12 11:30:46 +01:00
Robin
ae2b152b3e Upgrade Compound Web 2023-09-11 11:08:46 -04:00
David Baker
83fd9a49ab Merge remote-tracking branch 'origin/livekit' into dbkr/matrixrtcsession 2023-09-06 09:01:58 +01:00
Robin Townsend
0bf96472eb Work around jsdom not providing TextEncoder 2023-09-01 13:23:24 -04:00
Robin Townsend
8e090af370 Merge branch 'livekit' into in-call-footer 2023-09-01 13:13:02 -04:00
David Baker
0dbd3c2a58 Merge remote-tracking branch 'origin/livekit' into dbkr/matrixrtcsession 2023-09-01 15:09:24 +01:00
Robin
a3edf08776
Merge pull request #1371 from vector-im/renovate/react-spring-web-9.x-lockfile
Update dependency @react-spring/web to v9.7.3
2023-09-01 09:22:44 -04:00
Robin Townsend
27b5ede72e Install @react-spring/rafz
As a workaround for https://github.com/pmndrs/react-spring/issues/2173
2023-09-01 09:19:44 -04:00
renovate[bot]
b1ae9523aa
Update dependency @opentelemetry/instrumentation-user-interaction to ^0.33.0 2023-08-31 21:07:27 +00:00
renovate[bot]
900abc7fa2
Update dependency @opentelemetry/instrumentation-document-load to ^0.33.0 2023-08-31 21:03:50 +00:00
renovate[bot]
550d7acaa8
Update opentelemetry-js monorepo 2023-08-31 16:06:42 +00:00
David Baker
fe4d42f4d0 Update js-sdk 2023-08-31 14:43:53 +01:00
David Baker
dd9397d921 Merge remote-tracking branch 'origin/livekit' into dbkr/matrixrtcsession 2023-08-31 14:38:05 +01:00
Robin
0e0f6f7fc5
Merge pull request #1361 from vector-im/renovate/npm-mermaid-vulnerability
Update dependency mermaid to v9 [SECURITY]
2023-08-31 09:36:03 -04:00
Robin
65564f8662 Add types for dompurify and d3 2023-08-31 09:31:12 -04:00
Robin
3494f0fb4d
Merge branch 'livekit' into in-call-footer 2023-08-31 07:53:14 -04:00
renovate[bot]
96857476f9
Update dependency @vector-im/compound-design-tokens to ^0.0.5 2023-08-31 09:34:16 +00:00
Robin Townsend
63ccd56573 Implement new designs for in-call footer buttons
This basically amounts to swapping out some CSS, the icons, and the Tooltip component.
2023-08-30 22:04:20 -04:00
David Baker
b5626dd97c Merge remote-tracking branch 'origin/livekit' into dbkr/matrixrtcsession 2023-08-30 17:25:00 +01:00
renovate[bot]
11e78cf06b
Update dependency mermaid to v9 [SECURITY] 2023-08-30 14:01:06 +00:00
Robin
841a31a642
Merge pull request #1354 from robintown/colors
Adopt the Compound color system
2023-08-30 08:14:53 -04:00
David Baker
923f081d74 Merge remote-tracking branch 'origin/livekit' into dbkr/matrixrtcsession 2023-08-30 10:04:43 +01:00
David Baker
73b505987d Unpin livekit versions
and upgrade to latest
2023-08-30 09:50:12 +01:00
David Baker
192c3295c9 Update js-sdk 2023-08-29 14:19:08 +01:00
Robin Townsend
aa628cc63c Adopt the Compound color system
As a first step towards adopting the Compound design system and the new Element Call designs, this pulls in Compound's color tokens and applies them to all existing components. I've tried to choose tokens based on the semantics of where they're used, but in some cases, where the new and old design systems differ in semantics, it was necessary to choose tokens based on their resulting color. These hacks can be removed as we implement more of the new designs.

There were a set of environment variables that we used for custom themes, but Compound has way too many design tokens for that approach to still be a good idea, so I decided to replace them all with a single environment variable that just lets you write arbitrary custom CSS.
2023-08-28 17:14:40 -04:00
Šimon Brandner
992e6aa2a3
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-28 17:01:58 +02:00
David Baker
1955765cfd Bump js-sdk 2023-08-23 14:03:38 +01:00
David Baker
c516207199 Remove matrix-widget-api as a dep & remove livekit stuff from widget init
We'll always have matrix-widget-api as a dep through js-sdk so also
specifyin it ourselves just means we'll end up using a different version
when the js-sdk upgrade their copy and get wierd errors. We could add a
peerDependency if we really felt the need?
2023-08-23 10:12:09 +01:00
David Baker
ee77820e5b Use latest js-sdk branch 2023-08-23 09:59:02 +01:00
David Baker
7a197a2700 Use js-sdk branch 2023-08-18 14:14:24 +01:00
Šimon Brandner
05c9d83312
Upgrade @livekit/components-react
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-08 14:31:01 +02:00
Šimon Brandner
bcf40a2155
Update livekit-client
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-08 14:16:18 +02:00
Šimon Brandner
ec20c017d1
Update livekit-client
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-25 16:57:43 +02:00
Robin Townsend
c0eeb035c8 Stop devices from automatically sleeping
A TypeScript upgrade was necessary to bring in the types for the wake lock API.
2023-07-21 00:52:43 -04:00
Šimon Brandner
723819b3d6
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/friendly-url
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-15 09:48:08 +02:00
David Baker
e264a71d1e Merge v0.4.2 hotfixes 2023-07-12 17:57:54 +01:00
Daniel Abramov
eab2bc8ab5
Merge pull request #1173 from vector-im/lint-fixes
Enable stricter lints
2023-07-12 17:18:33 +02:00
Daniel Abramov
9820773136 A hack to fix problems with Matrix JS SDK
See https://github.com/matrix-org/matrix-js-sdk/pull/3593#issuecomment-1632725177
for more context on why it was necessary.
2023-07-12 16:11:01 +01:00
Šimon Brandner
62d4084dcf
Add support for accessing the web server from other devices
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-12 13:55:21 +02:00
Daniel Abramov
c87e06244e Update matrix-js-sdk to fix crypto issues 2023-07-11 17:46:17 +01:00
Daniel Abramov
0105162ffa Enable strict lints
An attempt to fix https://github.com/vector-im/element-call/issues/1132
2023-07-11 16:02:58 +01:00
Šimon Brandner
968a62be62
Merge pull request #1237 from vector-im/SimonBrandner/other/update-lk-cli 2023-07-11 16:03:59 +02:00
Šimon Brandner
a5e921876f
Update livekit-client
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-11 15:59:47 +02:00
David Baker
68635313d4 Bump js-sdk for getOpenIdToken() in embedded mode
For https://github.com/matrix-org/matrix-js-sdk/pull/3571
2023-07-11 13:24:10 +01:00
Timo
9be9250124
Combined permission request with newer livekit sdk version (#1200)
---------

Signed-off-by: Timo K <toger5@hotmail.de>
2023-07-07 14:41:29 +02:00
Šimon Brandner
a6496626da
Fix js-sdk version
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-07 14:17:09 +02:00
Šimon Brandner
c7258776c3
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/friendly-url 2023-07-06 11:59:13 +02:00