diff --git a/storybook/PagesModel.qml b/storybook/PagesModel.qml index 71bc37ffca..d5807bc907 100644 --- a/storybook/PagesModel.qml +++ b/storybook/PagesModel.qml @@ -46,7 +46,7 @@ ListModel { section: "Views" } ListElement { - title: "CommunityCollectibleView" + title: "CommunityTokenView" section: "Views" } ListElement { diff --git a/storybook/figma.json b/storybook/figma.json index 173f17fead..41ecc9ca9f 100644 --- a/storybook/figma.json +++ b/storybook/figma.json @@ -31,7 +31,7 @@ "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A415655", "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A415935" ], - "CommunityCollectibleView": [ + "CommunityTokenView": [ "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2934%3A481005&t=Qo2FwPRxvSxbluqB-1", "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2934%3A479431&t=Qo2FwPRxvSxbluqB-1", "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2934%3A479570&t=Qo2FwPRxvSxbluqB-1" diff --git a/storybook/pages/CommunityCollectibleViewPage.qml b/storybook/pages/CommunityTokenViewPage.qml similarity index 98% rename from storybook/pages/CommunityCollectibleViewPage.qml rename to storybook/pages/CommunityTokenViewPage.qml index 3927f84f0f..1b234c2dbc 100644 --- a/storybook/pages/CommunityCollectibleViewPage.qml +++ b/storybook/pages/CommunityTokenViewPage.qml @@ -21,7 +21,7 @@ SplitView { SplitView.fillWidth: true SplitView.fillHeight: true - CommunityCollectibleView { + CommunityTokenView { id: view anchors.fill: parent @@ -43,7 +43,7 @@ SplitView { chainIcon: ModelsData.networks.ethereum accountName: "helloworld" - onMintCollectible: logs.logEvent("CommunityCollectibleView::mintCollectible: \n" + onMintCollectible: logs.logEvent("CommunityTokenView::mintCollectible: \n" + "artworkSource: " + artworkSource + "\n" + "name: " + name + "\n" + "symbol: " + symbol + "\n" diff --git a/ui/app/AppLayouts/Chat/panels/communities/CommunityMintTokensSettingsPanel.qml b/ui/app/AppLayouts/Chat/panels/communities/CommunityMintTokensSettingsPanel.qml index 2c55c5b5f2..397884e569 100644 --- a/ui/app/AppLayouts/Chat/panels/communities/CommunityMintTokensSettingsPanel.qml +++ b/ui/app/AppLayouts/Chat/panels/communities/CommunityMintTokensSettingsPanel.qml @@ -278,7 +278,7 @@ SettingsPageLayout { Component { id: previewCollectibleView - CommunityCollectibleView { + CommunityTokenView { id: preview function signMintTransaction() { @@ -458,7 +458,7 @@ SettingsPageLayout { Component { id: collectibleView - CommunityCollectibleView { + CommunityTokenView { id: view property int index // TODO: Update it to key when model has role key implemented diff --git a/ui/app/AppLayouts/Chat/views/communities/CommunityCollectibleView.qml b/ui/app/AppLayouts/Chat/views/communities/CommunityTokenView.qml similarity index 100% rename from ui/app/AppLayouts/Chat/views/communities/CommunityCollectibleView.qml rename to ui/app/AppLayouts/Chat/views/communities/CommunityTokenView.qml diff --git a/ui/app/AppLayouts/Chat/views/communities/qmldir b/ui/app/AppLayouts/Chat/views/communities/qmldir index 76daaf925a..c6c129be1a 100644 --- a/ui/app/AppLayouts/Chat/views/communities/qmldir +++ b/ui/app/AppLayouts/Chat/views/communities/qmldir @@ -1,10 +1,10 @@ ChannelsSelectionModel 1.0 ChannelsSelectionModel.qml -CommunityCollectibleView 1.0 CommunityCollectibleView.qml CommunityNewAirdropView 1.0 CommunityNewAirdropView.qml CommunityMintedTokensView 1.0 CommunityMintedTokensView.qml CommunityNewPermissionView 1.0 CommunityNewPermissionView.qml CommunityNewTokenView 1.0 CommunityNewTokenView.qml CommunityPermissionsView 1.0 CommunityPermissionsView.qml +CommunityTokenView 1.0 CommunityTokenView.qml CommunityWelcomeSettingsView 1.0 CommunityWelcomeSettingsView.qml HoldingsSelectionModel 1.0 HoldingsSelectionModel.qml JoinCommunityView 1.0 JoinCommunityView.qml