element-web/test
Oliver Sand a0c2676c38
Pass device id to widgets (#10209)
* Pass device id to widget

Implement the [comment in MSC 3819](https://github.com/matrix-org/matrix-spec-proposals/pull/3819#discussion_r1099833846) which requests passing a device id to a widget.

This is based on the previous work in the matrix-widget-api: https://github.com/matrix-org/matrix-widget-api/pull/78

Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>

* Include all data that is shared in the permissions screen

* Update matrix-widget-api to version 1.4.0

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Fix type and test

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

---------

Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
Co-authored-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-05-23 13:35:31 +00:00
..
@types
__snapshots__ Switch from cheerio to DOMParser (#10929) 2023-05-23 13:31:05 +00:00
accessibility Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
actions/handlers
audio Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
autocomplete Support dynamic room predecessor in SpaceProvider (#10348) 2023-03-10 11:01:45 +00:00
components Settings panels: avoid exceptions with rust crypto (#10962) 2023-05-23 12:01:27 +00:00
contexts Add `UserProfilesStore`, `LruCache` and cache for user permalink profiles (#10425) 2023-03-27 10:07:43 +02:00
dispatcher Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
editor Switch from cheerio to DOMParser (#10929) 2023-05-23 13:31:05 +00:00
events Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
hooks
i18n
i18n-test Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
images
img
models Fix a crash when a call ends while you're in it (#10681) 2023-04-21 13:54:27 +00:00
modules Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
notifications
settings Conform more of the codebase to strictNullChecks (#10800) 2023-05-10 08:41:55 +01:00
setup Fix some features not being configurable via `features` (#10276) 2023-03-03 13:31:51 +00:00
stores Pass device id to widgets (#10209) 2023-05-23 13:35:31 +00:00
test-utils Settings panels: avoid exceptions with rust crypto (#10962) 2023-05-23 12:01:27 +00:00
toasts Revert "Implement new toast UI (#10467)" (#10740) 2023-04-28 14:56:26 +00:00
utils shieldStatusForRoom: avoid deprecated MatrixClient methods (#10944) 2023-05-19 11:57:45 +01:00
voice-broadcast Make more of the codebase conform to strict types (#10859) 2023-05-12 09:49:37 +01:00
Avatar-test.ts
ContentMessages-test.ts Implement MSC3952: intentional mentions (#9983) 2023-03-23 11:47:40 +00:00
DecryptionFailureTracker-test.js Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
DeviceListener-test.ts Use new `getCrossSigningKeyId` instead of old `getCrossSigningId` (#10885) 2023-05-15 18:30:43 +00:00
HtmlUtils-test.tsx Switch from cheerio to DOMParser (#10929) 2023-05-23 13:31:05 +00:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts Handle IDB `closed` event by showing modal with prompt to reload app (#10395 2023-03-31 10:08:45 +01:00
MediaDeviceHandler-test.ts
Notifier-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
PosthogAnalytics-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
PreferredRoomVersions-test.ts
Reply-test.ts add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
RoomNotifs-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Rooms-test.ts
ScalarAuthClient-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
SdkConfig-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
SlashCommands-test.tsx
SlidingSyncManager-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
Terms-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
TestSdkContext.ts
TextForEvent-test.ts Add string for membership event where both displayname & avatar change (#10880) 2023-05-12 11:54:24 +00:00
Unread-test.ts Add unread fallback logging (#10509) 2023-04-11 07:41:59 +00:00
UserActivity-test.ts
WorkerManager-test.ts Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
createRoom-test.ts Element-R: Starting a DMs with a user (#10673) 2023-04-24 14:19:08 +00:00
email-test.ts Factor out basic email check (#10244) 2023-02-28 10:39:35 +01:00
globalSetup.js
languageHandler-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
linkify-matrix-test.ts Update finite automate to match user identifiers as per spec (#10798) 2023-05-09 07:46:19 +00:00
setupTests.js Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
slowReporter.js
theme-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
useTopic-test.tsx