From 5c9e127f2e964599c4c9cf8bc95cebe2f36e73e6 Mon Sep 17 00:00:00 2001 From: guerler Date: Sun, 7 Apr 2024 07:08:47 +0300 Subject: [PATCH 1/2] Add pages activity --- client/src/components/plugins/icons.js | 2 ++ client/src/stores/activitySetup.ts | 14 +++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/client/src/components/plugins/icons.js b/client/src/components/plugins/icons.js index a7a4224b70ca..f48f0df01595 100644 --- a/client/src/components/plugins/icons.js +++ b/client/src/components/plugins/icons.js @@ -24,6 +24,7 @@ import { faEye, faFile, faFileArchive, + faFileContract, faFileExport, faFilter, faFolder, @@ -76,6 +77,7 @@ library.add( faExternalLinkAlt, faEye, faFileArchive, + faFileContract, faFileExport, faFilter, faFile, diff --git a/client/src/stores/activitySetup.ts b/client/src/stores/activitySetup.ts index 8cc09c127844..4336729659e3 100644 --- a/client/src/stores/activitySetup.ts +++ b/client/src/stores/activitySetup.ts @@ -111,7 +111,19 @@ export const Activities = [ title: "Datasets", tooltip: "Show all datasets", to: "/datasets/list", - visible: false, + visible: true, + }, + { + anonymous: false, + description: "Display and create new Pages.", + icon: "fa-file-contract", + id: "pages", + mutable: false, + optional: true, + title: "Pages", + tooltip: "Show all pages", + to: "/pages/list", + visible: true, }, ]; From 5f14aea2109ab01385641e982f0ac66f61873875 Mon Sep 17 00:00:00 2001 From: guerler Date: Sun, 7 Apr 2024 07:22:18 +0300 Subject: [PATCH 2/2] Always display active interactive tools activity --- client/src/stores/activitySetup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/stores/activitySetup.ts b/client/src/stores/activitySetup.ts index 4336729659e3..fd1f2612c2e2 100644 --- a/client/src/stores/activitySetup.ts +++ b/client/src/stores/activitySetup.ts @@ -11,7 +11,7 @@ export const Activities = [ icon: "fa-laptop", id: "interactivetools", mutable: false, - optional: true, + optional: false, title: "Interactive Tools", tooltip: "Show active interactive tools", to: "/interactivetool_entry_points/list",