Commit Graph

304 Commits

Author SHA1 Message Date
Robin
c25d54ef75 Upgrade @livekit/components-core 2023-12-04 11:12:25 -05:00
Robin
169ccd9de5 Start refactoring some business logic into view models
As Element Call grows in complexity, it has become a pain point that our business logic remains so tightly coupled to the UI code. In particular, this has made testing difficult, and the complex semantics of React hooks are not a great match for arbitrary business logic. Here, I show the beginnings of what it would look like for us to adopt the MVVM pattern. I've created a CallViewModel and TileViewModel that expose their state to the UI as rxjs Observables, as well as a couple of helper functions for consuming view models in React code.

This should contain no user-visible changes, but we need to watch out for regressions particularly around focus switching and promotion of speakers, because this was the logic I chose to refactor first.
2023-12-01 17:09:21 -05:00
renovate[bot]
d77ad87c45
Update dependency vite to v5 2023-12-01 09:52:51 +00:00
renovate[bot]
1790818f3a
Update dependency @opentelemetry/instrumentation-user-interaction to ^0.34.0 2023-11-29 21:42:20 +00:00
renovate[bot]
2d8aaf0a3b
Update dependency @opentelemetry/instrumentation-document-load to ^0.34.0 2023-11-29 12:06:25 +00:00
David Baker
3e7a800424 Update js-sdk
For https://github.com/matrix-org/matrix-js-sdk/pull/3877
2023-11-16 17:55:11 +00:00
renovate[bot]
09aa2d3bc3
Update dependency @vector-im/compound-design-tokens to ^0.1.0 2023-11-15 01:19:22 +00:00
David Baker
0154370ae4 Update js-sdk for per-participant key rotation
To pull in https://github.com/matrix-org/matrix-js-sdk/pull/3833
2023-11-08 11:16:04 +00:00
renovate[bot]
166c8009d9
Update opentelemetry-js monorepo (#1505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 12:37:13 +01:00
David Baker
ec8016acd4
Merge pull request #1841 from vector-im/renovate/eslint-plugin-unicorn-49.x
Update dependency eslint-plugin-unicorn to v49
2023-11-01 16:56:04 +00:00
David Baker
731f1e4008
Merge pull request #1772 from vector-im/dbkr/ppe2ee
Support key-per-participant e2ee
2023-10-31 20:08:05 +00:00
David Baker
ba376d7005 Back to js-sdk develop branch now it's merged 2023-10-31 20:00:48 +00:00
David Baker
c65ce86001 Update for renamed function
and new js-sdk containing it
2023-10-30 16:55:16 +00:00
renovate[bot]
a1eda05bcd
Update dependency eslint-plugin-unicorn to v49 2023-10-30 14:26:25 +00:00
David Baker
2d5b4dbc57 Merge remote-tracking branch 'origin/livekit' into dbkr/ppe2ee 2023-10-26 10:29:12 +01:00
renovate[bot]
84ab853ae9
Update dependency @vector-im/compound-design-tokens to ^0.0.7 2023-10-25 13:26:20 +00:00
renovate[bot]
3fa46fab32
Update dependency @vector-im/compound-web to ^0.6.0 2023-10-25 12:28:03 +00:00
renovate[bot]
3d27b9b6b4
Update dependency @types/node to v20 2023-10-24 01:26:02 +00:00
David Baker
9126fb3f3e Fix key format on the wire to be base64 2023-10-20 17:31:15 +01:00
David Baker
550315e8d7 Update js-sdk branch 2023-10-19 14:40:59 +01:00
David Baker
5ce5795bde Merge remote-tracking branch 'origin/livekit' into dbkr/ppe2ee 2023-10-18 15:22:58 +01:00
David Baker
635badbda1 Bump to latest js-sdk PR commit 2023-10-18 15:19:25 +01:00
Robin
861af672b9 Remove unused dependency 2023-10-18 09:29:42 -04:00
David Baker
d6d9acd492 Update js-sdk to fix sending call member events on leave 2023-10-17 15:39:59 +01:00
David Baker
97aba9c315 Update js-sdk branch 2023-10-16 18:21:08 +01:00
renovate[bot]
b28e465122
Update dependency prettier to v3 2023-10-11 14:38:05 +00:00
Robin
cc6f1f8631 Merge branch 'livekit' into eslint-upgrade 2023-10-11 10:30:57 -04:00
David Baker
fbb2dc2afd Update to merged js-sdk commit 2023-10-10 17:17:16 +01:00
David Baker
07cde7ee4d Don't use event.sender
Pull in a js-sdk change to avoid using event.sender (see js-sdk PR
for details).

Fixes https://github.com/vector-im/element-call/issues/1697
2023-10-09 20:49:03 +01:00
renovate[bot]
d1cb6ee889
Update dependency vaul to ^0.7.0 (#1692)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 16:25:27 +02:00
renovate[bot]
20f96f17e4
Update dependency @vector-im/compound-web to ^0.5.0 2023-10-03 20:25:25 +00:00
Robin
bdc5d701cc Merge branch 'livekit' into remove-storybook 2023-09-28 10:08:51 -04:00
Robin
44dbe77757 Merge branch 'livekit' into remove-inspector 2023-09-28 09:54:37 -04:00
Robin
7df093a23c Merge branch 'livekit' into invite-modal 2023-09-28 09:42:06 -04:00
Robin
99216c3b5a
Merge pull request #1625 from vector-im/renovate/vite-plugin-svgr-4.x
Update dependency vite-plugin-svgr to v4
2023-09-27 19:08:41 -04:00
Robin
2730cea181 Fix imports 2023-09-27 19:06:10 -04:00
Robin
05013cc510 Remove Storybook
As discussed in today's team meeting, no one is using the Storybook files anymore, and they're a maintenance burden, so we should remove them.
2023-09-27 18:32:11 -04:00
Robin
1dc4ef67f3 Remove the group call inspector
It's unused ever since we switched to LiveKit, and we intend to use other telemetry mechanisms going forward to fill this debugging use case, so it can be removed as discussed in today's team meeting.
2023-09-27 18:27:42 -04:00
Robin
8a14d60cb4 Implement the new invite modal designs 2023-09-27 17:45:18 -04:00
renovate[bot]
9cfaff8cdb
Update sentry-javascript monorepo to v7 2023-09-27 01:08:38 +00:00
renovate[bot]
b72eba33e2
Update dependency vite-plugin-svgr to v4 2023-09-26 19:36:47 +00:00
renovate[bot]
f29dafc5c4
Update dependency postcss-preset-env to v9 2023-09-26 16:10:50 +00:00
renovate[bot]
0423f2f4bb
Update dependency @vector-im/compound-design-tokens to ^0.0.6 2023-09-25 21:23:48 +00:00
Robin
02db81d846
Merge pull request #1521 from vector-im/renovate/testing-library-jest-dom-6.x
Update dependency @testing-library/jest-dom to v6
2023-09-25 14:44:37 -04:00
Robin
4330b46086 Add @types/jest, which we depend on 2023-09-25 14:41:52 -04:00
Robin
15566770f9 Upgrade react-i18next, too 2023-09-25 12:31:27 -04:00
renovate[bot]
f053ecfa98
Update dependency i18next to v23 2023-09-25 16:28:17 +00:00
renovate[bot]
e790c13112
Update dependency i18next-parser to v8 2023-09-25 16:22:46 +00:00
renovate[bot]
8e2c1dd164
Update dependency i18next-http-backend to v2 2023-09-25 16:04:50 +00:00
Robin
8a22aa55a6
Merge pull request #1535 from vector-im/renovate/i18next-browser-languagedetector-7.x
Update dependency i18next-browser-languagedetector to v7
2023-09-25 12:03:34 -04:00