chore: category tests updated + created separate object maps for communities and messaging
This commit is contained in:
parent
9a28b7b68c
commit
ab8c1783e1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,170 @@
|
||||||
|
from gui.objects_map.names import statusDesktop_mainWindow, statusDesktop_mainWindow_overlay, mainWindow_StatusWindow
|
||||||
|
|
||||||
|
# Map for communities screens, views locators
|
||||||
|
|
||||||
|
# Community Portal
|
||||||
|
mainWindow_communitiesPortalLayout_CommunitiesPortalLayout = {"container": statusDesktop_mainWindow, "objectName": "communitiesPortalLayout", "type": "CommunitiesPortalLayout", "visible": True}
|
||||||
|
mainWindow_Create_New_Community_StatusButton = {"checkable": False, "container": mainWindow_communitiesPortalLayout_CommunitiesPortalLayout, "objectName": "createCommunityButton", "type": "StatusButton", "visible": True}
|
||||||
|
|
||||||
|
# Community View
|
||||||
|
mainWindow_communityLoader_Loader = {"container": statusDesktop_mainWindow, "id": "communityLoader", "type": "Loader", "unnamed": 1, "visible": True}
|
||||||
|
# Left Panel
|
||||||
|
mainWindow_communityColumnView_CommunityColumnView = {"container": mainWindow_communityLoader_Loader, "objectName": "communityColumnView", "type": "CommunityColumnView", "visible": True}
|
||||||
|
mainWindow_communityHeaderButton_StatusChatInfoButton = {"checkable": False, "container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "communityHeaderButton", "type": "StatusChatInfoButton", "visible": True}
|
||||||
|
mainWindow_identicon_StatusSmartIdenticon = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "id": "identicon", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_statusChatInfoButtonNameText_TruncatedTextWithTooltip = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
||||||
|
mainWindow_Members_TruncatedTextWithTooltip = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "type": "TruncatedTextWithTooltip", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_startChatButton_StatusIconTabButton = {"checkable": True, "container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "startChatButton", "type": "StatusIconTabButton", "visible": True}
|
||||||
|
mainWindow_createChatOrCommunity_Loader = {"container": mainWindow_communityColumnView_CommunityColumnView, "id": "createChatOrCommunity", "type": "Loader", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_communityColumnView_CommunityColumnView, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||||
|
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||||
|
scrollView_chatListItems_StatusListView = {"container": scrollView_Flickable, "objectName": "chatListItems", "type": "StatusListView", "visible": True}
|
||||||
|
channel_listItem = {"container": scrollView_chatListItems_StatusListView, "id": "chatListDelegate", "type": "DropArea", "isCategory": False, "visible": True}
|
||||||
|
channel_identicon_StatusSmartIdenticon = {"container": None, "id": "identicon", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||||
|
channel_name_StatusBaseText = {"container": None, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_createChannelOrCategoryBtn_StatusBaseText = {"container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "createChannelOrCategoryBtn", "type": "StatusBaseText", "visible": True}
|
||||||
|
create_channel_StatusMenuItem = {"container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "createCommunityChannelBtn", "type": "StatusMenuItem", "visible": True}
|
||||||
|
mainWindow_Join_Community_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
add_categories_StatusFlatButton = {"checkable": False, "container": mainWindow_scrollView_StatusScrollView, "id": "manageBtn", "type": "StatusFlatButton", "visible": True}
|
||||||
|
categoryItem_StatusChatListCategoryItem = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "categoryItem", "type": "StatusChatListCategoryItem", "visible": True}
|
||||||
|
delete_Category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "deleteCategoryMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||||
|
create_category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "createCommunityCategoryBtn", "type": "StatusMenuItem", "visible": True}
|
||||||
|
edit_Category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "editCategoryMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||||
|
scrollView_menuButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "menuButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
||||||
|
scrollView_toggleButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "toggleButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
||||||
|
scrollView_addButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "addButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
||||||
|
add_channels_StatusButton = {"checkable": False, "container": mainWindow_scrollView_StatusScrollView, "id": "addMembersBtn", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
scrollView_general_StatusChatListItem = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "general", "type": "StatusChatListItem", "visible": True}
|
||||||
|
|
||||||
|
# Tool Bar
|
||||||
|
mainWindow_statusToolBar_StatusToolBar = {"container": mainWindow_communityLoader_Loader, "objectName": "statusToolBar", "type": "StatusToolBar", "visible": True}
|
||||||
|
statusToolBar_chatToolbarMoreOptionsButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatToolbarMoreOptionsButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||||
|
delete_Channel_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "deleteOrLeaveMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||||
|
edit_Channel_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "editChannelMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||||
|
statusToolBar_statusSmartIdenticonLetter_StatusLetterIdenticon = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusSmartIdenticonLetter", "type": "StatusLetterIdenticon", "visible": True}
|
||||||
|
statusToolBar_statusChatInfoButtonNameText_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
||||||
|
statusToolBar_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "type": "TruncatedTextWithTooltip", "unnamed": 1, "visible": True}
|
||||||
|
statusToolBar_chatInfoBtnInHeader_StatusChatInfoButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatInfoBtnInHeader", "type": "StatusChatInfoButton", "visible": True}
|
||||||
|
statusToolBar_StatusChatInfo_pinText_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "StatusChatInfo_pinText", "type": "TruncatedTextWithTooltip", "visible": True}
|
||||||
|
|
||||||
|
# Chat
|
||||||
|
mainWindow_ChatMessagesView = {"container": mainWindow_StatusWindow, "type": "ChatMessagesView", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_ChatColumnView = {"container": mainWindow_communityLoader_Loader, "type": "ChatColumnView", "unnamed": 1, "visible": True}
|
||||||
|
chatMessageViewDelegate_channelIdentifierNameText_StyledText = {"container": mainWindow_ChatColumnView, "objectName": "channelIdentifierNameText", "type": "StyledText", "visible": True}
|
||||||
|
chatMessageViewDelegate_Welcome = {"container": mainWindow_ChatColumnView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||||
|
chatMessageViewDelegate_channelIdentifierSmartIdenticon_StatusSmartIdenticon = {"container": mainWindow_ChatMessagesView, "objectName": "channelIdentifierSmartIdenticon", "type": "StatusSmartIdenticon", "visible": True}
|
||||||
|
mainWindow_chatLogView_StatusListView = {"container": mainWindow_StatusWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
||||||
|
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "index": 0, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
||||||
|
|
||||||
|
# Community Settings
|
||||||
|
mainWindow_communitySettingsBackToCommunityButton_StatusBaseText = {"container": mainWindow_communityLoader_Loader, "objectName": "communitySettingsBackToCommunityButton", "type": "StatusBaseText", "visible": True}
|
||||||
|
mainWindow_listView_StatusListView = {"container": mainWindow_communityLoader_Loader, "id": "listView", "type": "StatusListView", "unnamed": 1, "visible": True}
|
||||||
|
overview_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "objectName": "CommunitySettingsView_NavigationListItem_Overview", "type": "StatusNavigationListItem", "visible": True}
|
||||||
|
members_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 1, "objectName": "CommunitySettingsView_NavigationListItem_Members", "type": "StatusNavigationListItem", "visible": True}
|
||||||
|
permissions_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 2, "objectName": "CommunitySettingsView_NavigationListItem_Permissions", "type": "StatusNavigationListItem", "visible": True}
|
||||||
|
tokens_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 3, "objectName": "CommunitySettingsView_NavigationListItem_Tokens", "type": "StatusNavigationListItem", "visible": True}
|
||||||
|
airdrops_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 4, "objectName": "CommunitySettingsView_NavigationListItem_Airdrops", "type": "StatusNavigationListItem", "visible": True}
|
||||||
|
|
||||||
|
# Overview Settings View
|
||||||
|
mainWindow_OverviewSettingsPanel = {"container": mainWindow_communityLoader_Loader, "type": "OverviewSettingsPanel", "unnamed": 1, "visible": True}
|
||||||
|
communityOverviewSettingsCommunityName_StatusBaseText = {"container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsCommunityName", "type": "StatusBaseText", "visible": True}
|
||||||
|
communityOverviewSettingsCommunityDescription_StatusBaseText = {"container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsCommunityDescription", "type": "StatusBaseText", "visible": True}
|
||||||
|
mainWindow_Edit_Community_StatusButton = {"checkable": False, "container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsEditCommunityButton", "text": "Edit Community", "type": "StatusButton", "visible": True}
|
||||||
|
|
||||||
|
# Members Settings View
|
||||||
|
mainWindow_MembersSettingsPanel = {"container": mainWindow_communityLoader_Loader, "type": "MembersSettingsPanel", "unnamed": 1, "visible": True}
|
||||||
|
embersListViews_ListView = {"container": mainWindow_MembersSettingsPanel, "objectName": "CommunityMembersTabPanel_MembersListViews", "type": "ListView", "visible": True}
|
||||||
|
memberItem_StatusMemberListItem = {"container": embersListViews_ListView, "id": "memberItem", "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
|
# Tokens View
|
||||||
|
mainWindow_mintPanel_MintTokensSettingsPanel = {"container": mainWindow_StatusWindow, "id": "mintPanel", "type": "MintTokensSettingsPanel", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_MintedTokensView = {"container": mainWindow_StatusWindow, "type": "MintedTokensView", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_Mint_token_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
||||||
|
welcomeSettingsTokens_Image = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
||||||
|
welcomeSettingsTokens_Title = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
||||||
|
welcomeSettingsTokensSubtitle = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
||||||
|
checkListText_0_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
||||||
|
checkListText_1_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
||||||
|
checkListText_2_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
||||||
|
mint_Owner_Tokens_InfoBoxPanel = {"container": mainWindow_MintedTokensView, "type": "StatusInfoBoxPanel", "unnamed": 1, "visible": True}
|
||||||
|
mint_Owner_Tokens_StatusButton = {"checkable": False, "container": mainWindow_MintedTokensView, "id": "button", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
|
# Airdrops View
|
||||||
|
mainWindow_airdropPanel_AirdropsSettingsPanel = {"container": mainWindow_StatusWindow, "id": "airdropPanel", "type": "AirdropsSettingsPanel", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_WelcomeSettingsView = {"container": mainWindow_StatusWindow, "type": "WelcomeSettingsView", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_New_Airdrop_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
||||||
|
welcomeSettingsAirdrops_Image = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
||||||
|
welcomeSettingsAirdrops_Title = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
||||||
|
welcomeSettingsAirdrops_Subtitle = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
||||||
|
checkListText_0_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
||||||
|
checkListText_1_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
||||||
|
checkListText_2_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
||||||
|
infoBox_StatusInfoBoxPanel = {"container": mainWindow_WelcomeSettingsView, "id": "infoBox", "type": "StatusInfoBoxPanel", "unnamed": 1, "visible": True}
|
||||||
|
mint_Owner_token_Airdrops_StatusButton = {"checkable": False, "container": mainWindow_WelcomeSettingsView, "id": "button", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
|
# Permissions Intro View
|
||||||
|
community_welcome_screen_image = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
||||||
|
community_welcome_screen_title = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
||||||
|
community_welcome_screen_subtitle = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
||||||
|
community_welcome_screen_checkList_element1 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
||||||
|
community_welcome_screen_checkList_element2 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
||||||
|
community_welcome_screen_checkList_element3 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
||||||
|
add_new_permission_button = {"container": statusDesktop_mainWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
||||||
|
|
||||||
|
# Permissions Settings View
|
||||||
|
mainWindow_editPermissionView_EditPermissionView = {"container": statusDesktop_mainWindow, "id": "editPermissionView", "type": "EditPermissionView", "unnamed": 1, "visible": True}
|
||||||
|
editPermissionView_Who_holds_StatusItemSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "tokensSelector", "type": "StatusItemSelector", "unnamed": 1, "visible": True}
|
||||||
|
editPermissionView_Is_allowed_to_StatusFlowSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "permissionsSelector", "type": "StatusFlowSelector", "unnamed": 1, "visible": True}
|
||||||
|
editPermissionView_In_StatusItemSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "inSelector", "type": "StatusItemSelector", "unnamed": 1, "visible": True}
|
||||||
|
editPermissionView_whoHoldsSwitch_StatusSwitch = {"checkable": True, "container": mainWindow_editPermissionView_EditPermissionView, "id": "whoHoldsSwitch", "type": "StatusSwitch", "unnamed": 1, "visible": True}
|
||||||
|
edit_TextEdit = {"container": statusDesktop_mainWindow_overlay, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||||
|
inputValue_StyledTextField = {"container": statusDesktop_mainWindow_overlay, "echoMode": 0, "id": "inputValue", "type": "StyledTextField", "unnamed": 1, "visible": True}
|
||||||
|
o_TokenItem = {"container": statusDesktop_mainWindow_overlay, "index": 0, "type": "TokenItem", "unnamed": 1, "visible": True}
|
||||||
|
add_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
customPermissionListItem = {"container": statusDesktop_mainWindow_overlay, "objectName": "becomeAdmin", "type": "CustomPermissionListItem", "visible": True}
|
||||||
|
communityItem_CommunityListItem = {"container": statusDesktop_mainWindow_overlay, "id": "communityItem", "type": "CommunityListItem", "unnamed": 1, "visible": True}
|
||||||
|
editPermissionView_switchItem_StatusSwitch = {"checkable": True, "container": mainWindow_editPermissionView_EditPermissionView, "id": "switchItem", "type": "StatusSwitch", "unnamed": 1, "visible": True}
|
||||||
|
editPermissionView_Create_permission_StatusButton = {"checkable": False, "container": mainWindow_editPermissionView_EditPermissionView, "text": "Create permission", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_PermissionsView = {"container": statusDesktop_mainWindow, "type": "PermissionsView", "unnamed": 1, "visible": True}
|
||||||
|
o_StatusListItemTag = {"container": mainWindow_PermissionsView, "type": "StatusListItemTag", "visible": True}
|
||||||
|
o_IntroPanel = {"container": mainWindow_PermissionsView, "type": "IntroPanel", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_PermissionsSettingsPanel = {"container": statusDesktop_mainWindow, "type": "PermissionsSettingsPanel", "unnamed": 1, "visible": True}
|
||||||
|
whoHoldsTagListItem = {"container": mainWindow_PermissionsView, "objectName": "whoHoldsStatusListItem", "type": "StatusListItemTag", "visible": True}
|
||||||
|
isAllowedTagListItem = {"container": mainWindow_PermissionsView, "objectName": "isAllowedStatusListItem", "type": "StatusListItemTag", "visible": True}
|
||||||
|
inCommunityTagListItem = {"container": mainWindow_PermissionsView, "objectName": "inCommunityStatusListItem", "type": "StatusListItemTag", "visible": True}
|
||||||
|
edit_pencil_icon_StatusIcon = {"container": mainWindow_PermissionsView, "objectName": "edit_pencil-icon", "type": "StatusIcon", "visible": True}
|
||||||
|
delete_icon_StatusIcon = {"container": mainWindow_PermissionsView, "objectName": "delete-icon", "type": "StatusIcon", "visible": True}
|
||||||
|
hide_icon_StatusIcon = {"container": mainWindow_PermissionsView, "objectName": "hide-icon", "type": "StatusIcon", "visible": True}
|
||||||
|
editPermissionView_settingsDirtyToastMessage_SettingsDirtyToastMessage = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "settingsDirtyToastMessage", "type": "SettingsDirtyToastMessage", "unnamed": 1, "visible": True}
|
||||||
|
update_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
isAllowedToEditPermissionView_StatusListItemTag = {"container": mainWindow_editPermissionView_EditPermissionView, "type": "StatusListItemTag", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
|
# Edit Community
|
||||||
|
mainWindow_communityEditPanelScrollView_EditSettingsPanel = {"container": statusDesktop_mainWindow, "objectName": "communityEditPanelScrollView", "type": "EditSettingsPanel", "visible": True}
|
||||||
|
communityEditPanelScrollView_Flickable = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_communityNameInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityNameInput", "type": "TextEdit", "visible": True}
|
||||||
|
communityEditPanelScrollView_communityDescriptionInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityDescriptionInput", "type": "TextEdit", "visible": True}
|
||||||
|
communityEditPanelScrollView_communityLogoPicker_LogoPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityLogoPicker", "type": "LogoPicker", "visible": True}
|
||||||
|
communityEditPanelScrollView_image_StatusImage = {"container": communityEditPanelScrollView_communityLogoPicker_LogoPicker, "id": "image", "type": "StatusImage", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_editButton_StatusRoundButton = {"container": communityEditPanelScrollView_communityLogoPicker_LogoPicker, "id": "editButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_communityBannerPicker_BannerPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityBannerPicker", "type": "BannerPicker", "visible": True}
|
||||||
|
communityEditPanelScrollView_image_StatusImage_2 = {"container": communityEditPanelScrollView_communityBannerPicker_BannerPicker, "id": "image", "type": "StatusImage", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_editButton_StatusRoundButton_2 = {"container": communityEditPanelScrollView_communityBannerPicker_BannerPicker, "id": "editButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_StatusPickerButton = {"checkable": False, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "type": "StatusPickerButton", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_communityTagsPicker_TagsPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityTagsPicker", "type": "TagsPicker", "visible": True}
|
||||||
|
communityEditPanelScrollView_flow_Flow = {"container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "id": "flow", "type": "Flow", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_StatusCommunityTag = {"container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "type": "StatusCommunityTag", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_Choose_StatusPickerButton = {"checkable": False, "container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "type": "StatusPickerButton", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_archiveSupportToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "archiveSupportToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_requestToJoinToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "requestToJoinToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_pinMessagesToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "pinMessagesToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||||
|
communityEditPanelScrollView_editCommunityIntroInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCommunityIntroInput", "type": "TextEdit", "visible": True}
|
||||||
|
communityEditPanelScrollView_editCommunityOutroInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCommunityOutroInput", "type": "TextEdit", "visible": True}
|
||||||
|
mainWindow_Save_changes_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "settingsDirtyToastMessageSaveButton", "type": "DisabledTooltipButton", "visible": True}
|
||||||
|
editPermissionView_Save_changes_StatusButton = {"container": mainWindow_editPermissionView_EditPermissionView, "objectName": "settingsDirtyToastMessageSaveButton", "type": "DisabledTooltipButton", "visible": True}
|
||||||
|
croppedImageEditLogo = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCroppedImageItem_Community logo", "type": "EditCroppedImagePanel", "visible": True}
|
||||||
|
croppedImageEditBanner = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCroppedImageItem_Community banner", "type": "EditCroppedImagePanel", "visible": True}
|
||||||
|
|
||||||
|
# User List Panel
|
||||||
|
mainWindow_UserListPanel = {"container": statusDesktop_mainWindow, "type": "UserListPanel", "unnamed": 1, "visible": True}
|
||||||
|
userListPanel_StatusMemberListItem = {"container": mainWindow_UserListPanel, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
|
@ -0,0 +1,70 @@
|
||||||
|
from gui.objects_map.names import statusDesktop_mainWindow
|
||||||
|
|
||||||
|
# Map for messaging screens, views locators
|
||||||
|
|
||||||
|
mainWindow_chatView_ChatView = {"container": statusDesktop_mainWindow, "id": "chatView", "type": "ChatView", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
|
# Left Panel
|
||||||
|
mainWindow_contactColumnLoader_Loader = {"container": mainWindow_chatView_ChatView, "id": "contactColumnLoader", "type": "Loader", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_startChatButton_StatusIconTabButton = {"checkable": True, "container": mainWindow_contactColumnLoader_Loader, "objectName": "startChatButton", "type": "StatusIconTabButton", "visible": True}
|
||||||
|
mainWindow_search_edit_TextEdit = {"container": mainWindow_contactColumnLoader_Loader, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_contactColumnLoader_Loader, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||||
|
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||||
|
scrollView_ContactsColumnView_chatList_StatusChatList = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "ContactsColumnView_chatList", "type": "StatusChatList", "visible": True}
|
||||||
|
chatList_ListView = {"container": statusDesktop_mainWindow, "objectName": "chatListItems", "type": "StatusListView", "visible": True}
|
||||||
|
|
||||||
|
# Tool Bar
|
||||||
|
mainWindow_statusToolBar_StatusToolBar = {"container": mainWindow_chatView_ChatView, "objectName": "statusToolBar", "type": "StatusToolBar", "visible": True}
|
||||||
|
statusToolBar_Confirm_StatusButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "objectName": "inlineSelectorConfirmButton", "type": "StatusButton", "visible": True}
|
||||||
|
statusToolBar_Cancel_StatusButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
statusToolBar_StatusTagItem = {"container": mainWindow_statusToolBar_StatusToolBar, "type": "StatusTagItem", "visible": True}
|
||||||
|
|
||||||
|
# Chat View
|
||||||
|
mainWindow_ChatColumnView = {"container": mainWindow_chatView_ChatView, "type": "ChatColumnView", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_chatLogView_StatusListView = {"container": mainWindow_ChatColumnView, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
||||||
|
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True, "enabled": True}
|
||||||
|
|
||||||
|
# Create Chat View
|
||||||
|
mainWindow_CreateChatView = {"container": statusDesktop_mainWindow, "type": "CreateChatView", "unnamed": 1, "visible": True}
|
||||||
|
createChatView_confirmBtn = {"container": statusDesktop_mainWindow, "objectName": "inlineSelectorConfirmButton", "type": "StatusButton"}
|
||||||
|
createChatView_contactsList = {"container": statusDesktop_mainWindow, "objectName": "createChatContactsList", "type": "StatusListView", "visible": True}
|
||||||
|
mainWindow_Cancel_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "text": "Cancel", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
|
# Chat Messages View
|
||||||
|
mainWindow_ChatMessagesView = {"container": statusDesktop_mainWindow, "type": "ChatMessagesView", "unnamed": 1, "visible": True}
|
||||||
|
chatView_log = {"container": statusDesktop_mainWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
||||||
|
groupchatLogView_chatMessageViewDelegate_MessageView = {"container": chatView_log, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
||||||
|
groupMessagesItem = {"container": groupchatLogView_chatMessageViewDelegate_MessageView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||||
|
chatMessageViewDelegate_ChannelIdentifierView = {"container": chatLogView_chatMessageViewDelegate_MessageView, "type": "ChannelIdentifierView", "unnamed": 1, "visible": True}
|
||||||
|
chatLogView_Item = {"container": chatView_log, "type": "Item", "unnamed": 1, "visible": True}
|
||||||
|
statusChatInfoButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
||||||
|
moreOptionsButton_StatusFlatRoundButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatToolbarMoreOptionsButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||||
|
mainWindow_Overlay = {"container": statusDesktop_mainWindow, "type": "Overlay", "unnamed": 1, "visible": True}
|
||||||
|
edit_name_and_image_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "objectName": "editNameAndImageMenuItem", "text": "Edit name and image", "type": "StatusMenuItem", "visible": True}
|
||||||
|
leave_group_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "objectName": "deleteOrLeaveMenuItem", "text": "Leave group", "type": "StatusMenuItem", "visible": True}
|
||||||
|
mainWindow_inputScrollView_StatusScrollView = {"container": statusDesktop_mainWindow, "id": "inputScrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||||
|
inputScrollView_Message_PlaceholderText = {"container": mainWindow_inputScrollView_StatusScrollView, "text": "Message", "type": "PlaceholderText", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_scrollView_StatusScrollView = {"container": statusDesktop_mainWindow, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||||
|
scrollView_StatusChatListItem = {"container": mainWindow_scrollView_StatusScrollView, "type": "StatusChatListItem", "visible": True}
|
||||||
|
tiny_pin_icon_StatusIcon = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "tiny/pin-icon", "type": "StatusIcon"}
|
||||||
|
add_remove_from_group_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "type": "StatusMenuItem", "unnamed": 1, "visible": True}
|
||||||
|
mainWindow_inputScrollView_StatusScrollView = {"container": statusDesktop_mainWindow, "id": "inputScrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||||
|
inputScrollView_messageInputField_TextArea = {"container": mainWindow_inputScrollView_StatusScrollView, "objectName": "messageInputField", "type": "TextArea", "visible": True}
|
||||||
|
|
||||||
|
# User List Panel
|
||||||
|
mainWindow_UserListPanel = {"container": mainWindow_chatView_ChatView, "type": "UserListPanel", "unnamed": 1, "visible": True}
|
||||||
|
userListPanel_StatusMemberListItem = {"container": mainWindow_UserListPanel, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
|
# Group chat users list panel
|
||||||
|
mainWindow_userListPanel_StatusListView = {"container": statusDesktop_mainWindow, "objectName": "userListPanel", "type": "StatusListView", "visible": True}
|
||||||
|
groupUserListPanel_StatusMemberListItem = {"container": mainWindow_userListPanel_StatusListView, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
|
# Message quick actions
|
||||||
|
mainWindow_chatLogView_StatusListView = {"container": statusDesktop_mainWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
||||||
|
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "index": 0, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
||||||
|
chatMessageViewDelegate_StatusMessageQuickActions = {"container": chatLogView_chatMessageViewDelegate_MessageView, "type": "StatusMessageQuickActions", "unnamed": 1, "visible": True}
|
||||||
|
chatMessageViewDelegate_MessageView_toggleMessagePin_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "MessageView_toggleMessagePin", "type": "StatusFlatRoundButton", "visible": True}
|
||||||
|
chatMessageViewDelegate_replyToMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "replyToMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||||
|
chatMessageViewDelegate_editMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "editMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||||
|
chatMessageViewDelegate_markAsUnreadButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "markAsUnreadButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||||
|
chatMessageViewDelegate_chatDeleteMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "chatDeleteMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
|
@ -597,246 +597,6 @@ sview_ensAgreeTerms_StatusCheckBox = {"checkable": True, "container": mainWindow
|
||||||
mainWindow_Register_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "ensStartTransaction", "text": "Register", "type": "StatusButton", "visible": True}
|
mainWindow_Register_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "ensStartTransaction", "text": "Register", "type": "StatusButton", "visible": True}
|
||||||
mainWindow_EnsRegisteredView = {"container": statusDesktop_mainWindow, "type": "EnsRegisteredView", "unnamed": 1, "visible": True}
|
mainWindow_EnsRegisteredView = {"container": statusDesktop_mainWindow, "type": "EnsRegisteredView", "unnamed": 1, "visible": True}
|
||||||
|
|
||||||
# COMMUNITY NAMES
|
|
||||||
|
|
||||||
|
|
||||||
# Community Portal
|
|
||||||
mainWindow_communitiesPortalLayout_CommunitiesPortalLayout = {"container": statusDesktop_mainWindow, "objectName": "communitiesPortalLayout", "type": "CommunitiesPortalLayout", "visible": True}
|
|
||||||
mainWindow_Create_New_Community_StatusButton = {"checkable": False, "container": mainWindow_communitiesPortalLayout_CommunitiesPortalLayout, "objectName": "createCommunityButton", "type": "StatusButton", "visible": True}
|
|
||||||
|
|
||||||
# Community View
|
|
||||||
mainWindow_communityLoader_Loader = {"container": statusDesktop_mainWindow, "id": "communityLoader", "type": "Loader", "unnamed": 1, "visible": True}
|
|
||||||
# Left Panel
|
|
||||||
mainWindow_communityColumnView_CommunityColumnView = {"container": mainWindow_communityLoader_Loader, "objectName": "communityColumnView", "type": "CommunityColumnView", "visible": True}
|
|
||||||
mainWindow_communityHeaderButton_StatusChatInfoButton = {"checkable": False, "container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "communityHeaderButton", "type": "StatusChatInfoButton", "visible": True}
|
|
||||||
mainWindow_identicon_StatusSmartIdenticon = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "id": "identicon", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_statusChatInfoButtonNameText_TruncatedTextWithTooltip = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
|
||||||
mainWindow_Members_TruncatedTextWithTooltip = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "type": "TruncatedTextWithTooltip", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_startChatButton_StatusIconTabButton = {"checkable": True, "container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "startChatButton", "type": "StatusIconTabButton", "visible": True}
|
|
||||||
mainWindow_createChatOrCommunity_Loader = {"container": mainWindow_communityColumnView_CommunityColumnView, "id": "createChatOrCommunity", "type": "Loader", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_communityColumnView_CommunityColumnView, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
|
||||||
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
|
||||||
scrollView_chatListItems_StatusListView = {"container": scrollView_Flickable, "objectName": "chatListItems", "type": "StatusListView", "visible": True}
|
|
||||||
channel_listItem = {"container": scrollView_chatListItems_StatusListView, "id": "chatListDelegate", "type": "DropArea", "isCategory": False, "visible": True}
|
|
||||||
channel_identicon_StatusSmartIdenticon = {"container": None, "id": "identicon", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
|
||||||
channel_name_StatusBaseText = {"container": None, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_createChannelOrCategoryBtn_StatusBaseText = {"container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "createChannelOrCategoryBtn", "type": "StatusBaseText", "visible": True}
|
|
||||||
create_channel_StatusMenuItem = {"container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "createCommunityChannelBtn", "type": "StatusMenuItem", "visible": True}
|
|
||||||
mainWindow_Join_Community_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
add_categories_StatusFlatButton = {"checkable": False, "container": mainWindow_scrollView_StatusScrollView, "id": "manageBtn", "type": "StatusFlatButton", "visible": True}
|
|
||||||
categoryItem_StatusChatListCategoryItem = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "categoryItem", "type": "StatusChatListCategoryItem", "visible": True}
|
|
||||||
delete_Category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "deleteCategoryMenuItem", "type": "StatusMenuItem", "visible": True}
|
|
||||||
create_category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "createCommunityCategoryBtn", "type": "StatusMenuItem", "visible": True}
|
|
||||||
edit_Category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "editCategoryMenuItem", "type": "StatusMenuItem", "visible": True}
|
|
||||||
scrollView_menuButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "menuButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
|
||||||
scrollView_toggleButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "toggleButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
|
||||||
scrollView_addButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "addButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
|
||||||
add_channels_StatusButton = {"checkable": False, "container": mainWindow_scrollView_StatusScrollView, "id": "addMembersBtn", "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
scrollView_general_StatusChatListItem = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "general", "type": "StatusChatListItem", "visible": True}
|
|
||||||
|
|
||||||
# Tool Bar
|
|
||||||
mainWindow_statusToolBar_StatusToolBar = {"container": mainWindow_communityLoader_Loader, "objectName": "statusToolBar", "type": "StatusToolBar", "visible": True}
|
|
||||||
statusToolBar_chatToolbarMoreOptionsButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatToolbarMoreOptionsButton", "type": "StatusFlatRoundButton", "visible": True}
|
|
||||||
delete_Channel_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "deleteOrLeaveMenuItem", "type": "StatusMenuItem", "visible": True}
|
|
||||||
edit_Channel_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "editChannelMenuItem", "type": "StatusMenuItem", "visible": True}
|
|
||||||
statusToolBar_statusSmartIdenticonLetter_StatusLetterIdenticon = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusSmartIdenticonLetter", "type": "StatusLetterIdenticon", "visible": True}
|
|
||||||
statusToolBar_statusChatInfoButtonNameText_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
|
||||||
statusToolBar_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "type": "TruncatedTextWithTooltip", "unnamed": 1, "visible": True}
|
|
||||||
statusToolBar_chatInfoBtnInHeader_StatusChatInfoButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatInfoBtnInHeader", "type": "StatusChatInfoButton", "visible": True}
|
|
||||||
statusToolBar_StatusChatInfo_pinText_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "StatusChatInfo_pinText", "type": "TruncatedTextWithTooltip", "visible": True}
|
|
||||||
|
|
||||||
# Chat
|
|
||||||
mainWindow_ChatMessagesView = {"container": mainWindow_StatusWindow, "type": "ChatMessagesView", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_ChatColumnView = {"container": mainWindow_communityLoader_Loader, "type": "ChatColumnView", "unnamed": 1, "visible": True}
|
|
||||||
chatMessageViewDelegate_channelIdentifierNameText_StyledText = {"container": mainWindow_ChatColumnView, "objectName": "channelIdentifierNameText", "type": "StyledText", "visible": True}
|
|
||||||
chatMessageViewDelegate_Welcome = {"container": mainWindow_ChatColumnView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
|
||||||
chatMessageViewDelegate_channelIdentifierSmartIdenticon_StatusSmartIdenticon = {"container": mainWindow_ChatMessagesView, "objectName": "channelIdentifierSmartIdenticon", "type": "StatusSmartIdenticon", "visible": True}
|
|
||||||
mainWindow_chatLogView_StatusListView = {"container": mainWindow_StatusWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
|
||||||
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "index": 0, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
|
||||||
|
|
||||||
# Community Settings
|
|
||||||
mainWindow_communitySettingsBackToCommunityButton_StatusBaseText = {"container": mainWindow_communityLoader_Loader, "objectName": "communitySettingsBackToCommunityButton", "type": "StatusBaseText", "visible": True}
|
|
||||||
mainWindow_listView_StatusListView = {"container": mainWindow_communityLoader_Loader, "id": "listView", "type": "StatusListView", "unnamed": 1, "visible": True}
|
|
||||||
overview_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "objectName": "CommunitySettingsView_NavigationListItem_Overview", "type": "StatusNavigationListItem", "visible": True}
|
|
||||||
members_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 1, "objectName": "CommunitySettingsView_NavigationListItem_Members", "type": "StatusNavigationListItem", "visible": True}
|
|
||||||
permissions_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 2, "objectName": "CommunitySettingsView_NavigationListItem_Permissions", "type": "StatusNavigationListItem", "visible": True}
|
|
||||||
tokens_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 3, "objectName": "CommunitySettingsView_NavigationListItem_Tokens", "type": "StatusNavigationListItem", "visible": True}
|
|
||||||
airdrops_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 4, "objectName": "CommunitySettingsView_NavigationListItem_Airdrops", "type": "StatusNavigationListItem", "visible": True}
|
|
||||||
|
|
||||||
# Overview Settings View
|
|
||||||
mainWindow_OverviewSettingsPanel = {"container": mainWindow_communityLoader_Loader, "type": "OverviewSettingsPanel", "unnamed": 1, "visible": True}
|
|
||||||
communityOverviewSettingsCommunityName_StatusBaseText = {"container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsCommunityName", "type": "StatusBaseText", "visible": True}
|
|
||||||
communityOverviewSettingsCommunityDescription_StatusBaseText = {"container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsCommunityDescription", "type": "StatusBaseText", "visible": True}
|
|
||||||
mainWindow_Edit_Community_StatusButton = {"checkable": False, "container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsEditCommunityButton", "text": "Edit Community", "type": "StatusButton", "visible": True}
|
|
||||||
|
|
||||||
# Members Settings View
|
|
||||||
mainWindow_MembersSettingsPanel = {"container": mainWindow_communityLoader_Loader, "type": "MembersSettingsPanel", "unnamed": 1, "visible": True}
|
|
||||||
embersListViews_ListView = {"container": mainWindow_MembersSettingsPanel, "objectName": "CommunityMembersTabPanel_MembersListViews", "type": "ListView", "visible": True}
|
|
||||||
memberItem_StatusMemberListItem = {"container": embersListViews_ListView, "id": "memberItem", "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# Tokens View
|
|
||||||
mainWindow_mintPanel_MintTokensSettingsPanel = {"container": mainWindow_StatusWindow, "id": "mintPanel", "type": "MintTokensSettingsPanel", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_MintedTokensView = {"container": mainWindow_StatusWindow, "type": "MintedTokensView", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_Mint_token_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
|
||||||
welcomeSettingsTokens_Image = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
|
||||||
welcomeSettingsTokens_Title = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
|
||||||
welcomeSettingsTokensSubtitle = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
|
||||||
checkListText_0_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
|
||||||
checkListText_1_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
|
||||||
checkListText_2_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
|
||||||
mint_Owner_Tokens_InfoBoxPanel = {"container": mainWindow_MintedTokensView, "type": "StatusInfoBoxPanel", "unnamed": 1, "visible": True}
|
|
||||||
mint_Owner_Tokens_StatusButton = {"checkable": False, "container": mainWindow_MintedTokensView, "id": "button", "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# Airdrops View
|
|
||||||
mainWindow_airdropPanel_AirdropsSettingsPanel = {"container": mainWindow_StatusWindow, "id": "airdropPanel", "type": "AirdropsSettingsPanel", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_WelcomeSettingsView = {"container": mainWindow_StatusWindow, "type": "WelcomeSettingsView", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_New_Airdrop_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
|
||||||
welcomeSettingsAirdrops_Image = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
|
||||||
welcomeSettingsAirdrops_Title = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
|
||||||
welcomeSettingsAirdrops_Subtitle = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
|
||||||
checkListText_0_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
|
||||||
checkListText_1_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
|
||||||
checkListText_2_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
|
||||||
infoBox_StatusInfoBoxPanel = {"container": mainWindow_WelcomeSettingsView, "id": "infoBox", "type": "StatusInfoBoxPanel", "unnamed": 1, "visible": True}
|
|
||||||
mint_Owner_token_Airdrops_StatusButton = {"checkable": False, "container": mainWindow_WelcomeSettingsView, "id": "button", "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# Permissions Intro View
|
|
||||||
community_welcome_screen_image = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
|
||||||
community_welcome_screen_title = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
|
||||||
community_welcome_screen_subtitle = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
|
||||||
community_welcome_screen_checkList_element1 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
|
||||||
community_welcome_screen_checkList_element2 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
|
||||||
community_welcome_screen_checkList_element3 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
|
||||||
add_new_permission_button = {"container": statusDesktop_mainWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
|
||||||
|
|
||||||
# Permissions Settings View
|
|
||||||
mainWindow_editPermissionView_EditPermissionView = {"container": statusDesktop_mainWindow, "id": "editPermissionView", "type": "EditPermissionView", "unnamed": 1, "visible": True}
|
|
||||||
editPermissionView_Who_holds_StatusItemSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "tokensSelector", "type": "StatusItemSelector", "unnamed": 1, "visible": True}
|
|
||||||
editPermissionView_Is_allowed_to_StatusFlowSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "permissionsSelector", "type": "StatusFlowSelector", "unnamed": 1, "visible": True}
|
|
||||||
editPermissionView_In_StatusItemSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "inSelector", "type": "StatusItemSelector", "unnamed": 1, "visible": True}
|
|
||||||
editPermissionView_whoHoldsSwitch_StatusSwitch = {"checkable": True, "container": mainWindow_editPermissionView_EditPermissionView, "id": "whoHoldsSwitch", "type": "StatusSwitch", "unnamed": 1, "visible": True}
|
|
||||||
edit_TextEdit = {"container": statusDesktop_mainWindow_overlay, "type": "TextEdit", "unnamed": 1, "visible": True}
|
|
||||||
inputValue_StyledTextField = {"container": statusDesktop_mainWindow_overlay, "echoMode": 0, "id": "inputValue", "type": "StyledTextField", "unnamed": 1, "visible": True}
|
|
||||||
o_TokenItem = {"container": statusDesktop_mainWindow_overlay, "index": 0, "type": "TokenItem", "unnamed": 1, "visible": True}
|
|
||||||
add_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
customPermissionListItem = {"container": statusDesktop_mainWindow_overlay, "objectName": "becomeAdmin", "type": "CustomPermissionListItem", "visible": True}
|
|
||||||
communityItem_CommunityListItem = {"container": statusDesktop_mainWindow_overlay, "id": "communityItem", "type": "CommunityListItem", "unnamed": 1, "visible": True}
|
|
||||||
editPermissionView_switchItem_StatusSwitch = {"checkable": True, "container": mainWindow_editPermissionView_EditPermissionView, "id": "switchItem", "type": "StatusSwitch", "unnamed": 1, "visible": True}
|
|
||||||
editPermissionView_Create_permission_StatusButton = {"checkable": False, "container": mainWindow_editPermissionView_EditPermissionView, "text": "Create permission", "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_PermissionsView = {"container": statusDesktop_mainWindow, "type": "PermissionsView", "unnamed": 1, "visible": True}
|
|
||||||
o_StatusListItemTag = {"container": mainWindow_PermissionsView, "type": "StatusListItemTag", "visible": True}
|
|
||||||
o_IntroPanel = {"container": mainWindow_PermissionsView, "type": "IntroPanel", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_PermissionsSettingsPanel = {"container": statusDesktop_mainWindow, "type": "PermissionsSettingsPanel", "unnamed": 1, "visible": True}
|
|
||||||
whoHoldsTagListItem = {"container": mainWindow_PermissionsView, "objectName": "whoHoldsStatusListItem", "type": "StatusListItemTag", "visible": True}
|
|
||||||
isAllowedTagListItem = {"container": mainWindow_PermissionsView, "objectName": "isAllowedStatusListItem", "type": "StatusListItemTag", "visible": True}
|
|
||||||
inCommunityTagListItem = {"container": mainWindow_PermissionsView, "objectName": "inCommunityStatusListItem", "type": "StatusListItemTag", "visible": True}
|
|
||||||
edit_pencil_icon_StatusIcon = {"container": mainWindow_PermissionsView, "objectName": "edit_pencil-icon", "type": "StatusIcon", "visible": True}
|
|
||||||
delete_icon_StatusIcon = {"container": mainWindow_PermissionsView, "objectName": "delete-icon", "type": "StatusIcon", "visible": True}
|
|
||||||
hide_icon_StatusIcon = {"container": mainWindow_PermissionsView, "objectName": "hide-icon", "type": "StatusIcon", "visible": True}
|
|
||||||
editPermissionView_settingsDirtyToastMessage_SettingsDirtyToastMessage = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "settingsDirtyToastMessage", "type": "SettingsDirtyToastMessage", "unnamed": 1, "visible": True}
|
|
||||||
update_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
isAllowedToEditPermissionView_StatusListItemTag = {"container": mainWindow_editPermissionView_EditPermissionView, "type": "StatusListItemTag", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# Edit Community
|
|
||||||
mainWindow_communityEditPanelScrollView_EditSettingsPanel = {"container": statusDesktop_mainWindow, "objectName": "communityEditPanelScrollView", "type": "EditSettingsPanel", "visible": True}
|
|
||||||
communityEditPanelScrollView_Flickable = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "type": "Flickable", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_communityNameInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityNameInput", "type": "TextEdit", "visible": True}
|
|
||||||
communityEditPanelScrollView_communityDescriptionInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityDescriptionInput", "type": "TextEdit", "visible": True}
|
|
||||||
communityEditPanelScrollView_communityLogoPicker_LogoPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityLogoPicker", "type": "LogoPicker", "visible": True}
|
|
||||||
communityEditPanelScrollView_image_StatusImage = {"container": communityEditPanelScrollView_communityLogoPicker_LogoPicker, "id": "image", "type": "StatusImage", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_editButton_StatusRoundButton = {"container": communityEditPanelScrollView_communityLogoPicker_LogoPicker, "id": "editButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_communityBannerPicker_BannerPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityBannerPicker", "type": "BannerPicker", "visible": True}
|
|
||||||
communityEditPanelScrollView_image_StatusImage_2 = {"container": communityEditPanelScrollView_communityBannerPicker_BannerPicker, "id": "image", "type": "StatusImage", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_editButton_StatusRoundButton_2 = {"container": communityEditPanelScrollView_communityBannerPicker_BannerPicker, "id": "editButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_StatusPickerButton = {"checkable": False, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "type": "StatusPickerButton", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_communityTagsPicker_TagsPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityTagsPicker", "type": "TagsPicker", "visible": True}
|
|
||||||
communityEditPanelScrollView_flow_Flow = {"container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "id": "flow", "type": "Flow", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_StatusCommunityTag = {"container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "type": "StatusCommunityTag", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_Choose_StatusPickerButton = {"checkable": False, "container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "type": "StatusPickerButton", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_archiveSupportToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "archiveSupportToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_requestToJoinToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "requestToJoinToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_pinMessagesToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "pinMessagesToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
|
||||||
communityEditPanelScrollView_editCommunityIntroInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCommunityIntroInput", "type": "TextEdit", "visible": True}
|
|
||||||
communityEditPanelScrollView_editCommunityOutroInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCommunityOutroInput", "type": "TextEdit", "visible": True}
|
|
||||||
mainWindow_Save_changes_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "settingsDirtyToastMessageSaveButton", "type": "DisabledTooltipButton", "visible": True}
|
|
||||||
editPermissionView_Save_changes_StatusButton = {"container": mainWindow_editPermissionView_EditPermissionView, "objectName": "settingsDirtyToastMessageSaveButton", "type": "DisabledTooltipButton", "visible": True}
|
|
||||||
croppedImageEditLogo = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCroppedImageItem_Community logo", "type": "EditCroppedImagePanel", "visible": True}
|
|
||||||
croppedImageEditBanner = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCroppedImageItem_Community banner", "type": "EditCroppedImagePanel", "visible": True}
|
|
||||||
|
|
||||||
# User List Panel
|
|
||||||
mainWindow_UserListPanel = {"container": statusDesktop_mainWindow, "type": "UserListPanel", "unnamed": 1, "visible": True}
|
|
||||||
userListPanel_StatusMemberListItem = {"container": mainWindow_UserListPanel, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# MESSAGES NAMES
|
|
||||||
|
|
||||||
|
|
||||||
mainWindow_chatView_ChatView = {"container": statusDesktop_mainWindow, "id": "chatView", "type": "ChatView", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# Left Panel
|
|
||||||
mainWindow_contactColumnLoader_Loader = {"container": mainWindow_chatView_ChatView, "id": "contactColumnLoader", "type": "Loader", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_startChatButton_StatusIconTabButton = {"checkable": True, "container": mainWindow_contactColumnLoader_Loader, "objectName": "startChatButton", "type": "StatusIconTabButton", "visible": True}
|
|
||||||
mainWindow_search_edit_TextEdit = {"container": mainWindow_contactColumnLoader_Loader, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_contactColumnLoader_Loader, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
|
||||||
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
|
||||||
scrollView_ContactsColumnView_chatList_StatusChatList = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "ContactsColumnView_chatList", "type": "StatusChatList", "visible": True}
|
|
||||||
chatList_ListView = {"container": statusDesktop_mainWindow, "objectName": "chatListItems", "type": "StatusListView", "visible": True}
|
|
||||||
|
|
||||||
# Tool Bar
|
|
||||||
mainWindow_statusToolBar_StatusToolBar = {"container": mainWindow_chatView_ChatView, "objectName": "statusToolBar", "type": "StatusToolBar", "visible": True}
|
|
||||||
statusToolBar_Confirm_StatusButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "objectName": "inlineSelectorConfirmButton", "type": "StatusButton", "visible": True}
|
|
||||||
statusToolBar_Cancel_StatusButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
statusToolBar_StatusTagItem = {"container": mainWindow_statusToolBar_StatusToolBar, "type": "StatusTagItem", "visible": True}
|
|
||||||
|
|
||||||
# Chat View
|
|
||||||
mainWindow_ChatColumnView = {"container": mainWindow_chatView_ChatView, "type": "ChatColumnView", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_chatLogView_StatusListView = {"container": mainWindow_ChatColumnView, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
|
||||||
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True, "enabled": True}
|
|
||||||
|
|
||||||
# Create Chat View
|
|
||||||
mainWindow_CreateChatView = {"container": statusDesktop_mainWindow, "type": "CreateChatView", "unnamed": 1, "visible": True}
|
|
||||||
createChatView_confirmBtn = {"container": statusDesktop_mainWindow, "objectName": "inlineSelectorConfirmButton", "type": "StatusButton"}
|
|
||||||
createChatView_contactsList = {"container": statusDesktop_mainWindow, "objectName": "createChatContactsList", "type": "StatusListView", "visible": True}
|
|
||||||
mainWindow_Cancel_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "text": "Cancel", "type": "StatusButton", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# Chat Messages View
|
|
||||||
mainWindow_ChatMessagesView = {"container": statusDesktop_mainWindow, "type": "ChatMessagesView", "unnamed": 1, "visible": True}
|
|
||||||
chatView_log = {"container": statusDesktop_mainWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
|
||||||
groupchatLogView_chatMessageViewDelegate_MessageView = {"container": chatView_log, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
|
||||||
groupMessagesItem = {"container": groupchatLogView_chatMessageViewDelegate_MessageView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
|
||||||
chatMessageViewDelegate_ChannelIdentifierView = {"container": chatLogView_chatMessageViewDelegate_MessageView, "type": "ChannelIdentifierView", "unnamed": 1, "visible": True}
|
|
||||||
chatLogView_Item = {"container": chatView_log, "type": "Item", "unnamed": 1, "visible": True}
|
|
||||||
statusChatInfoButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
|
||||||
moreOptionsButton_StatusFlatRoundButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatToolbarMoreOptionsButton", "type": "StatusFlatRoundButton", "visible": True}
|
|
||||||
mainWindow_Overlay = {"container": statusDesktop_mainWindow, "type": "Overlay", "unnamed": 1, "visible": True}
|
|
||||||
edit_name_and_image_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "objectName": "editNameAndImageMenuItem", "text": "Edit name and image", "type": "StatusMenuItem", "visible": True}
|
|
||||||
leave_group_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "objectName": "deleteOrLeaveMenuItem", "text": "Leave group", "type": "StatusMenuItem", "visible": True}
|
|
||||||
mainWindow_inputScrollView_StatusScrollView = {"container": statusDesktop_mainWindow, "id": "inputScrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
|
||||||
inputScrollView_Message_PlaceholderText = {"container": mainWindow_inputScrollView_StatusScrollView, "text": "Message", "type": "PlaceholderText", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_StatusWindow, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
|
||||||
scrollView_StatusChatListItem = {"container": mainWindow_scrollView_StatusScrollView, "type": "StatusChatListItem", "visible": True}
|
|
||||||
tiny_pin_icon_StatusIcon = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "tiny/pin-icon", "type": "StatusIcon"}
|
|
||||||
add_remove_from_group_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "type": "StatusMenuItem", "unnamed": 1, "visible": True}
|
|
||||||
mainWindow_inputScrollView_StatusScrollView = {"container": mainWindow_StatusWindow, "id": "inputScrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
|
||||||
inputScrollView_messageInputField_TextArea = {"container": mainWindow_inputScrollView_StatusScrollView, "objectName": "messageInputField", "type": "TextArea", "visible": True}
|
|
||||||
|
|
||||||
# User List Panel
|
|
||||||
mainWindow_UserListPanel = {"container": mainWindow_chatView_ChatView, "type": "UserListPanel", "unnamed": 1, "visible": True}
|
|
||||||
userListPanel_StatusMemberListItem = {"container": mainWindow_UserListPanel, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# Group chat users list panel
|
|
||||||
mainWindow_userListPanel_StatusListView = {"container": statusDesktop_mainWindow, "objectName": "userListPanel", "type": "StatusListView", "visible": True}
|
|
||||||
groupUserListPanel_StatusMemberListItem = {"container": mainWindow_userListPanel_StatusListView, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
|
||||||
|
|
||||||
# Message quick actions
|
|
||||||
mainWindow_chatLogView_StatusListView = {"container": statusDesktop_mainWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
|
||||||
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "index": 0, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
|
||||||
chatMessageViewDelegate_StatusMessageQuickActions = {"container": chatLogView_chatMessageViewDelegate_MessageView, "type": "StatusMessageQuickActions", "unnamed": 1, "visible": True}
|
|
||||||
chatMessageViewDelegate_MessageView_toggleMessagePin_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "MessageView_toggleMessagePin", "type": "StatusFlatRoundButton", "visible": True}
|
|
||||||
chatMessageViewDelegate_replyToMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "replyToMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
|
||||||
chatMessageViewDelegate_editMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "editMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
|
||||||
chatMessageViewDelegate_markAsUnreadButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "markAsUnreadButton", "type": "StatusFlatRoundButton", "visible": True}
|
|
||||||
chatMessageViewDelegate_chatDeleteMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "chatDeleteMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
|
||||||
|
|
||||||
# ONBOARDING NAMES
|
# ONBOARDING NAMES
|
||||||
mainWindow_onboardingBackButton_StatusRoundButton = {"container": statusDesktop_mainWindow, "objectName": "onboardingBackButton", "type": "StatusRoundButton", "visible": True}
|
mainWindow_onboardingBackButton_StatusRoundButton = {"container": statusDesktop_mainWindow, "objectName": "onboardingBackButton", "type": "StatusRoundButton", "visible": True}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ from gui.elements.button import Button
|
||||||
from gui.elements.list import List
|
from gui.elements.list import List
|
||||||
from gui.elements.object import QObject
|
from gui.elements.object import QObject
|
||||||
from gui.elements.text_label import TextLabel
|
from gui.elements.text_label import TextLabel
|
||||||
from gui.objects_map import names
|
from gui.objects_map import names, communities_names, messaging_names
|
||||||
from gui.screens.community_settings import CommunitySettingsScreen
|
from gui.screens.community_settings import CommunitySettingsScreen
|
||||||
from scripts.tools.image import Image
|
from scripts.tools.image import Image
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ from scripts.tools.image import Image
|
||||||
class CommunityScreen(QObject):
|
class CommunityScreen(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_communityLoader_Loader)
|
super().__init__(communities_names.mainWindow_communityLoader_Loader)
|
||||||
self.left_panel = LeftPanel()
|
self.left_panel = LeftPanel()
|
||||||
self.tool_bar = ToolBar()
|
self.tool_bar = ToolBar()
|
||||||
self.chat = Chat()
|
self.chat = Chat()
|
||||||
|
@ -90,15 +90,15 @@ class CommunityScreen(QObject):
|
||||||
class ToolBar(QObject):
|
class ToolBar(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_statusToolBar_StatusToolBar)
|
super().__init__(communities_names.mainWindow_statusToolBar_StatusToolBar)
|
||||||
self._more_options_button = Button(names.statusToolBar_chatToolbarMoreOptionsButton)
|
self._more_options_button = Button(communities_names.statusToolBar_chatToolbarMoreOptionsButton)
|
||||||
self._options_list = List(names.o_StatusListView)
|
self._options_list = List(names.o_StatusListView)
|
||||||
self._edit_channel_context_item = QObject(names.edit_Channel_StatusMenuItem)
|
self._edit_channel_context_item = QObject(communities_names.edit_Channel_StatusMenuItem)
|
||||||
self._channel_icon = QObject(names.statusToolBar_statusSmartIdenticonLetter_StatusLetterIdenticon)
|
self._channel_icon = QObject(communities_names.statusToolBar_statusSmartIdenticonLetter_StatusLetterIdenticon)
|
||||||
self._channel_name = TextLabel(names.statusToolBar_statusChatInfoButtonNameText_TruncatedTextWithTooltip)
|
self._channel_name = TextLabel(communities_names.statusToolBar_statusChatInfoButtonNameText_TruncatedTextWithTooltip)
|
||||||
self._channel_description = TextLabel(names.statusToolBar_TruncatedTextWithTooltip)
|
self._channel_description = TextLabel(communities_names.statusToolBar_TruncatedTextWithTooltip)
|
||||||
self._delete_channel_context_item = QObject(names.delete_Channel_StatusMenuItem)
|
self._delete_channel_context_item = QObject(communities_names.delete_Channel_StatusMenuItem)
|
||||||
self._channel_header = QObject(names.statusToolBar_chatInfoBtnInHeader_StatusChatInfoButton)
|
self._channel_header = QObject(communities_names.statusToolBar_chatInfoBtnInHeader_StatusChatInfoButton)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get channel emoji')
|
@allure.step('Get channel emoji')
|
||||||
|
@ -185,27 +185,27 @@ class CategoryItem:
|
||||||
class LeftPanel(QObject):
|
class LeftPanel(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_communityColumnView_CommunityColumnView)
|
super().__init__(communities_names.mainWindow_communityColumnView_CommunityColumnView)
|
||||||
self._community_info_button = Button(names.mainWindow_communityHeaderButton_StatusChatInfoButton)
|
self._community_info_button = Button(communities_names.mainWindow_communityHeaderButton_StatusChatInfoButton)
|
||||||
self._community_logo = QObject(names.mainWindow_identicon_StatusSmartIdenticon)
|
self._community_logo = QObject(communities_names.mainWindow_identicon_StatusSmartIdenticon)
|
||||||
self._name_text_label = TextLabel(names.mainWindow_statusChatInfoButtonNameText_TruncatedTextWithTooltip)
|
self._name_text_label = TextLabel(communities_names.mainWindow_statusChatInfoButtonNameText_TruncatedTextWithTooltip)
|
||||||
self._members_text_label = TextLabel(names.mainWindow_Members_TruncatedTextWithTooltip)
|
self._members_text_label = TextLabel(communities_names.mainWindow_Members_TruncatedTextWithTooltip)
|
||||||
self._general_channel_item = QObject(names.scrollView_general_StatusChatListItem)
|
self._general_channel_item = QObject(communities_names.scrollView_general_StatusChatListItem)
|
||||||
self._add_channels_button = Button(names.add_channels_StatusButton)
|
self._add_channels_button = Button(communities_names.add_channels_StatusButton)
|
||||||
self._channel_list_item = QObject(names.channel_listItem)
|
self._channel_list_item = QObject(communities_names.channel_listItem)
|
||||||
self._channel_icon_template = QObject(names.channel_identicon_StatusSmartIdenticon)
|
self._channel_icon_template = QObject(communities_names.channel_identicon_StatusSmartIdenticon)
|
||||||
self._channel_or_category_button = Button(names.mainWindow_createChannelOrCategoryBtn_StatusBaseText)
|
self._channel_or_category_button = Button(communities_names.mainWindow_createChannelOrCategoryBtn_StatusBaseText)
|
||||||
self._create_channel_menu_item = Button(names.create_channel_StatusMenuItem)
|
self._create_channel_menu_item = Button(communities_names.create_channel_StatusMenuItem)
|
||||||
self._create_category_menu_item = Button(names.create_category_StatusMenuItem)
|
self._create_category_menu_item = Button(communities_names.create_category_StatusMenuItem)
|
||||||
self._join_community_button = Button(names.mainWindow_Join_Community_StatusButton)
|
self._join_community_button = Button(communities_names.mainWindow_Join_Community_StatusButton)
|
||||||
self._categories_items_list = List(names.scrollView_chatListItems_StatusListView)
|
self._categories_items_list = List(communities_names.scrollView_chatListItems_StatusListView)
|
||||||
self._category_list_item = QObject(names.categoryItem_StatusChatListCategoryItem)
|
self._category_list_item = QObject(communities_names.categoryItem_StatusChatListCategoryItem)
|
||||||
self._create_category_button = Button(names.add_categories_StatusFlatButton)
|
self._create_category_button = Button(communities_names.add_categories_StatusFlatButton)
|
||||||
self._delete_category_item = QObject(names.delete_Category_StatusMenuItem)
|
self._delete_category_item = QObject(communities_names.delete_Category_StatusMenuItem)
|
||||||
self._edit_category_item = QObject(names.edit_Category_StatusMenuItem)
|
self._edit_category_item = QObject(communities_names.edit_Category_StatusMenuItem)
|
||||||
self._add_channel_inside_category_item = QObject(names.scrollView_addButton_StatusChatListCategoryItemButton)
|
self._add_channel_inside_category_item = QObject(communities_names.scrollView_addButton_StatusChatListCategoryItemButton)
|
||||||
self._more_button = Button(names.scrollView_menuButton_StatusChatListCategoryItemButton)
|
self._more_button = Button(communities_names.scrollView_menuButton_StatusChatListCategoryItemButton)
|
||||||
self._arrow_button = Button(names.scrollView_toggleButton_StatusChatListCategoryItemButton)
|
self._arrow_button = Button(communities_names.scrollView_toggleButton_StatusChatListCategoryItemButton)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get community logo')
|
@allure.step('Get community logo')
|
||||||
|
@ -265,10 +265,17 @@ class LeftPanel(QObject):
|
||||||
return CommunitySettingsScreen().wait_until_appears()
|
return CommunitySettingsScreen().wait_until_appears()
|
||||||
|
|
||||||
@allure.step('Open create channel popup')
|
@allure.step('Open create channel popup')
|
||||||
def open_create_channel_popup(self) -> NewChannelPopup:
|
def open_create_channel_popup(self, attempt: int =2) -> NewChannelPopup:
|
||||||
self._channel_or_category_button.click()
|
try:
|
||||||
self._create_channel_menu_item.click()
|
self._channel_or_category_button.click()
|
||||||
return NewChannelPopup().wait_until_appears()
|
self._create_channel_menu_item.click()
|
||||||
|
return NewChannelPopup().wait_until_appears()
|
||||||
|
except LookupError as er:
|
||||||
|
if attempt:
|
||||||
|
self.open_create_channel_popup(attempt - 1)
|
||||||
|
else:
|
||||||
|
raise er
|
||||||
|
|
||||||
|
|
||||||
@allure.step('Get visibility state of create channel or category button')
|
@allure.step('Get visibility state of create channel or category button')
|
||||||
def is_create_channel_or_category_button_visible(self) -> bool:
|
def is_create_channel_or_category_button_visible(self) -> bool:
|
||||||
|
@ -382,11 +389,11 @@ class LeftPanel(QObject):
|
||||||
class Chat(QObject):
|
class Chat(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_ChatColumnView)
|
super().__init__(communities_names.mainWindow_ChatColumnView)
|
||||||
self._channel_icon = QObject(names.chatMessageViewDelegate_channelIdentifierSmartIdenticon_StatusSmartIdenticon)
|
self._channel_icon = QObject(communities_names.chatMessageViewDelegate_channelIdentifierSmartIdenticon_StatusSmartIdenticon)
|
||||||
self._channel_name_label = TextLabel(names.chatMessageViewDelegate_channelIdentifierNameText_StyledText)
|
self._channel_name_label = TextLabel(communities_names.chatMessageViewDelegate_channelIdentifierNameText_StyledText)
|
||||||
self._channel_welcome_label = TextLabel(names.chatMessageViewDelegate_Welcome)
|
self._channel_welcome_label = TextLabel(communities_names.chatMessageViewDelegate_Welcome)
|
||||||
self._channel_identifier_view = QObject(names.chatMessageViewDelegate_ChannelIdentifierView)
|
self._channel_identifier_view = QObject(messaging_names.chatMessageViewDelegate_ChannelIdentifierView)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get channel emoji')
|
@allure.step('Get channel emoji')
|
||||||
|
@ -412,8 +419,8 @@ class Chat(QObject):
|
||||||
class Members(QObject):
|
class Members(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_UserListPanel)
|
super().__init__(communities_names.mainWindow_UserListPanel)
|
||||||
self._member_item = QObject(names.userListPanel_StatusMemberListItem)
|
self._member_item = QObject(communities_names.userListPanel_StatusMemberListItem)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get all members')
|
@allure.step('Get all members')
|
||||||
|
|
|
@ -4,14 +4,14 @@ import driver
|
||||||
from gui.components.community.create_community_popups import CreateCommunitiesBanner, CreateCommunityPopup
|
from gui.components.community.create_community_popups import CreateCommunitiesBanner, CreateCommunityPopup
|
||||||
from gui.elements.button import Button
|
from gui.elements.button import Button
|
||||||
from gui.elements.object import QObject
|
from gui.elements.object import QObject
|
||||||
from gui.objects_map import names
|
from gui.objects_map import communities_names
|
||||||
|
|
||||||
|
|
||||||
class CommunitiesPortal(QObject):
|
class CommunitiesPortal(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_communitiesPortalLayout_CommunitiesPortalLayout)
|
super().__init__(communities_names.mainWindow_communitiesPortalLayout_CommunitiesPortalLayout)
|
||||||
self._create_community_button = Button(names.mainWindow_Create_New_Community_StatusButton)
|
self._create_community_button = Button(communities_names.mainWindow_Create_New_Community_StatusButton)
|
||||||
|
|
||||||
@allure.step('Open create community popup')
|
@allure.step('Open create community popup')
|
||||||
def open_create_community_popup(self) -> CreateCommunityPopup:
|
def open_create_community_popup(self) -> CreateCommunityPopup:
|
||||||
|
|
|
@ -15,27 +15,27 @@ from gui.elements.object import QObject
|
||||||
from gui.elements.scroll import Scroll
|
from gui.elements.scroll import Scroll
|
||||||
from gui.elements.text_edit import TextEdit
|
from gui.elements.text_edit import TextEdit
|
||||||
from gui.elements.text_label import TextLabel
|
from gui.elements.text_label import TextLabel
|
||||||
from gui.objects_map import names
|
from gui.objects_map import communities_names
|
||||||
from scripts.tools.image import Image
|
from scripts.tools.image import Image
|
||||||
|
|
||||||
|
|
||||||
class CommunitySettingsScreen(QObject):
|
class CommunitySettingsScreen(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_communityLoader_Loader)
|
super().__init__(communities_names.mainWindow_communityLoader_Loader)
|
||||||
self.left_panel = LeftPanel()
|
self.left_panel = LeftPanel()
|
||||||
|
|
||||||
|
|
||||||
class LeftPanel(QObject):
|
class LeftPanel(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_communityColumnView_CommunityColumnView)
|
super().__init__(communities_names.mainWindow_communityColumnView_CommunityColumnView)
|
||||||
self._back_to_community_button = Button(names.mainWindow_communitySettingsBackToCommunityButton_StatusBaseText)
|
self._back_to_community_button = Button(communities_names.mainWindow_communitySettingsBackToCommunityButton_StatusBaseText)
|
||||||
self._overview_button = Button(names.overview_StatusNavigationListItem)
|
self._overview_button = Button(communities_names.overview_StatusNavigationListItem)
|
||||||
self._members_button = Button(names.members_StatusNavigationListItem)
|
self._members_button = Button(communities_names.members_StatusNavigationListItem)
|
||||||
self._permissions_button = Button(names.permissions_StatusNavigationListItem)
|
self._permissions_button = Button(communities_names.permissions_StatusNavigationListItem)
|
||||||
self._tokens_button = Button(names.tokens_StatusNavigationListItem)
|
self._tokens_button = Button(communities_names.tokens_StatusNavigationListItem)
|
||||||
self._airdrops_button = Button(names.airdrops_StatusNavigationListItem)
|
self._airdrops_button = Button(communities_names.airdrops_StatusNavigationListItem)
|
||||||
|
|
||||||
@allure.step('Open community main view')
|
@allure.step('Open community main view')
|
||||||
def back_to_community(self):
|
def back_to_community(self):
|
||||||
|
@ -72,10 +72,10 @@ class LeftPanel(QObject):
|
||||||
class OverviewView(QObject):
|
class OverviewView(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_OverviewSettingsPanel)
|
super().__init__(communities_names.mainWindow_OverviewSettingsPanel)
|
||||||
self._name_text_label = TextLabel(names.communityOverviewSettingsCommunityName_StatusBaseText)
|
self._name_text_label = TextLabel(communities_names.communityOverviewSettingsCommunityName_StatusBaseText)
|
||||||
self._description_text_label = TextLabel(names.communityOverviewSettingsCommunityDescription_StatusBaseText)
|
self._description_text_label = TextLabel(communities_names.communityOverviewSettingsCommunityDescription_StatusBaseText)
|
||||||
self._edit_button = Button(names.mainWindow_Edit_Community_StatusButton)
|
self._edit_button = Button(communities_names.mainWindow_Edit_Community_StatusButton)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get community name')
|
@allure.step('Get community name')
|
||||||
|
@ -103,26 +103,26 @@ class OverviewView(QObject):
|
||||||
class EditCommunityView(QObject):
|
class EditCommunityView(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_communityEditPanelScrollView_EditSettingsPanel)
|
super().__init__(communities_names.mainWindow_communityEditPanelScrollView_EditSettingsPanel)
|
||||||
self._scroll = Scroll(names.communityEditPanelScrollView_Flickable)
|
self._scroll = Scroll(communities_names.communityEditPanelScrollView_Flickable)
|
||||||
self._name_text_edit = TextEdit(names.communityEditPanelScrollView_communityNameInput_TextEdit)
|
self._name_text_edit = TextEdit(communities_names.communityEditPanelScrollView_communityNameInput_TextEdit)
|
||||||
self._description_text_edit = TextEdit(names.communityEditPanelScrollView_communityDescriptionInput_TextEdit)
|
self._description_text_edit = TextEdit(communities_names.communityEditPanelScrollView_communityDescriptionInput_TextEdit)
|
||||||
self._logo = QObject(names.communityEditPanelScrollView_image_StatusImage)
|
self._logo = QObject(communities_names.communityEditPanelScrollView_image_StatusImage)
|
||||||
self._add_logo_button = Button(names.communityEditPanelScrollView_editButton_StatusRoundButton)
|
self._add_logo_button = Button(communities_names.communityEditPanelScrollView_editButton_StatusRoundButton)
|
||||||
self._banner = QObject(names.communityEditPanelScrollView_image_StatusImage_2)
|
self._banner = QObject(communities_names.communityEditPanelScrollView_image_StatusImage_2)
|
||||||
self._add_banner_button = Button(names.communityEditPanelScrollView_editButton_StatusRoundButton_2)
|
self._add_banner_button = Button(communities_names.communityEditPanelScrollView_editButton_StatusRoundButton_2)
|
||||||
self._select_color_button = Button(names.communityEditPanelScrollView_StatusPickerButton)
|
self._select_color_button = Button(communities_names.communityEditPanelScrollView_StatusPickerButton)
|
||||||
self._choose_tag_button = Button(names.communityEditPanelScrollView_Choose_StatusPickerButton)
|
self._choose_tag_button = Button(communities_names.communityEditPanelScrollView_Choose_StatusPickerButton)
|
||||||
self._tag_item = QObject(names.communityEditPanelScrollView_StatusCommunityTag)
|
self._tag_item = QObject(communities_names.communityEditPanelScrollView_StatusCommunityTag)
|
||||||
self._archive_support_checkbox = CheckBox(
|
self._archive_support_checkbox = CheckBox(
|
||||||
names.communityEditPanelScrollView_archiveSupportToggle_StatusCheckBox)
|
communities_names.communityEditPanelScrollView_archiveSupportToggle_StatusCheckBox)
|
||||||
self._request_to_join_checkbox = CheckBox(names.communityEditPanelScrollView_requestToJoinToggle_StatusCheckBox)
|
self._request_to_join_checkbox = CheckBox(communities_names.communityEditPanelScrollView_requestToJoinToggle_StatusCheckBox)
|
||||||
self._pin_messages_checkbox = CheckBox(names.communityEditPanelScrollView_pinMessagesToggle_StatusCheckBox)
|
self._pin_messages_checkbox = CheckBox(communities_names.communityEditPanelScrollView_pinMessagesToggle_StatusCheckBox)
|
||||||
self._intro_text_edit = TextEdit(names.communityEditPanelScrollView_editCommunityIntroInput_TextEdit)
|
self._intro_text_edit = TextEdit(communities_names.communityEditPanelScrollView_editCommunityIntroInput_TextEdit)
|
||||||
self._outro_text_edit = TextEdit(names.communityEditPanelScrollView_editCommunityOutroInput_TextEdit)
|
self._outro_text_edit = TextEdit(communities_names.communityEditPanelScrollView_editCommunityOutroInput_TextEdit)
|
||||||
self._save_changes_button = Button(names.mainWindow_Save_changes_StatusButton)
|
self._save_changes_button = Button(communities_names.mainWindow_Save_changes_StatusButton)
|
||||||
self._cropped_image_edit_logo_item = QObject(names.croppedImageEditLogo)
|
self._cropped_image_edit_logo_item = QObject(communities_names.croppedImageEditLogo)
|
||||||
self._cropped_image_edit_banner_item = QObject(names.croppedImageEditBanner)
|
self._cropped_image_edit_banner_item = QObject(communities_names.croppedImageEditBanner)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get community name')
|
@allure.step('Get community name')
|
||||||
|
@ -249,8 +249,8 @@ class EditCommunityView(QObject):
|
||||||
class MembersView(QObject):
|
class MembersView(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_MembersSettingsPanel)
|
super().__init__(communities_names.mainWindow_MembersSettingsPanel)
|
||||||
self._member_list_item = QObject(names.memberItem_StatusMemberListItem)
|
self._member_list_item = QObject(communities_names.memberItem_StatusMemberListItem)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get community members')
|
@allure.step('Get community members')
|
||||||
|
@ -260,16 +260,16 @@ class MembersView(QObject):
|
||||||
|
|
||||||
class TokensView(QObject):
|
class TokensView(QObject):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(TokensView, self).__init__(names.mainWindow_mintPanel_MintTokensSettingsPanel)
|
super(TokensView, self).__init__(communities_names.mainWindow_mintPanel_MintTokensSettingsPanel)
|
||||||
self._mint_token_button = Button(names.mainWindow_Mint_token_StatusButton)
|
self._mint_token_button = Button(communities_names.mainWindow_Mint_token_StatusButton)
|
||||||
self._welcome_image = QObject(names.welcomeSettingsTokens_Image)
|
self._welcome_image = QObject(communities_names.welcomeSettingsTokens_Image)
|
||||||
self._welcome_title = TextLabel(names.welcomeSettingsTokens_Title)
|
self._welcome_title = TextLabel(communities_names.welcomeSettingsTokens_Title)
|
||||||
self._welcome_subtitle = TextLabel(names.welcomeSettingsTokensSubtitle)
|
self._welcome_subtitle = TextLabel(communities_names.welcomeSettingsTokensSubtitle)
|
||||||
self._welcome_checklist_1 = TextLabel(names.checkListText_0_Tokens)
|
self._welcome_checklist_1 = TextLabel(communities_names.checkListText_0_Tokens)
|
||||||
self._welcome_checklist_2 = TextLabel(names.checkListText_1_Tokens)
|
self._welcome_checklist_2 = TextLabel(communities_names.checkListText_1_Tokens)
|
||||||
self._welcome_checklist_3 = TextLabel(names.checkListText_2_Tokens)
|
self._welcome_checklist_3 = TextLabel(communities_names.checkListText_2_Tokens)
|
||||||
self._get_started_infobox = QObject(names.mint_Owner_Tokens_InfoBoxPanel)
|
self._get_started_infobox = QObject(communities_names.mint_Owner_Tokens_InfoBoxPanel)
|
||||||
self._mint_owner_token_button = Button(names.mint_Owner_Tokens_StatusButton)
|
self._mint_owner_token_button = Button(communities_names.mint_Owner_Tokens_StatusButton)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get mint token button enable state')
|
@allure.step('Get mint token button enable state')
|
||||||
|
@ -316,16 +316,16 @@ class TokensView(QObject):
|
||||||
|
|
||||||
class AirdropsView(QObject):
|
class AirdropsView(QObject):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(AirdropsView, self).__init__(names.mainWindow_airdropPanel_AirdropsSettingsPanel)
|
super(AirdropsView, self).__init__(communities_names.mainWindow_airdropPanel_AirdropsSettingsPanel)
|
||||||
self._new_airdrop_button = Button(names.mainWindow_New_Airdrop_StatusButton)
|
self._new_airdrop_button = Button(communities_names.mainWindow_New_Airdrop_StatusButton)
|
||||||
self._welcome_image = QObject(names.welcomeSettingsAirdrops_Image)
|
self._welcome_image = QObject(communities_names.welcomeSettingsAirdrops_Image)
|
||||||
self._welcome_title = TextLabel(names.welcomeSettingsAirdrops_Title)
|
self._welcome_title = TextLabel(communities_names.welcomeSettingsAirdrops_Title)
|
||||||
self._welcome_subtitle = TextLabel(names.welcomeSettingsAirdrops_Subtitle)
|
self._welcome_subtitle = TextLabel(communities_names.welcomeSettingsAirdrops_Subtitle)
|
||||||
self._welcome_checklist_1 = TextLabel(names.checkListText_0_Airdrops)
|
self._welcome_checklist_1 = TextLabel(communities_names.checkListText_0_Airdrops)
|
||||||
self._welcome_checklist_2 = TextLabel(names.checkListText_1_Airdrops)
|
self._welcome_checklist_2 = TextLabel(communities_names.checkListText_1_Airdrops)
|
||||||
self._welcome_checklist_3 = TextLabel(names.checkListText_2_Airdrops)
|
self._welcome_checklist_3 = TextLabel(communities_names.checkListText_2_Airdrops)
|
||||||
self._get_started_infobox = QObject(names.infoBox_StatusInfoBoxPanel)
|
self._get_started_infobox = QObject(communities_names.infoBox_StatusInfoBoxPanel)
|
||||||
self._mint_owner_token_button = Button(names.mint_Owner_token_Airdrops_StatusButton)
|
self._mint_owner_token_button = Button(communities_names.mint_Owner_token_Airdrops_StatusButton)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get new airdrop button enable state')
|
@allure.step('Get new airdrop button enable state')
|
||||||
|
@ -372,17 +372,17 @@ class AirdropsView(QObject):
|
||||||
|
|
||||||
class PermissionsIntroView(QObject):
|
class PermissionsIntroView(QObject):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(PermissionsIntroView, self).__init__(names.o_IntroPanel)
|
super(PermissionsIntroView, self).__init__(communities_names.o_IntroPanel)
|
||||||
self._add_new_permission_button = Button(names.add_new_permission_button)
|
self._add_new_permission_button = Button(communities_names.add_new_permission_button)
|
||||||
self._welcome_image = QObject(names.community_welcome_screen_image)
|
self._welcome_image = QObject(communities_names.community_welcome_screen_image)
|
||||||
self._welcome_title = TextLabel(names.community_welcome_screen_title)
|
self._welcome_title = TextLabel(communities_names.community_welcome_screen_title)
|
||||||
self._welcome_subtitle = TextLabel(names.community_welcome_screen_subtitle)
|
self._welcome_subtitle = TextLabel(communities_names.community_welcome_screen_subtitle)
|
||||||
self._welcome_checklist_1 = TextLabel(names.community_welcome_screen_checkList_element1)
|
self._welcome_checklist_1 = TextLabel(communities_names.community_welcome_screen_checkList_element1)
|
||||||
self._welcome_checklist_2 = TextLabel(names.community_welcome_screen_checkList_element2)
|
self._welcome_checklist_2 = TextLabel(communities_names.community_welcome_screen_checkList_element2)
|
||||||
self._welcome_checklist_3 = TextLabel(names.community_welcome_screen_checkList_element3)
|
self._welcome_checklist_3 = TextLabel(communities_names.community_welcome_screen_checkList_element3)
|
||||||
self._edit_permission_button = QObject(names.edit_pencil_icon_StatusIcon)
|
self._edit_permission_button = QObject(communities_names.edit_pencil_icon_StatusIcon)
|
||||||
self._delete_permission_button = QObject(names.delete_icon_StatusIcon)
|
self._delete_permission_button = QObject(communities_names.delete_icon_StatusIcon)
|
||||||
self._hide_icon = QObject(names.hide_icon_StatusIcon)
|
self._hide_icon = QObject(communities_names.hide_icon_StatusIcon)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get hide icon visibility')
|
@allure.step('Get hide icon visibility')
|
||||||
|
@ -433,24 +433,24 @@ class PermissionsIntroView(QObject):
|
||||||
|
|
||||||
class PermissionsSettingsView(QObject):
|
class PermissionsSettingsView(QObject):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(PermissionsSettingsView, self).__init__(names.mainWindow_PermissionsSettingsPanel)
|
super(PermissionsSettingsView, self).__init__(communities_names.mainWindow_PermissionsSettingsPanel)
|
||||||
self._who_holds_checkbox = CheckBox(names.editPermissionView_whoHoldsSwitch_StatusSwitch)
|
self._who_holds_checkbox = CheckBox(communities_names.editPermissionView_whoHoldsSwitch_StatusSwitch)
|
||||||
self._who_holds_asset_field = TextEdit(names.edit_TextEdit)
|
self._who_holds_asset_field = TextEdit(communities_names.edit_TextEdit)
|
||||||
self._who_holds_amount_field = TextEdit(names.inputValue_StyledTextField)
|
self._who_holds_amount_field = TextEdit(communities_names.inputValue_StyledTextField)
|
||||||
self._asset_item = QObject(names.o_TokenItem)
|
self._asset_item = QObject(communities_names.o_TokenItem)
|
||||||
self._is_allowed_to_option_button = Button(names.customPermissionListItem)
|
self._is_allowed_to_option_button = Button(communities_names.customPermissionListItem)
|
||||||
self._in_general_button = Button(names.communityItem_CommunityListItem)
|
self._in_general_button = Button(communities_names.communityItem_CommunityListItem)
|
||||||
self._hide_permission_checkbox = CheckBox(names.editPermissionView_switchItem_StatusSwitch)
|
self._hide_permission_checkbox = CheckBox(communities_names.editPermissionView_switchItem_StatusSwitch)
|
||||||
self._create_permission_button = Button(names.editPermissionView_Create_permission_StatusButton)
|
self._create_permission_button = Button(communities_names.editPermissionView_Create_permission_StatusButton)
|
||||||
self._add_button = Button(names.add_StatusButton)
|
self._add_button = Button(communities_names.add_StatusButton)
|
||||||
self._who_holds_list_item = QObject(names.editPermissionView_Who_holds_StatusItemSelector)
|
self._who_holds_list_item = QObject(communities_names.editPermissionView_Who_holds_StatusItemSelector)
|
||||||
self._is_allowed_to_list_item = QObject(names.editPermissionView_Is_allowed_to_StatusFlowSelector)
|
self._is_allowed_to_list_item = QObject(communities_names.editPermissionView_Is_allowed_to_StatusFlowSelector)
|
||||||
self._in_list_item = QObject(names.editPermissionView_In_StatusItemSelector)
|
self._in_list_item = QObject(communities_names.editPermissionView_In_StatusItemSelector)
|
||||||
self._tag_item = QObject(names.o_StatusListItemTag)
|
self._tag_item = QObject(communities_names.o_StatusListItemTag)
|
||||||
self._who_holds_tag = QObject(names.whoHoldsTagListItem)
|
self._who_holds_tag = QObject(communities_names.whoHoldsTagListItem)
|
||||||
self._is_allowed_tag = QObject(names.isAllowedTagListItem)
|
self._is_allowed_tag = QObject(communities_names.isAllowedTagListItem)
|
||||||
self._in_community_in_channel_tag = QObject(names.inCommunityTagListItem)
|
self._in_community_in_channel_tag = QObject(communities_names.inCommunityTagListItem)
|
||||||
self._is_allowed_to_edit_tag = QObject(names.isAllowedToEditPermissionView_StatusListItemTag)
|
self._is_allowed_to_edit_tag = QObject(communities_names.isAllowedToEditPermissionView_StatusListItemTag)
|
||||||
|
|
||||||
@allure.step('Get titles of Who holds tags')
|
@allure.step('Get titles of Who holds tags')
|
||||||
def get_who_holds_tags_titles(self, attempt: int = 2) -> typing.List[str]:
|
def get_who_holds_tags_titles(self, attempt: int = 2) -> typing.List[str]:
|
||||||
|
|
|
@ -16,7 +16,7 @@ from gui.elements.object import QObject
|
||||||
from gui.elements.scroll import Scroll
|
from gui.elements.scroll import Scroll
|
||||||
from gui.elements.text_edit import TextEdit
|
from gui.elements.text_edit import TextEdit
|
||||||
from gui.elements.text_label import TextLabel
|
from gui.elements.text_label import TextLabel
|
||||||
from gui.objects_map import names
|
from gui.objects_map import messaging_names, communities_names
|
||||||
from gui.screens.community import CommunityScreen
|
from gui.screens.community import CommunityScreen
|
||||||
from scripts.tools.image import Image
|
from scripts.tools.image import Image
|
||||||
|
|
||||||
|
@ -24,12 +24,12 @@ from scripts.tools.image import Image
|
||||||
class LeftPanel(QObject):
|
class LeftPanel(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_contactColumnLoader_Loader)
|
super().__init__(messaging_names.mainWindow_contactColumnLoader_Loader)
|
||||||
self._start_chat_button = Button(names.mainWindow_startChatButton_StatusIconTabButton)
|
self._start_chat_button = Button(messaging_names.mainWindow_startChatButton_StatusIconTabButton)
|
||||||
self._search_text_edit = TextEdit(names.mainWindow_search_edit_TextEdit)
|
self._search_text_edit = TextEdit(messaging_names.mainWindow_search_edit_TextEdit)
|
||||||
self._scroll = Scroll(names.scrollView_Flickable)
|
self._scroll = Scroll(messaging_names.scrollView_Flickable)
|
||||||
self._contacts_list = List(names.chatList_ListView)
|
self._contacts_list = List(messaging_names.chatList_ListView)
|
||||||
self._contact_item = QObject(names.scrollView_StatusChatListItem)
|
self._contact_item = QObject(messaging_names.scrollView_StatusChatListItem)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get contacts')
|
@allure.step('Get contacts')
|
||||||
|
@ -68,11 +68,11 @@ class LeftPanel(QObject):
|
||||||
class ToolBar(QObject):
|
class ToolBar(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_statusToolBar_StatusToolBar)
|
super().__init__(messaging_names.mainWindow_statusToolBar_StatusToolBar)
|
||||||
self.pinned_message_tooltip = QObject(names.statusToolBar_StatusChatInfo_pinText_TruncatedTextWithTooltip)
|
self.pinned_message_tooltip = QObject(communities_names.statusToolBar_StatusChatInfo_pinText_TruncatedTextWithTooltip)
|
||||||
self.confirm_button = Button(names.statusToolBar_Confirm_StatusButton)
|
self.confirm_button = Button(messaging_names.statusToolBar_Confirm_StatusButton)
|
||||||
self.status_button = Button(names.statusToolBar_Cancel_StatusButton)
|
self.status_button = Button(messaging_names.statusToolBar_Cancel_StatusButton)
|
||||||
self.contact_tag = QObject(names.statusToolBar_StatusTagItem)
|
self.contact_tag = QObject(messaging_names.statusToolBar_StatusTagItem)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get visibility of pin message tooltip')
|
@allure.step('Get visibility of pin message tooltip')
|
||||||
|
@ -161,8 +161,8 @@ class Message:
|
||||||
class ChatView(QObject):
|
class ChatView(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_ChatColumnView)
|
super().__init__(messaging_names.mainWindow_ChatColumnView)
|
||||||
self._message_list_item = QObject(names.chatLogView_chatMessageViewDelegate_MessageView)
|
self._message_list_item = QObject(messaging_names.chatLogView_chatMessageViewDelegate_MessageView)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get messages')
|
@allure.step('Get messages')
|
||||||
|
@ -203,10 +203,10 @@ class ChatView(QObject):
|
||||||
class CreateChatView(QObject):
|
class CreateChatView(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_CreateChatView)
|
super().__init__(messaging_names.mainWindow_CreateChatView)
|
||||||
self._confirm_button = Button(names.createChatView_confirmBtn)
|
self._confirm_button = Button(messaging_names.createChatView_confirmBtn)
|
||||||
self._cancel_button = Button(names.mainWindow_Cancel_StatusButton)
|
self._cancel_button = Button(messaging_names.mainWindow_Cancel_StatusButton)
|
||||||
self._create_chat_contacts_list = List(names.createChatView_contactsList)
|
self._create_chat_contacts_list = List(messaging_names.createChatView_contactsList)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get contacts')
|
@allure.step('Get contacts')
|
||||||
|
@ -230,15 +230,15 @@ class CreateChatView(QObject):
|
||||||
class ChatMessagesView(QObject):
|
class ChatMessagesView(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_ChatMessagesView)
|
super().__init__(messaging_names.mainWindow_ChatMessagesView)
|
||||||
self._group_chat_message_item = TextLabel(names.chatLogView_Item)
|
self._group_chat_message_item = TextLabel(messaging_names.chatLogView_Item)
|
||||||
self._group_name_label = TextLabel(names.statusChatInfoButton)
|
self._group_name_label = TextLabel(messaging_names.statusChatInfoButton)
|
||||||
self._more_button = Button(names.moreOptionsButton_StatusFlatRoundButton)
|
self._more_button = Button(messaging_names.moreOptionsButton_StatusFlatRoundButton)
|
||||||
self._edit_menu_item = QObject(names.edit_name_and_image_StatusMenuItem)
|
self._edit_menu_item = QObject(messaging_names.edit_name_and_image_StatusMenuItem)
|
||||||
self._leave_group_item = QObject(names.leave_group_StatusMenuItem)
|
self._leave_group_item = QObject(messaging_names.leave_group_StatusMenuItem)
|
||||||
self._add_remove_item = QObject(names.add_remove_from_group_StatusMenuItem)
|
self._add_remove_item = QObject(messaging_names.add_remove_from_group_StatusMenuItem)
|
||||||
self._message_input_area = QObject(names.inputScrollView_messageInputField_TextArea)
|
self._message_input_area = QObject(messaging_names.inputScrollView_messageInputField_TextArea)
|
||||||
self._message_field = TextEdit(names.inputScrollView_Message_PlaceholderText)
|
self._message_field = TextEdit(messaging_names.inputScrollView_Message_PlaceholderText)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get group name')
|
@allure.step('Get group name')
|
||||||
|
@ -305,8 +305,8 @@ class ChatMessagesView(QObject):
|
||||||
|
|
||||||
class MessageQuickActions(QObject):
|
class MessageQuickActions(QObject):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.chatMessageViewDelegate_StatusMessageQuickActions)
|
super().__init__(messaging_names.chatMessageViewDelegate_StatusMessageQuickActions)
|
||||||
self._pin_button = Button(names.chatMessageViewDelegate_MessageView_toggleMessagePin_StatusFlatRoundButton)
|
self._pin_button = Button(messaging_names.chatMessageViewDelegate_MessageView_toggleMessagePin_StatusFlatRoundButton)
|
||||||
|
|
||||||
@allure.step('Toggle pin button')
|
@allure.step('Toggle pin button')
|
||||||
def toggle_pin(self):
|
def toggle_pin(self):
|
||||||
|
@ -316,8 +316,8 @@ class MessageQuickActions(QObject):
|
||||||
class Members(QObject):
|
class Members(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_userListPanel_StatusListView)
|
super().__init__(messaging_names.mainWindow_userListPanel_StatusListView)
|
||||||
self._member_item = QObject(names.groupUserListPanel_StatusMemberListItem)
|
self._member_item = QObject(messaging_names.groupUserListPanel_StatusMemberListItem)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@allure.step('Get group members')
|
@allure.step('Get group members')
|
||||||
|
@ -328,7 +328,7 @@ class Members(QObject):
|
||||||
class MessagesScreen(QObject):
|
class MessagesScreen(QObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(names.mainWindow_chatView_ChatView)
|
super().__init__(messaging_names.mainWindow_chatView_ChatView)
|
||||||
self.left_panel = LeftPanel()
|
self.left_panel = LeftPanel()
|
||||||
self.tool_bar = ToolBar()
|
self.tool_bar = ToolBar()
|
||||||
self.chat = ChatView()
|
self.chat = ChatView()
|
||||||
|
|
|
@ -11,77 +11,30 @@ from . import marks
|
||||||
pytestmark = marks
|
pytestmark = marks
|
||||||
|
|
||||||
|
|
||||||
# TODO: https://github.com/status-im/status-desktop/issues/13483
|
|
||||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703226', 'Add category')
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703226', 'Add category')
|
||||||
@pytest.mark.case(703226)
|
|
||||||
@pytest.mark.parametrize('category_name, general_checkbox', [
|
|
||||||
pytest.param('Category in general', True),
|
|
||||||
pytest.param('Category out of general', False)
|
|
||||||
])
|
|
||||||
def test_create_community_category(main_screen: MainWindow, category_name, general_checkbox):
|
|
||||||
main_screen.create_community(constants.community_params['name'], constants.community_params['description'],
|
|
||||||
constants.community_params['intro'], constants.community_params['outro'],
|
|
||||||
constants.community_params['logo']['fp'], constants.community_params['banner']['fp'])
|
|
||||||
community_screen = main_screen.left_panel.select_community(constants.community_params['name'])
|
|
||||||
community_screen.create_category(category_name, general_checkbox)
|
|
||||||
|
|
||||||
with step('Verify category'):
|
|
||||||
community_screen.verify_category(category_name)
|
|
||||||
|
|
||||||
|
|
||||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703227', 'Remove category')
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703227', 'Remove category')
|
||||||
@pytest.mark.case(703227)
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703233', 'Edit category title')
|
||||||
@pytest.mark.parametrize('category_name, general_checkbox, channel_name, channel_description, channel_emoji', [
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703234', 'Edit category - add channel')
|
||||||
pytest.param('Category in general', True, 'Channel', 'Description', 'sunglasses')
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703235', 'Edit category - remove channel')
|
||||||
])
|
@pytest.mark.case(703226, 703233, 703234, 703235, 703227)
|
||||||
def test_remove_community_category(main_screen: MainWindow, category_name, general_checkbox, channel_name,
|
|
||||||
channel_description, channel_emoji):
|
|
||||||
main_screen.create_community(constants.community_params['name'], constants.community_params['description'],
|
|
||||||
constants.community_params['intro'], constants.community_params['outro'],
|
|
||||||
constants.community_params['logo']['fp'], constants.community_params['banner']['fp'])
|
|
||||||
community_screen = main_screen.left_panel.select_community(constants.community_params['name'])
|
|
||||||
community_screen.create_category(category_name, general_checkbox)
|
|
||||||
|
|
||||||
with step('Verify category'):
|
|
||||||
community_screen.verify_category(category_name)
|
|
||||||
|
|
||||||
with step('Create channel inside category'):
|
|
||||||
community_screen.left_panel.open_new_channel_popup_in_category().create(channel_name, channel_description,
|
|
||||||
channel_emoji)
|
|
||||||
|
|
||||||
with step('Delete category'):
|
|
||||||
community_screen.delete_category()
|
|
||||||
|
|
||||||
with step('Verify category is not in the list'):
|
|
||||||
assert category_name not in community_screen.left_panel.categories_items
|
|
||||||
|
|
||||||
with step('Verify created channel and general channel are still in the list'):
|
|
||||||
new_channel = community_screen.left_panel.get_channel_parameters(channel_name)
|
|
||||||
general_channel = community_screen.left_panel.get_channel_parameters('general')
|
|
||||||
assert new_channel in community_screen.left_panel.channels
|
|
||||||
assert general_channel in community_screen.left_panel.channels
|
|
||||||
|
|
||||||
|
|
||||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703233', 'Edit category')
|
|
||||||
@pytest.mark.case(703233)
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'category_name, general_checkbox, channel_name, channel_description, channel_emoji, second_channel_name, second_channel_description, second_channel_emoji',
|
'category_name, general_checkbox, channel_name, channel_description, channel_emoji, second_channel_name, second_channel_description, second_channel_emoji',
|
||||||
[
|
[pytest.param('Category in general', True, 'Channel', 'Description', 'sunglasses', 'Second-channel',
|
||||||
pytest.param('Category in general', True, 'Channel', 'Description', 'sunglasses', 'Second-channel',
|
'Description', 'sunglasses')])
|
||||||
'Description', 'sunglasses')
|
def test_create_edit_remove_community_category(main_screen: MainWindow, category_name, general_checkbox, channel_name,
|
||||||
])
|
|
||||||
def test_edit_community_category(main_screen: MainWindow, category_name, general_checkbox, channel_name,
|
|
||||||
channel_description, channel_emoji, second_channel_name, second_channel_description,
|
channel_description, channel_emoji, second_channel_name, second_channel_description,
|
||||||
second_channel_emoji):
|
second_channel_emoji):
|
||||||
with step('Create community and select it'):
|
with step('Create community and select it'):
|
||||||
main_screen.create_community(constants.community_params['name'], constants.community_params['description'],
|
community_params = constants.community_params
|
||||||
constants.community_params['intro'], constants.community_params['outro'],
|
main_screen.create_community(community_params['name'], community_params['description'],
|
||||||
constants.community_params['logo']['fp'],
|
community_params['intro'], community_params['outro'],
|
||||||
constants.community_params['banner']['fp'])
|
community_params['logo']['fp'], community_params['banner']['fp'])
|
||||||
community_screen = main_screen.left_panel.select_community(constants.community_params['name'])
|
community_screen = main_screen.left_panel.select_community(community_params['name'])
|
||||||
|
|
||||||
with step('Create community category and verify that it displays correctly'):
|
with step('Create community category and verify that it displays correctly'):
|
||||||
community_screen.create_category(category_name, general_checkbox)
|
community_screen.create_category(category_name, general_checkbox)
|
||||||
|
|
||||||
|
with step('Verify category'):
|
||||||
community_screen.verify_category(category_name)
|
community_screen.verify_category(category_name)
|
||||||
|
|
||||||
with step('Create community channel inside category'):
|
with step('Create community channel inside category'):
|
||||||
|
@ -110,45 +63,49 @@ def test_edit_community_category(main_screen: MainWindow, category_name, general
|
||||||
with step('Verify that selected channel is now listed outside of category'):
|
with step('Verify that selected channel is now listed outside of category'):
|
||||||
assert community_screen.left_panel.get_channel_or_category_index(second_channel_name) == 0
|
assert community_screen.left_panel.get_channel_or_category_index(second_channel_name) == 0
|
||||||
|
|
||||||
|
with step('Delete category'):
|
||||||
|
community_screen.delete_category()
|
||||||
|
|
||||||
|
with step('Verify category is not in the list'):
|
||||||
|
assert category_name not in community_screen.left_panel.categories_items
|
||||||
|
|
||||||
|
with step('Verify created channel and general channel are still in the list'):
|
||||||
|
new_channel = community_screen.left_panel.get_channel_parameters(channel_name)
|
||||||
|
general_channel = community_screen.left_panel.get_channel_parameters('general')
|
||||||
|
assert new_channel in community_screen.left_panel.channels
|
||||||
|
assert general_channel in community_screen.left_panel.channels
|
||||||
|
|
||||||
|
|
||||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703272', 'Member role cannot add category')
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703272', 'Member role cannot add category')
|
||||||
@pytest.mark.case(703272)
|
|
||||||
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'squisher'])
|
|
||||||
def test_member_role_cannot_add_categories(main_screen: MainWindow):
|
|
||||||
with step('Choose community user is not owner of'):
|
|
||||||
community_screen = main_screen.left_panel.select_community('Super community')
|
|
||||||
with step('Verify that create channel or category button is not present'):
|
|
||||||
assert not community_screen.left_panel.is_create_channel_or_category_button_visible()
|
|
||||||
with step('Verify that add category button is not present'):
|
|
||||||
assert not community_screen.left_panel.is_add_category_button_visible()
|
|
||||||
|
|
||||||
|
|
||||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703273', 'Member role cannot edit category')
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703273', 'Member role cannot edit category')
|
||||||
@pytest.mark.case(703273)
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703274', 'Member role cannot remove category')
|
||||||
|
@pytest.mark.case(703272, 703273, 703274)
|
||||||
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'squisher'])
|
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'squisher'])
|
||||||
def test_member_role_cannot_edit_category(main_screen: MainWindow):
|
def test_member_role_cannot_add_edit_or_delete_category(main_screen: MainWindow):
|
||||||
with step('Choose community user is not owner of'):
|
with step('Choose community user is not owner of'):
|
||||||
community_screen = main_screen.left_panel.select_community('Super community')
|
community_screen = main_screen.left_panel.select_community('Super community')
|
||||||
with step('Right-click on category in the left navigation bar'):
|
|
||||||
community_screen.left_panel.open_category_context_menu()
|
|
||||||
with step('Verify that context menu does not appear'):
|
|
||||||
assert not ContextMenu().is_visible
|
|
||||||
with step('Verify that delete item is not present in more options context menu'):
|
|
||||||
assert not community_screen.left_panel.open_more_options().is_edit_item_visible()
|
|
||||||
|
|
||||||
|
with step('Verify that member cannot add category'):
|
||||||
|
with step('Verify that create channel or category button is not present'):
|
||||||
|
assert not community_screen.left_panel.is_create_channel_or_category_button_visible()
|
||||||
|
with step('Verify that add category button is not present'):
|
||||||
|
assert not community_screen.left_panel.is_add_category_button_visible()
|
||||||
|
|
||||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/703274', 'Member role cannot delete category')
|
with step('Verify that member cannot edit category'):
|
||||||
@pytest.mark.case(703274)
|
with step('Right-click on category in the left navigation bar'):
|
||||||
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'squisher'])
|
community_screen.left_panel.open_category_context_menu()
|
||||||
def test_member_role_cannot_delete_category(main_screen: MainWindow):
|
with step('Verify that context menu does not appear'):
|
||||||
with step('Choose community user is not owner of'):
|
assert not ContextMenu().is_visible
|
||||||
community_screen = main_screen.left_panel.select_community('Super community')
|
with step('Verify that delete item is not present in more options context menu'):
|
||||||
with step('Right-click on category in the left navigation bar'):
|
assert not community_screen.left_panel.open_more_options().is_edit_item_visible()
|
||||||
community_screen.left_panel.open_category_context_menu()
|
|
||||||
with step('Verify that context menu does not appear'):
|
with step('Verify that member cannot delete category'):
|
||||||
assert not ContextMenu().is_visible
|
with step('Right-click on category in the left navigation bar'):
|
||||||
with step('Verify that delete item is not present in more options context menu'):
|
community_screen.left_panel.open_category_context_menu()
|
||||||
assert not community_screen.left_panel.open_more_options().is_delete_item_visible()
|
with step('Verify that context menu does not appear'):
|
||||||
|
assert not ContextMenu().is_visible
|
||||||
|
with step('Verify that delete item is not present in more options context menu'):
|
||||||
|
assert not community_screen.left_panel.open_more_options().is_delete_item_visible()
|
||||||
|
|
||||||
|
|
||||||
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704622', 'Community category clicking')
|
@allure.testcase('https://ethstatus.testrail.net/index.php?/cases/view/704622', 'Community category clicking')
|
||||||
|
@ -157,11 +114,12 @@ def test_member_role_cannot_delete_category(main_screen: MainWindow):
|
||||||
[pytest.param('Category in general', True)])
|
[pytest.param('Category in general', True)])
|
||||||
def test_clicking_community_category(main_screen: MainWindow, category_name, general_checkbox):
|
def test_clicking_community_category(main_screen: MainWindow, category_name, general_checkbox):
|
||||||
with step('Create community and select it'):
|
with step('Create community and select it'):
|
||||||
main_screen.create_community(constants.community_params['name'], constants.community_params['description'],
|
community_params = constants.community_params
|
||||||
constants.community_params['intro'], constants.community_params['outro'],
|
main_screen.create_community(community_params['name'], community_params['description'],
|
||||||
constants.community_params['logo']['fp'],
|
community_params['intro'], community_params['outro'],
|
||||||
constants.community_params['banner']['fp'])
|
community_params['logo']['fp'],
|
||||||
community_screen = main_screen.left_panel.select_community(constants.community_params['name'])
|
community_params['banner']['fp'])
|
||||||
|
community_screen = main_screen.left_panel.select_community(community_params['name'])
|
||||||
|
|
||||||
with step('Create community category and verify that it displays correctly'):
|
with step('Create community category and verify that it displays correctly'):
|
||||||
community_screen.create_category(category_name, general_checkbox)
|
community_screen.create_category(category_name, general_checkbox)
|
||||||
|
|
Loading…
Reference in New Issue