riot-web/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
..
EventTile
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
__snapshots__ Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +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
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
NewRoomIntro-test.tsx
PinnedEventTile-test.tsx
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
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
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
VoiceRecordComposerTile-test.tsx