element-web/res/css/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
..
wysiwyg_composer Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_AppsDrawer.pcss Fix regression around CSS stacking contexts and PIP widgets (#12094) 2024-01-08 12:11:44 +00:00
_Autocomplete.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_AuxPanel.pcss Deprecate lab experiment 'feature_state_counters' (#11343) 2023-11-30 08:19:16 +00:00
_BasicMessageComposer.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_CallGuestLinkButton.pcss 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
_DecryptionFailureBar.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_E2EIcon.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_EditMessageComposer.pcss Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
_EmojiButton.pcss Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
_EntityTile.pcss Implement new unreachable state and fix broken string ref (#11748) 2023-11-07 10:14:30 +00:00
_EventBubbleTile.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_EventTile.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_HistoryTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_IRCLayout.pcss Remove TODO comments about spacing variables (#10695) 2023-06-06 14:03:52 +00:00
_JumpToBottomButton.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_LegacyRoomHeader.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_LinkPreviewGroup.pcss Remove focus-visible polyfill (#11677) 2023-09-28 11:52:26 +00:00
_LinkPreviewWidget.pcss Fix url preview AXE and layout issue & add percy test (#9189) 2022-08-17 16:07:18 +00:00
_LiveContentSummary.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MemberList.pcss Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00
_MessageComposer.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_MessageComposerFormatBar.pcss Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
_NewRoomIntro.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_NotificationBadge.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_PinnedEventTile.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_PresenceLabel.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_ReadReceiptGroup.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_ReplyPreview.pcss Issue Fix: Misaligned reply preview in thread composer (#9977) 2023-01-25 08:51:07 +01:00
_ReplyTile.pcss Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
_RoomBreadcrumbs.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_RoomCallBanner.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_RoomHeader.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_RoomInfoLine.pcss Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
_RoomKnocksBar.pcss Introduce room knocks bar (#11475) 2023-08-31 13:43:38 +00:00
_RoomList.pcss Remove some obsolete CSS rules (#10754) 2023-05-03 13:26:10 +00:00
_RoomListHeader.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_RoomPreviewBar.pcss Make invitation dialog scrollable when infos are too long (#11753) 2023-10-24 16:06:44 +00:00
_RoomPreviewCard.pcss Change avatar to use Compound implementation (#11448) 2023-08-24 03:48:35 +00:00
_RoomSublist.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_RoomTile.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_RoomUpgradeWarningBar.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_SearchBar.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_SendMessageComposer.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_SpaceScopeHeader.pcss Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00
_Stickers.pcss Remove some obsolete CSS rules (#10754) 2023-05-03 13:26:10 +00:00
_ThirdPartyMemberInfo.pcss Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00
_ThreadSummary.pcss Don't reference the notification levels by colour (#12138) 2024-01-15 15:25:48 +00:00
_TopUnreadMessagesBar.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_VoiceRecordComposerTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_WhoIsTypingTile.pcss Change avatar to use Compound implementation (#11448) 2023-08-24 03:48:35 +00:00