element-web-Github/test/components/views
Timo d35fce198c
Call Guest Access, give user the option to change the acces level so they can generate a call link. (#12401)
* Ask the user to change the room access settings if they click the create link button.

Signed-off-by: Timo K <toger5@hotmail.de>

* disable call button if appropriate.

Signed-off-by: Timo K <toger5@hotmail.de>

* Add tests
Refactor tests to be in CallGuestLinkButton-test instead of the RoomHeader

Signed-off-by: Timo K <toger5@hotmail.de>

* add test for: no button if cannot change join rule and room not public nor knock

Signed-off-by: Timo K <toger5@hotmail.de>

* fix tests

Signed-off-by: Timo K <toger5@hotmail.de>

* add JoinRuleDialog tests

Signed-off-by: Timo K <toger5@hotmail.de>

* move spy into before each

Signed-off-by: Timo K <toger5@hotmail.de>

* Update src/i18n/strings/en_EN.json

Co-authored-by: Robin <robin@robin.town>

* remove inline css and update modal style

Signed-off-by: Timo K <toger5@hotmail.de>

* Update src/i18n/strings/en_EN.json

Co-authored-by: Robin <robin@robin.town>

* Update src/i18n/strings/en_EN.json

Co-authored-by: Robin <robin@robin.town>

* Invite state was not reactive.
Changing power level did not update the ui.

Signed-off-by: Timo K <toger5@hotmail.de>

* linter

Signed-off-by: Timo K <toger5@hotmail.de>

* make useGuestAccessInformation use useRoomState

Signed-off-by: Timo K <toger5@hotmail.de>

* fix tests and simplify logic

* fix tests

* review

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Robin <robin@robin.town>
2024-04-10 14:46:27 +00:00
..
audio_messages Accessibility improvements around aria-labels and tooltips (#12062) 2024-01-05 10:59:41 +00:00
auth Get country names from the browser instead of manual i18n (#11428) 2023-08-22 16:15:16 +00:00
avatars Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
beacon Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
beta Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
context_menus Merge branch 'develop' into andybalaam/stas-demydiuk-membership-type3 2024-03-20 17:25:23 +00:00
dialogs Iterate styles around Link new device via QR (#12356) 2024-03-22 15:50:06 +00:00
elements Revert "Make EC widget theme reactive - Update widget url when the theme chan…" (#12382) 2024-03-28 12:04:14 +00:00
emojipicker Fix regression in emoji picker order mangling after clearing filter (#10854) 2023-05-11 13:24:39 +00:00
location Upgrade compound-web (#12234) 2024-02-07 17:26:05 +00:00
messages Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
polls/pollHistory Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
right_panel Remove references to matrix-js-sdk/src/crypto/verification (#12365) 2024-03-25 17:44:45 +00:00
rooms Call Guest Access, give user the option to change the acces level so they can generate a call link. (#12401) 2024-04-10 14:46:27 +00:00
settings TAC: Release Announcement (#12380) 2024-04-08 08:43:59 +00:00
spaces TAC: Release Announcement (#12380) 2024-04-08 08:43:59 +00:00
toasts Remove references to matrix-js-sdk/src/crypto/verification (#12365) 2024-03-25 17:44:45 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
voip Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
VerificationShowSas-test.tsx Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00