From 491f7d5d1583d5916ca1a0f024484bc80a515ce8 Mon Sep 17 00:00:00 2001 From: Alexandra Betouni <31625338+alexandraB99@users.noreply.github.com> Date: Fri, 26 Nov 2021 23:45:42 +0200 Subject: [PATCH] refactor(sandbox): remove obsolete timeline demo code This feature is deprecated and shall be removed Relates to #4177 --- sandbox/DemoApp.qml | 5 ++--- sandbox/Models.qml | 16 ++-------------- sandbox/controls/Layout.qml | 14 +++++--------- sandbox/main.qml | 5 ++--- 4 files changed, 11 insertions(+), 29 deletions(-) diff --git a/sandbox/DemoApp.qml b/sandbox/DemoApp.qml index ce7498ce..84e7df72 100644 --- a/sandbox/DemoApp.qml +++ b/sandbox/DemoApp.qml @@ -23,9 +23,8 @@ Rectangle { readonly property int community: 1 readonly property int wallet: 2 readonly property int browser: 3 - readonly property int timeline: 4 - readonly property int nodeManagement: 5 - readonly property int profileSettings: 6 + readonly property int nodeManagement: 4 + readonly property int profileSettings: 5 readonly property int apiDocumentation: 100 readonly property int demoApp: 101 } diff --git a/sandbox/Models.qml b/sandbox/Models.qml index 10dcd1ea..9406ed19 100644 --- a/sandbox/Models.qml +++ b/sandbox/Models.qml @@ -339,9 +339,8 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I // community: 1 // wallet: 2 // browser: 3 - // timeline: 4 - // nodeManagement: 5 - // profileSettings: 6 + // nodeManagement: 4 + // profileSettings: 5 // apiDocumentation: 100 // demoApp: 101 @@ -415,17 +414,6 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I hasNotification: false notificationsCount: 0 } - ListElement { - sectionId: "timeline" - sectionType: 4 - name: "Timeline" - active: false - image: "" - icon: "bigger/status-update" - color: "" - hasNotification: false - notificationsCount: 0 - } ListElement { sectionId: "profile" sectionType: 6 diff --git a/sandbox/controls/Layout.qml b/sandbox/controls/Layout.qml index 31a1969f..657ae72b 100644 --- a/sandbox/controls/Layout.qml +++ b/sandbox/controls/Layout.qml @@ -56,9 +56,8 @@ Column { readonly property int community: 1 readonly property int wallet: 2 readonly property int browser: 3 - readonly property int timeline: 4 - readonly property int nodeManagement: 5 - readonly property int profileSettings: 6 + readonly property int nodeManagement: 4 + readonly property int profileSettings: 5 } StatusAppNavBar { @@ -91,8 +90,7 @@ Column { ListElement {sectionId: "0x0001"; sectionType: 1; name: "Test Community"; active: false; image: ""; icon: ""; color: "#00ff00"; hasNotification: true; notificationsCount: 12} ListElement {sectionId: "wallet"; sectionType: 2; name: "Wallet"; active: false; image: ""; icon: "wallet"; color: ""; hasNotification: false; notificationsCount: 0} ListElement {sectionId: "browser"; sectionType: 3; name: "Browser"; active: false; image: ""; icon: "bigger/browser"; color: ""; hasNotification: false; notificationsCount: 0} - ListElement {sectionId: "timeline"; sectionType: 4; name: "Timeline"; active: false; image: ""; icon: "bigger/status-update"; color: ""; hasNotification: false; notificationsCount: 0} - ListElement {sectionId: "profile"; sectionType: 6; name: "Profile"; active: false; image: ""; icon: "bigger/settings"; color: ""; hasNotification: true; notificationsCount: 0} + ListElement {sectionId: "profile"; sectionType: 5; name: "Profile"; active: false; image: ""; icon: "bigger/settings"; color: ""; hasNotification: true; notificationsCount: 0} } property bool communityAdded: false @@ -267,8 +265,7 @@ Column { ListElement {sectionId: "0x0004"; sectionType: 1; name: "Test Community"; active: false; image: ""; icon: ""; color: "#00ff00"; hasNotification: true; notificationsCount: 0} ListElement {sectionId: "wallet"; sectionType: 2; name: "Wallet"; active: false; image: ""; icon: "wallet"; color: ""; hasNotification: false; notificationsCount: 0} ListElement {sectionId: "browser"; sectionType: 3; name: "Browser"; active: false; image: ""; icon: "bigger/browser"; color: ""; hasNotification: false; notificationsCount: 0} - ListElement {sectionId: "timeline"; sectionType: 4; name: "Timeline"; active: false; image: ""; icon: "bigger/status-update"; color: ""; hasNotification: false; notificationsCount: 0} - ListElement {sectionId: "profile"; sectionType: 6; name: "Profile"; active: false; image: ""; icon: "bigger/settings"; color: ""; hasNotification: false; notificationsCount: 0} + ListElement {sectionId: "profile"; sectionType: 5; name: "Profile"; active: false; image: ""; icon: "bigger/settings"; color: ""; hasNotification: false; notificationsCount: 0} } property bool communityAdded: false @@ -363,8 +360,7 @@ Column { ListElement {sectionId: "0x0010"; sectionType: 1; name: "Test Community"; active: false; image: ""; icon: ""; color: "#00ff00"; hasNotification: true; notificationsCount: 11} ListElement {sectionId: "wallet"; sectionType: 2; name: "Wallet"; active: false; image: ""; icon: "wallet"; color: ""; hasNotification: false; notificationsCount: 0} ListElement {sectionId: "browser"; sectionType: 3; name: "Browser"; active: false; image: ""; icon: "bigger/browser"; color: ""; hasNotification: false; notificationsCount: 0} - ListElement {sectionId: "timeline"; sectionType: 4; name: "Timeline"; active: false; image: ""; icon: "bigger/status-update"; color: ""; hasNotification: false; notificationsCount: 0} - ListElement {sectionId: "profile"; sectionType: 6; name: "Profile"; active: false; image: ""; icon: "bigger/settings"; color: ""; hasNotification: true; notificationsCount: 0} + ListElement {sectionId: "profile"; sectionType: 5; name: "Profile"; active: false; image: ""; icon: "bigger/settings"; color: ""; hasNotification: true; notificationsCount: 0} } property bool communityAdded: false diff --git a/sandbox/main.qml b/sandbox/main.qml index 02b2b0bb..e34c18e8 100644 --- a/sandbox/main.qml +++ b/sandbox/main.qml @@ -40,9 +40,8 @@ StatusWindow { readonly property int community: 1 readonly property int wallet: 2 readonly property int browser: 3 - readonly property int timeline: 4 - readonly property int nodeManagement: 5 - readonly property int profileSettings: 6 + readonly property int nodeManagement: 4 + readonly property int profileSettings: 5 readonly property int apiDocumentation: 100 readonly property int demoApp: 101 }