diff --git a/ui/app/AppLayouts/Communities/views/CommunityColumnView.qml b/ui/app/AppLayouts/Communities/views/CommunityColumnView.qml index d9ac3032aa..4818435299 100644 --- a/ui/app/AppLayouts/Communities/views/CommunityColumnView.qml +++ b/ui/app/AppLayouts/Communities/views/CommunityColumnView.qml @@ -197,6 +197,7 @@ Item { text: qsTr("Invite people") icon.name: "share-ios" enabled: communityData.canManageUsers && adminPopupMenu.showInviteButton + objectName: "invitePeople" onTriggered: { Global.openInviteFriendsToCommunityPopup(root.communityData, root.communitySectionModule, @@ -276,6 +277,7 @@ Item { text: qsTr("Invite people") icon.name: "share-ios" enabled: communityData.canManageUsers + objectName: "invitePeople" onTriggered: { Global.openInviteFriendsToCommunityPopup(root.communityData, root.communitySectionModule, diff --git a/ui/app/AppLayouts/Profile/panels/CommunitiesListPanel.qml b/ui/app/AppLayouts/Profile/panels/CommunitiesListPanel.qml index 235548bfbe..e87ab1e43b 100644 --- a/ui/app/AppLayouts/Profile/panels/CommunitiesListPanel.qml +++ b/ui/app/AppLayouts/Profile/panels/CommunitiesListPanel.qml @@ -114,6 +114,7 @@ StatusListView { moreMenu.close() root.inviteFriends(model) } + objectName: "invitePeople" } StatusAction { text: qsTr("Edit Shared Addresses") diff --git a/ui/app/mainui/AppMain.qml b/ui/app/mainui/AppMain.qml index 37e4bda264..caf9a1e66a 100644 --- a/ui/app/mainui/AppMain.qml +++ b/ui/app/mainui/AppMain.qml @@ -495,6 +495,7 @@ Item { text: qsTr("Invite People") icon.name: "share-ios" enabled: model.canManageUsers + objectName: "invitePeople" onTriggered: { popups.openInviteFriendsToCommunityPopup(model, communityContextMenu.chatCommunitySectionModule, diff --git a/ui/imports/shared/views/chat/InvitationBubbleView.qml b/ui/imports/shared/views/chat/InvitationBubbleView.qml index 2fc70dc9ad..2371e4a2c2 100644 --- a/ui/imports/shared/views/chat/InvitationBubbleView.qml +++ b/ui/imports/shared/views/chat/InvitationBubbleView.qml @@ -144,7 +144,7 @@ Control { StatusBaseText { Layout.fillWidth: true - + objectName: "communityName" text: d.communityName font.weight: Font.Bold wrapMode: Text.WrapAtWordBoundaryOrAnywhere @@ -154,7 +154,7 @@ Control { StatusBaseText { Layout.fillWidth: true - + objectName: "communityDescription" text: d.communityDescription wrapMode: Text.WrapAtWordBoundaryOrAnywhere color: Theme.palette.directColor1 @@ -162,7 +162,7 @@ Control { StatusBaseText { Layout.fillWidth: true - + objectName: "communityMembers" text: qsTr("%n member(s)", "", d.communityNbMembers) font.pixelSize: 13 font.weight: Font.Medium