element-web-Github/test/components/views/rooms
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
..
__snapshots__ Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
EventTile Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
NotificationBadge Merge branch 'develop' into andybalaam/stas-demydiuk-membership-type3 2024-03-20 17:25:23 +00:00
RoomHeader 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
wysiwyg_composer Improve types for sendEvent (#12335) 2024-03-25 12:48:48 +00:00
BasicMessageComposer-test.tsx Escape placeholder before injecting it into the style (#11607) 2023-09-19 05:58:53 +00:00
EditMessageComposer-test.tsx Improve types for sendEvent (#12335) 2024-03-25 12:48:48 +00:00
EventTile-test.tsx Use test helpers from js-sdk for encrypted events (#12364) 2024-03-22 15:48:29 +00:00
ExtraTile-test.tsx Refactor ExtraTile to use functional components (#10191) 2023-02-23 11:57:37 +00:00
LegacyRoomHeader-test.tsx Merge branch 'develop' into andybalaam/stas-demydiuk-membership-type3 2024-03-20 17:25:23 +00:00
MemberList-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
MemberTile-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
MessageComposer-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
MessageComposerButtons-test.tsx Replace some enzyme tests by @testing-library/react (#9822) 2022-12-23 10:46:14 +00:00
NewRoomIntro-test.tsx Eliminate the use of MatrixClientPeg in utils (#10910) 2023-05-23 16:24:12 +01:00
PinnedEventTile-test.tsx Apply strictNullChecks to src/components/views/rooms/* (#10875) 2023-05-21 23:53:23 +00:00
PresenceLabel-test.tsx Implement new unreachable state and fix broken string ref (#11748) 2023-11-07 10:14:30 +00:00
ReadReceiptGroup-test.tsx Migrate more strings to translation keys (#11694) 2023-10-03 19:17:26 +01:00
RoomHeader-test.tsx 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
RoomKnocksBar-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
RoomList-test.tsx Video call meta space (#12297) 2024-03-25 18:35:31 +00:00
RoomListHeader-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
RoomPreviewBar-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
RoomPreviewCard-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
RoomTile-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
SearchBar-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
SearchResultTile-test.tsx Render timeline separator for late event groups (#11739) 2023-10-16 14:14:04 +00:00
SendMessageComposer-test.tsx Allow adding extra icons to the room header (#11799) 2023-11-01 12:03:10 +00:00
ThirdPartyMemberInfo-test.tsx Apply strictNullChecks to src/components/views/rooms/* (#10875) 2023-05-21 23:53:23 +00:00
VoiceRecordComposerTile-test.tsx Default intentional mentions (#11602) 2023-09-14 11:36:15 +00:00