From a7623881960b5dc5546b3803ba6a0c69f1583356 Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Wed, 23 Aug 2023 13:39:36 +0300 Subject: [PATCH 001/371] Edit navigation drawer to include dashboard --- .../public/images/icons/access-point.svg | 1 + .../icons/account-supervisor-outline.svg | 1 + .../public/images/icons/account-transfer.svg | 1 + .../public/images/icons/calculator.svg | 1 + .../public/images/icons/chart-line.svg | 1 + .../images/icons/chart-scatter-plot.svg | 1 + .../images/icons/database-search-outline.svg | 1 + .../playground/public/images/icons/earth.svg | 1 + .../public/images/icons/equalizer.svg | 1 + .../public/images/icons/lan-connect.svg | 1 + .../images/icons/note-check-outline.svg | 1 + .../public/images/icons/resistor-nodes.svg | 1 + .../playground/public/images/icons/silo.svg | 1 + .../public/images/icons/swap-horizontal.png | Bin 0 -> 1997 bytes packages/playground/src/App.vue | 96 ++++++++++++++---- packages/playground/src/router/index.ts | 5 + .../playground/src/views/solutions_view.vue | 9 ++ 17 files changed, 102 insertions(+), 21 deletions(-) create mode 100644 packages/playground/public/images/icons/access-point.svg create mode 100644 packages/playground/public/images/icons/account-supervisor-outline.svg create mode 100644 packages/playground/public/images/icons/account-transfer.svg create mode 100644 packages/playground/public/images/icons/calculator.svg create mode 100644 packages/playground/public/images/icons/chart-line.svg create mode 100644 packages/playground/public/images/icons/chart-scatter-plot.svg create mode 100644 packages/playground/public/images/icons/database-search-outline.svg create mode 100644 packages/playground/public/images/icons/earth.svg create mode 100644 packages/playground/public/images/icons/equalizer.svg create mode 100644 packages/playground/public/images/icons/lan-connect.svg create mode 100644 packages/playground/public/images/icons/note-check-outline.svg create mode 100644 packages/playground/public/images/icons/resistor-nodes.svg create mode 100644 packages/playground/public/images/icons/silo.svg create mode 100644 packages/playground/public/images/icons/swap-horizontal.png create mode 100644 packages/playground/src/views/solutions_view.vue diff --git a/packages/playground/public/images/icons/access-point.svg b/packages/playground/public/images/icons/access-point.svg new file mode 100644 index 0000000000..4ca33175ea --- /dev/null +++ b/packages/playground/public/images/icons/access-point.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/account-supervisor-outline.svg b/packages/playground/public/images/icons/account-supervisor-outline.svg new file mode 100644 index 0000000000..d8d90789ec --- /dev/null +++ b/packages/playground/public/images/icons/account-supervisor-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/account-transfer.svg b/packages/playground/public/images/icons/account-transfer.svg new file mode 100644 index 0000000000..667bc6ccff --- /dev/null +++ b/packages/playground/public/images/icons/account-transfer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/calculator.svg b/packages/playground/public/images/icons/calculator.svg new file mode 100644 index 0000000000..7ac3db1525 --- /dev/null +++ b/packages/playground/public/images/icons/calculator.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/chart-line.svg b/packages/playground/public/images/icons/chart-line.svg new file mode 100644 index 0000000000..40e4ffa8d1 --- /dev/null +++ b/packages/playground/public/images/icons/chart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/chart-scatter-plot.svg b/packages/playground/public/images/icons/chart-scatter-plot.svg new file mode 100644 index 0000000000..48330c3809 --- /dev/null +++ b/packages/playground/public/images/icons/chart-scatter-plot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/database-search-outline.svg b/packages/playground/public/images/icons/database-search-outline.svg new file mode 100644 index 0000000000..00c65fa65d --- /dev/null +++ b/packages/playground/public/images/icons/database-search-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/earth.svg b/packages/playground/public/images/icons/earth.svg new file mode 100644 index 0000000000..774574e074 --- /dev/null +++ b/packages/playground/public/images/icons/earth.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/equalizer.svg b/packages/playground/public/images/icons/equalizer.svg new file mode 100644 index 0000000000..6e80609252 --- /dev/null +++ b/packages/playground/public/images/icons/equalizer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/lan-connect.svg b/packages/playground/public/images/icons/lan-connect.svg new file mode 100644 index 0000000000..edd6397e2a --- /dev/null +++ b/packages/playground/public/images/icons/lan-connect.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/note-check-outline.svg b/packages/playground/public/images/icons/note-check-outline.svg new file mode 100644 index 0000000000..aa6c2c84ae --- /dev/null +++ b/packages/playground/public/images/icons/note-check-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/resistor-nodes.svg b/packages/playground/public/images/icons/resistor-nodes.svg new file mode 100644 index 0000000000..d2709d5b4d --- /dev/null +++ b/packages/playground/public/images/icons/resistor-nodes.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/playground/public/images/icons/silo.svg b/packages/playground/public/images/icons/silo.svg new file mode 100644 index 0000000000..09e8584774 --- /dev/null +++ b/packages/playground/public/images/icons/silo.svg @@ -0,0 +1 @@ +Created by Supanut Piyakanontfrom the Noun Project \ No newline at end of file diff --git a/packages/playground/public/images/icons/swap-horizontal.png b/packages/playground/public/images/icons/swap-horizontal.png new file mode 100644 index 0000000000000000000000000000000000000000..da00fbb2b00b3c695d16868ad708043133105c94 GIT binary patch literal 1997 zcmZ`)c~nz(7QQcR0R)oD0F@;WYMCgIXe&&IKthKlzyXxO0fm}4A_Jn}AQ242JO`%G zg2Azhb`Yg1(7~XnP$(dwAau}zd0x0cbD%jFYlb2k9J3e zT3Kwd0065nK~M|;flLBu#)zt4wcSSKdPoox2_ShJfGhx5K_T)vfS3dDQUvhF%K-Mr zue9vpq6Foy5urfH<|L5>h zm!SZ&-GSj#Q>^uwLTU%;O*wZSlaVWhbLAF6BOJb4fFjs5@iWHpMTA+p*BFnzh_Y0^e%;M+m*PV>|MqyDRKY=%!LZ z5m<#W_@5ZR?WEHnzT5<5>q9Jq`5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vgM zJx;lcyC{0E6Gb#4{*!Janj59wZZ8Fs=@6#f2}4-&W2~XBQNhIJ51lkV(+OujV;x2} zbl^%Rx~C~IpQ79P?yGr>+6Ihl9=cH+1A*;WR2~n#ZYuk)3Pz< zHX#&IeK9%=qsE*Iw@_n;zQgFqeV9c*!;mSY)|KZkxCAJqroZ{mg%T_C>{;7no%cvi Q1eS#bM+Mz}U-XY(0oNiC0ssI2 literal 0 HcmV?d00001 diff --git a/packages/playground/src/App.vue b/packages/playground/src/App.vue index c055bea2c6..b7efdef5a2 100644 --- a/packages/playground/src/App.vue +++ b/packages/playground/src/App.vue @@ -33,7 +33,7 @@ :src="baseUrl + 'images/icons/' + item.icon" :alt="item.title" /> - {{ item.icon }} + {{ item.icon }} {{ item.title }} @@ -140,28 +140,78 @@ watch( const version = process.env.VERSION as any; const routes: AppRoute[] = [ + // { + // title: "Deployments", + // items: [ + // { title: "Full Virtual Machine", icon: "vm.png", route: "/" }, + // { title: "Micro Virtual Machine", icon: "vm.png", route: "/vm" }, + // { title: "Kubernetes", icon: "kubernetes.png", route: "/kubernetes" }, + // { title: "CapRover", icon: "caprover.png", route: "/caprover" }, + // { title: "Peertube", icon: "peertube.png", route: "/peertube" }, + // { title: "Funkwhale", icon: "funkwhale.png", route: "/funkwhale" }, + // { title: "Mattermost", icon: "mattermost.png", route: "/mattermost" }, + // { title: "Discourse", icon: "discourse.png", route: "/discourse" }, + // { title: "Taiga", icon: "taiga.png", route: "/taiga" }, + // { title: "Owncloud", icon: "owncloud.png", route: "/owncloud" }, + // { title: "Nextcloud", icon: "nextcloud.png", route: "/nextcloud" }, + // { title: "Presearch", icon: "presearch.png", route: "/presearch" }, + // { title: "Subsquid", icon: "subsquid.png", route: "/subsquid" }, + // { title: "Casperlabs", icon: "casperlabs.png", route: "/casperlabs" }, + // { title: "Algorand", icon: "algorand.png", route: "/algorand" }, + // { title: "Node Pilot", icon: "vm.png", route: "/nodepilot" }, + // { title: "Wordpress", icon: "wordpress.png", route: "/wordpress" }, + // { title: "Umbrel", icon: "umbrel.png", route: "/umbrel" }, + // // { title: "Freeflow", icon: "freeflow.png", route: "/freeflow" }, + // ], + // }, { - title: "Deployments", + title: "Playground", + items: [{ title: "Deployments", icon: "vm.png", route: "/" }], + }, + { + title: "Portal", + items: [ + { title: "Twin", icon: "account-supervisor-outline.svg", route: "/twin" }, + { title: "Bridge", icon: "swap-horizontal.png", route: "/bridge" }, + { title: "Transfer", icon: "account-transfer.svg", route: "/transfer" }, + { title: "Farms", icon: "silo.svg", route: "/farms" }, + { title: "Dedicated Nodes", icon: "resistor-nodes.svg", route: "/dedicated-nodes" }, + { title: "DAO", icon: "note-check-outline.svg", route: "/dao" }, + ], + }, + { + title: "Explorer", + items: [ + { title: "Statistics", icon: "chart-scatter-plot.svg", route: "/stats" }, + { title: "Nodes", icon: "access-point.svg", route: "/nodes" }, + { title: "Farms", icon: "lan-connect.svg", route: "/farms" }, + ], + }, + { + title: "Calculators", + items: [ + { title: "Resource Pricing", icon: "calculator.svg", route: "pricing" }, + { title: "Simulator", icon: "chart-line.svg", route: "/simulator" }, + ], + }, + { + title: "Other Services", items: [ - { title: "Full Virtual Machine", icon: "vm.png", route: "/" }, - { title: "Micro Virtual Machine", icon: "vm.png", route: "/vm" }, - { title: "Kubernetes", icon: "kubernetes.png", route: "/kubernetes" }, - { title: "CapRover", icon: "caprover.png", route: "/caprover" }, - { title: "Peertube", icon: "peertube.png", route: "/peertube" }, - { title: "Funkwhale", icon: "funkwhale.png", route: "/funkwhale" }, - { title: "Mattermost", icon: "mattermost.png", route: "/mattermost" }, - { title: "Discourse", icon: "discourse.png", route: "/discourse" }, - { title: "Taiga", icon: "taiga.png", route: "/taiga" }, - { title: "Owncloud", icon: "owncloud.png", route: "/owncloud" }, - { title: "Nextcloud", icon: "nextcloud.png", route: "/nextcloud" }, - { title: "Presearch", icon: "presearch.png", route: "/presearch" }, - { title: "Subsquid", icon: "subsquid.png", route: "/subsquid" }, - { title: "Casperlabs", icon: "casperlabs.png", route: "/casperlabs" }, - { title: "Algorand", icon: "algorand.png", route: "/algorand" }, - { title: "Node Pilot", icon: "vm.png", route: "/nodepilot" }, - { title: "Wordpress", icon: "wordpress.png", route: "/wordpress" }, - { title: "Umbrel", icon: "umbrel.png", route: "/umbrel" }, - // { title: "Freeflow", icon: "freeflow.png", route: "/freeflow" }, + { + title: "Graphana", + icon: "mdi-open-in-new", + url: "https://metrics.grid.tf/d/rYdddlPWkfqwf/zos-host-metrics?orgId=2&refresh=30s", + }, + { + title: "Zero-Os Bootstrap", + icon: "mdi-open-in-new", + url: "https://bootstrap.grid.tf/", + }, + { + title: "0-Hub", + icon: "mdi-open-in-new", + url: "https://hub.grid.tf/", + }, ], }, { @@ -179,6 +229,10 @@ const navbarLinks: NavbarLink[] = [ label: "Help", url: "https://manual.grid.tf/", }, + { + label: "Monitoring", + url: "https://metrics.grid.tf/d/rYdddlPWkfqwf/zos-host-metrics?orgId=2&refresh=30s", + }, ]; // eslint-disable-next-line no-undef diff --git a/packages/playground/src/router/index.ts b/packages/playground/src/router/index.ts index d6f8414181..42e512f675 100644 --- a/packages/playground/src/router/index.ts +++ b/packages/playground/src/router/index.ts @@ -19,6 +19,11 @@ const router = createRouter({ routes: [ { path: "/", + component: () => import("../views/solutions_view.vue"), + meta: { title: "Deployments" }, + }, + { + path: "/fullvm", component: () => import("../views/full_virtual_machine.vue"), meta: { title: "Full Virtual Machine", info: { page: "info/full_vm.md" } }, }, diff --git a/packages/playground/src/views/solutions_view.vue b/packages/playground/src/views/solutions_view.vue new file mode 100644 index 0000000000..c45dc13bdb --- /dev/null +++ b/packages/playground/src/views/solutions_view.vue @@ -0,0 +1,9 @@ + + + From 1a86bdee1c3843e50a923fb92549fe3715b88a26 Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Wed, 23 Aug 2023 18:55:27 +0300 Subject: [PATCH 002/371] Replace svgs w mdi icons, add collapsed items --- .../public/images/icons/access-point.svg | 1 - .../icons/account-supervisor-outline.svg | 1 - .../public/images/icons/account-transfer.svg | 1 - .../public/images/icons/calculator.svg | 1 - .../public/images/icons/chart-line.svg | 1 - .../images/icons/chart-scatter-plot.svg | 1 - .../images/icons/database-search-outline.svg | 1 - .../playground/public/images/icons/earth.svg | 1 - .../public/images/icons/equalizer.svg | 1 - .../public/images/icons/lan-connect.svg | 1 - .../images/icons/note-check-outline.svg | 1 - .../public/images/icons/resistor-nodes.svg | 1 - .../playground/public/images/icons/silo.svg | 1 - packages/playground/src/App.vue | 113 ++++++++---------- 14 files changed, 48 insertions(+), 78 deletions(-) delete mode 100644 packages/playground/public/images/icons/access-point.svg delete mode 100644 packages/playground/public/images/icons/account-supervisor-outline.svg delete mode 100644 packages/playground/public/images/icons/account-transfer.svg delete mode 100644 packages/playground/public/images/icons/calculator.svg delete mode 100644 packages/playground/public/images/icons/chart-line.svg delete mode 100644 packages/playground/public/images/icons/chart-scatter-plot.svg delete mode 100644 packages/playground/public/images/icons/database-search-outline.svg delete mode 100644 packages/playground/public/images/icons/earth.svg delete mode 100644 packages/playground/public/images/icons/equalizer.svg delete mode 100644 packages/playground/public/images/icons/lan-connect.svg delete mode 100644 packages/playground/public/images/icons/note-check-outline.svg delete mode 100644 packages/playground/public/images/icons/resistor-nodes.svg delete mode 100644 packages/playground/public/images/icons/silo.svg diff --git a/packages/playground/public/images/icons/access-point.svg b/packages/playground/public/images/icons/access-point.svg deleted file mode 100644 index 4ca33175ea..0000000000 --- a/packages/playground/public/images/icons/access-point.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/account-supervisor-outline.svg b/packages/playground/public/images/icons/account-supervisor-outline.svg deleted file mode 100644 index d8d90789ec..0000000000 --- a/packages/playground/public/images/icons/account-supervisor-outline.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/account-transfer.svg b/packages/playground/public/images/icons/account-transfer.svg deleted file mode 100644 index 667bc6ccff..0000000000 --- a/packages/playground/public/images/icons/account-transfer.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/calculator.svg b/packages/playground/public/images/icons/calculator.svg deleted file mode 100644 index 7ac3db1525..0000000000 --- a/packages/playground/public/images/icons/calculator.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/chart-line.svg b/packages/playground/public/images/icons/chart-line.svg deleted file mode 100644 index 40e4ffa8d1..0000000000 --- a/packages/playground/public/images/icons/chart-line.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/chart-scatter-plot.svg b/packages/playground/public/images/icons/chart-scatter-plot.svg deleted file mode 100644 index 48330c3809..0000000000 --- a/packages/playground/public/images/icons/chart-scatter-plot.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/database-search-outline.svg b/packages/playground/public/images/icons/database-search-outline.svg deleted file mode 100644 index 00c65fa65d..0000000000 --- a/packages/playground/public/images/icons/database-search-outline.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/earth.svg b/packages/playground/public/images/icons/earth.svg deleted file mode 100644 index 774574e074..0000000000 --- a/packages/playground/public/images/icons/earth.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/equalizer.svg b/packages/playground/public/images/icons/equalizer.svg deleted file mode 100644 index 6e80609252..0000000000 --- a/packages/playground/public/images/icons/equalizer.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/lan-connect.svg b/packages/playground/public/images/icons/lan-connect.svg deleted file mode 100644 index edd6397e2a..0000000000 --- a/packages/playground/public/images/icons/lan-connect.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/note-check-outline.svg b/packages/playground/public/images/icons/note-check-outline.svg deleted file mode 100644 index aa6c2c84ae..0000000000 --- a/packages/playground/public/images/icons/note-check-outline.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/resistor-nodes.svg b/packages/playground/public/images/icons/resistor-nodes.svg deleted file mode 100644 index d2709d5b4d..0000000000 --- a/packages/playground/public/images/icons/resistor-nodes.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/silo.svg b/packages/playground/public/images/icons/silo.svg deleted file mode 100644 index 09e8584774..0000000000 --- a/packages/playground/public/images/icons/silo.svg +++ /dev/null @@ -1 +0,0 @@ -Created by Supanut Piyakanontfrom the Noun Project \ No newline at end of file diff --git a/packages/playground/src/App.vue b/packages/playground/src/App.vue index b7efdef5a2..a7d8724ef9 100644 --- a/packages/playground/src/App.vue +++ b/packages/playground/src/App.vue @@ -16,8 +16,34 @@ > {{ item.title }} @@ -65,18 +91,6 @@ - - {{ network }}net @@ -140,58 +154,41 @@ watch( const version = process.env.VERSION as any; const routes: AppRoute[] = [ - // { - // title: "Deployments", - // items: [ - // { title: "Full Virtual Machine", icon: "vm.png", route: "/" }, - // { title: "Micro Virtual Machine", icon: "vm.png", route: "/vm" }, - // { title: "Kubernetes", icon: "kubernetes.png", route: "/kubernetes" }, - // { title: "CapRover", icon: "caprover.png", route: "/caprover" }, - // { title: "Peertube", icon: "peertube.png", route: "/peertube" }, - // { title: "Funkwhale", icon: "funkwhale.png", route: "/funkwhale" }, - // { title: "Mattermost", icon: "mattermost.png", route: "/mattermost" }, - // { title: "Discourse", icon: "discourse.png", route: "/discourse" }, - // { title: "Taiga", icon: "taiga.png", route: "/taiga" }, - // { title: "Owncloud", icon: "owncloud.png", route: "/owncloud" }, - // { title: "Nextcloud", icon: "nextcloud.png", route: "/nextcloud" }, - // { title: "Presearch", icon: "presearch.png", route: "/presearch" }, - // { title: "Subsquid", icon: "subsquid.png", route: "/subsquid" }, - // { title: "Casperlabs", icon: "casperlabs.png", route: "/casperlabs" }, - // { title: "Algorand", icon: "algorand.png", route: "/algorand" }, - // { title: "Node Pilot", icon: "vm.png", route: "/nodepilot" }, - // { title: "Wordpress", icon: "wordpress.png", route: "/wordpress" }, - // { title: "Umbrel", icon: "umbrel.png", route: "/umbrel" }, - // // { title: "Freeflow", icon: "freeflow.png", route: "/freeflow" }, - // ], - // }, { title: "Playground", items: [{ title: "Deployments", icon: "vm.png", route: "/" }], }, + { + title: "My Account", + items: [{ title: "Contracts", icon: "mdi-file-document-edit", route: "/contractslist" }], + }, { title: "Portal", + icon: "mdi-account-convert-outline", items: [ - { title: "Twin", icon: "account-supervisor-outline.svg", route: "/twin" }, - { title: "Bridge", icon: "swap-horizontal.png", route: "/bridge" }, - { title: "Transfer", icon: "account-transfer.svg", route: "/transfer" }, - { title: "Farms", icon: "silo.svg", route: "/farms" }, - { title: "Dedicated Nodes", icon: "resistor-nodes.svg", route: "/dedicated-nodes" }, - { title: "DAO", icon: "note-check-outline.svg", route: "/dao" }, + { title: "Twin", icon: "mdi-account-supervisor-outline", route: "/twin" }, + { title: "Bridge", icon: "mdi-swap-horizontal", route: "/bridge" }, + { title: "Transfer", icon: "mdi-account-arrow-right-outline", route: "/transfer" }, + { title: "Farms", icon: "mdi-silo", route: "/my-farms" }, + { title: "Dedicated Nodes", icon: "mdi-resistor-nodes", route: "/dedicated-nodes" }, + { title: "DAO", icon: "mdi-note-check-outline", route: "/dao" }, ], }, { title: "Explorer", + icon: "mdi-database-search-outline", items: [ - { title: "Statistics", icon: "chart-scatter-plot.svg", route: "/stats" }, - { title: "Nodes", icon: "access-point.svg", route: "/nodes" }, - { title: "Farms", icon: "lan-connect.svg", route: "/farms" }, + { title: "Statistics", icon: "mdi-chart-scatter-plot", route: "/stats" }, + { title: "Nodes", icon: "mdi-access-point", route: "/nodes" }, + { title: "Farms", icon: "mdi-lan-connect", route: "/farms" }, ], }, { title: "Calculators", + icon: "mdi-calculator", items: [ - { title: "Resource Pricing", icon: "calculator.svg", route: "pricing" }, - { title: "Simulator", icon: "chart-line.svg", route: "/simulator" }, + { title: "Resource Pricing", icon: "mdi-currency-usd", route: "pricing" }, + { title: "Simulator", icon: "mdi-chart-line", route: "/simulator" }, ], }, { @@ -214,27 +211,12 @@ const routes: AppRoute[] = [ }, ], }, - { - title: "My Account", - items: [{ title: "Contracts", route: "/contractslist" }], - }, { title: "Help", items: [{ title: "Manual", icon: "mdi-open-in-new", url: "https://manual.grid.tf/" }], }, ]; -const navbarLinks: NavbarLink[] = [ - { - label: "Help", - url: "https://manual.grid.tf/", - }, - { - label: "Monitoring", - url: "https://metrics.grid.tf/d/rYdddlPWkfqwf/zos-host-metrics?orgId=2&refresh=30s", - }, -]; - // eslint-disable-next-line no-undef const network = process.env.NETWORK || (window as any).env.NETWORK; @@ -264,6 +246,7 @@ import ProfileManager from "./weblets/profile_manager.vue"; interface AppRoute { title: string; items: AppRouteItem[]; + icon?: string; } interface AppRouteItem { From 8d1b3d26caa80fa80c67d3f8d761de836b8e6d3c Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Wed, 23 Aug 2023 21:16:24 +0300 Subject: [PATCH 003/371] Add solutions view, fix solutions view not found err --- .../public/images/icons/swap-horizontal.png | Bin 1997 -> 0 bytes .../playground/src/views/solutions_view.vue | 170 +++++++++++++++++- packages/playground/tsconfig.app.json | 1 - 3 files changed, 169 insertions(+), 2 deletions(-) delete mode 100644 packages/playground/public/images/icons/swap-horizontal.png diff --git a/packages/playground/public/images/icons/swap-horizontal.png b/packages/playground/public/images/icons/swap-horizontal.png deleted file mode 100644 index da00fbb2b00b3c695d16868ad708043133105c94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1997 zcmZ`)c~nz(7QQcR0R)oD0F@;WYMCgIXe&&IKthKlzyXxO0fm}4A_Jn}AQ242JO`%G zg2Azhb`Yg1(7~XnP$(dwAau}zd0x0cbD%jFYlb2k9J3e zT3Kwd0065nK~M|;flLBu#)zt4wcSSKdPoox2_ShJfGhx5K_T)vfS3d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z%t%I~4aGC#ok+GYByav-)Q%hY+w={>p{wqa zQ8CQx`q;*F;`zwf9plZ!^Wi|D#WsB9ly-^6mAue(P7#$alHk{4M9cF z@cO2Krk@$8RshT(*dOZ&Xw5p-7LrOQ%WQ4<1yug_WOGcG$(D#ZRK14Wu5y2@OlvgM zJx;lcyC{0E6Gb#4{*!Janj59wZZ8Fs=@6#f2}4-&W2~XBQNhIJ51lkV(+OujV;x2} zbl^%Rx~C~IpQ79P?yGr>+6Ihl9=cH+1A*;WR2~n#ZYuk)3Pz< zHX#&IeK9%=qsE*Iw@_n;zQgFqeV9c*!;mSY)|KZkxCAJqroZ{mg%T_C>{;7no%cvi Q1eS#bM+Mz}U-XY(0oNiC0ssI2 diff --git a/packages/playground/src/views/solutions_view.vue b/packages/playground/src/views/solutions_view.vue index c45dc13bdb..e17467e748 100644 --- a/packages/playground/src/views/solutions_view.vue +++ b/packages/playground/src/views/solutions_view.vue @@ -1,9 +1,177 @@ + + diff --git a/packages/playground/tsconfig.app.json b/packages/playground/tsconfig.app.json index 0d8dce57ab..fc5064c576 100644 --- a/packages/playground/tsconfig.app.json +++ b/packages/playground/tsconfig.app.json @@ -4,7 +4,6 @@ "exclude": ["src/**/__tests__/*"], "compilerOptions": { "ignoreDeprecations": "5.0", - "composite": true, "baseUrl": ".", "paths": { "@/*": ["./src/*"] From c791566796ed360e84d0f6ca4b643d53b9a13f78 Mon Sep 17 00:00:00 2001 From: "alaamahmoud.1223@gmail.com" Date: Thu, 24 Aug 2023 11:10:41 +0300 Subject: [PATCH 004/371] add twin card --- packages/playground/src/portal/twin_view.vue | 92 +++++++++++++++++++ packages/playground/src/router/index.ts | 5 + .../playground/src/stores/profile_manager.ts | 1 + packages/playground/src/utils/grid.ts | 1 + 4 files changed, 99 insertions(+) create mode 100644 packages/playground/src/portal/twin_view.vue diff --git a/packages/playground/src/portal/twin_view.vue b/packages/playground/src/portal/twin_view.vue new file mode 100644 index 0000000000..d90af4493e --- /dev/null +++ b/packages/playground/src/portal/twin_view.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/packages/playground/src/router/index.ts b/packages/playground/src/router/index.ts index 42e512f675..b8bca65042 100644 --- a/packages/playground/src/router/index.ts +++ b/packages/playground/src/router/index.ts @@ -122,6 +122,11 @@ const router = createRouter({ component: () => import("../views/contracts_list.vue"), meta: { title: "Contracts List", info: { page: "info/contracts_list.md" } }, }, + { + path: "/twin", + component: () => import("../portal/twin_view.vue"), + meta: { title: "Twin", info: { page: "info/twin.md" } }, + }, { path: "/:pathMatch(.*)*", component: () => import("../views/page_not_found.vue"), diff --git a/packages/playground/src/stores/profile_manager.ts b/packages/playground/src/stores/profile_manager.ts index 09ca548953..4daf9bc645 100644 --- a/packages/playground/src/stores/profile_manager.ts +++ b/packages/playground/src/stores/profile_manager.ts @@ -5,6 +5,7 @@ export interface Profile { ssh: string; twinId: number; address: string; + relay: string; } interface State { diff --git a/packages/playground/src/utils/grid.ts b/packages/playground/src/utils/grid.ts index d900f41383..ca797add36 100644 --- a/packages/playground/src/utils/grid.ts +++ b/packages/playground/src/utils/grid.ts @@ -75,6 +75,7 @@ export async function loadProfile(grid: GridClient): Promise { ssh: await readSSH(grid), twinId: grid!.twinId, address: grid.tfclient.address, + relay: grid.getDefaultUrls(network).relay.slice(6), }; } From 7a28b83435fe0ae017444f9c4ea46bd3f9e5501e Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Wed, 23 Aug 2023 18:55:27 +0300 Subject: [PATCH 005/371] Replace svgs w mdi icons, add collapsed items --- .../public/images/icons/access-point.svg | 1 - .../icons/account-supervisor-outline.svg | 1 - .../public/images/icons/account-transfer.svg | 1 - .../public/images/icons/calculator.svg | 1 - .../public/images/icons/chart-line.svg | 1 - .../images/icons/chart-scatter-plot.svg | 1 - .../images/icons/database-search-outline.svg | 1 - .../playground/public/images/icons/earth.svg | 1 - .../public/images/icons/equalizer.svg | 1 - .../public/images/icons/lan-connect.svg | 1 - .../images/icons/note-check-outline.svg | 1 - .../public/images/icons/resistor-nodes.svg | 1 - .../playground/public/images/icons/silo.svg | 1 - packages/playground/src/App.vue | 113 ++++++++---------- 14 files changed, 48 insertions(+), 78 deletions(-) delete mode 100644 packages/playground/public/images/icons/access-point.svg delete mode 100644 packages/playground/public/images/icons/account-supervisor-outline.svg delete mode 100644 packages/playground/public/images/icons/account-transfer.svg delete mode 100644 packages/playground/public/images/icons/calculator.svg delete mode 100644 packages/playground/public/images/icons/chart-line.svg delete mode 100644 packages/playground/public/images/icons/chart-scatter-plot.svg delete mode 100644 packages/playground/public/images/icons/database-search-outline.svg delete mode 100644 packages/playground/public/images/icons/earth.svg delete mode 100644 packages/playground/public/images/icons/equalizer.svg delete mode 100644 packages/playground/public/images/icons/lan-connect.svg delete mode 100644 packages/playground/public/images/icons/note-check-outline.svg delete mode 100644 packages/playground/public/images/icons/resistor-nodes.svg delete mode 100644 packages/playground/public/images/icons/silo.svg diff --git a/packages/playground/public/images/icons/access-point.svg b/packages/playground/public/images/icons/access-point.svg deleted file mode 100644 index 4ca33175ea..0000000000 --- a/packages/playground/public/images/icons/access-point.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/account-supervisor-outline.svg b/packages/playground/public/images/icons/account-supervisor-outline.svg deleted file mode 100644 index d8d90789ec..0000000000 --- a/packages/playground/public/images/icons/account-supervisor-outline.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/account-transfer.svg b/packages/playground/public/images/icons/account-transfer.svg deleted file mode 100644 index 667bc6ccff..0000000000 --- a/packages/playground/public/images/icons/account-transfer.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/calculator.svg b/packages/playground/public/images/icons/calculator.svg deleted file mode 100644 index 7ac3db1525..0000000000 --- a/packages/playground/public/images/icons/calculator.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/chart-line.svg b/packages/playground/public/images/icons/chart-line.svg deleted file mode 100644 index 40e4ffa8d1..0000000000 --- a/packages/playground/public/images/icons/chart-line.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/chart-scatter-plot.svg b/packages/playground/public/images/icons/chart-scatter-plot.svg deleted file mode 100644 index 48330c3809..0000000000 --- a/packages/playground/public/images/icons/chart-scatter-plot.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/database-search-outline.svg b/packages/playground/public/images/icons/database-search-outline.svg deleted file mode 100644 index 00c65fa65d..0000000000 --- a/packages/playground/public/images/icons/database-search-outline.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/earth.svg b/packages/playground/public/images/icons/earth.svg deleted file mode 100644 index 774574e074..0000000000 --- a/packages/playground/public/images/icons/earth.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/equalizer.svg b/packages/playground/public/images/icons/equalizer.svg deleted file mode 100644 index 6e80609252..0000000000 --- a/packages/playground/public/images/icons/equalizer.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/lan-connect.svg b/packages/playground/public/images/icons/lan-connect.svg deleted file mode 100644 index edd6397e2a..0000000000 --- a/packages/playground/public/images/icons/lan-connect.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/note-check-outline.svg b/packages/playground/public/images/icons/note-check-outline.svg deleted file mode 100644 index aa6c2c84ae..0000000000 --- a/packages/playground/public/images/icons/note-check-outline.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/resistor-nodes.svg b/packages/playground/public/images/icons/resistor-nodes.svg deleted file mode 100644 index d2709d5b4d..0000000000 --- a/packages/playground/public/images/icons/resistor-nodes.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/playground/public/images/icons/silo.svg b/packages/playground/public/images/icons/silo.svg deleted file mode 100644 index 09e8584774..0000000000 --- a/packages/playground/public/images/icons/silo.svg +++ /dev/null @@ -1 +0,0 @@ -Created by Supanut Piyakanontfrom the Noun Project \ No newline at end of file diff --git a/packages/playground/src/App.vue b/packages/playground/src/App.vue index b7efdef5a2..a7d8724ef9 100644 --- a/packages/playground/src/App.vue +++ b/packages/playground/src/App.vue @@ -16,8 +16,34 @@ > {{ item.title }} @@ -65,18 +91,6 @@ - - {{ network }}net @@ -140,58 +154,41 @@ watch( const version = process.env.VERSION as any; const routes: AppRoute[] = [ - // { - // title: "Deployments", - // items: [ - // { title: "Full Virtual Machine", icon: "vm.png", route: "/" }, - // { title: "Micro Virtual Machine", icon: "vm.png", route: "/vm" }, - // { title: "Kubernetes", icon: "kubernetes.png", route: "/kubernetes" }, - // { title: "CapRover", icon: "caprover.png", route: "/caprover" }, - // { title: "Peertube", icon: "peertube.png", route: "/peertube" }, - // { title: "Funkwhale", icon: "funkwhale.png", route: "/funkwhale" }, - // { title: "Mattermost", icon: "mattermost.png", route: "/mattermost" }, - // { title: "Discourse", icon: "discourse.png", route: "/discourse" }, - // { title: "Taiga", icon: "taiga.png", route: "/taiga" }, - // { title: "Owncloud", icon: "owncloud.png", route: "/owncloud" }, - // { title: "Nextcloud", icon: "nextcloud.png", route: "/nextcloud" }, - // { title: "Presearch", icon: "presearch.png", route: "/presearch" }, - // { title: "Subsquid", icon: "subsquid.png", route: "/subsquid" }, - // { title: "Casperlabs", icon: "casperlabs.png", route: "/casperlabs" }, - // { title: "Algorand", icon: "algorand.png", route: "/algorand" }, - // { title: "Node Pilot", icon: "vm.png", route: "/nodepilot" }, - // { title: "Wordpress", icon: "wordpress.png", route: "/wordpress" }, - // { title: "Umbrel", icon: "umbrel.png", route: "/umbrel" }, - // // { title: "Freeflow", icon: "freeflow.png", route: "/freeflow" }, - // ], - // }, { title: "Playground", items: [{ title: "Deployments", icon: "vm.png", route: "/" }], }, + { + title: "My Account", + items: [{ title: "Contracts", icon: "mdi-file-document-edit", route: "/contractslist" }], + }, { title: "Portal", + icon: "mdi-account-convert-outline", items: [ - { title: "Twin", icon: "account-supervisor-outline.svg", route: "/twin" }, - { title: "Bridge", icon: "swap-horizontal.png", route: "/bridge" }, - { title: "Transfer", icon: "account-transfer.svg", route: "/transfer" }, - { title: "Farms", icon: "silo.svg", route: "/farms" }, - { title: "Dedicated Nodes", icon: "resistor-nodes.svg", route: "/dedicated-nodes" }, - { title: "DAO", icon: "note-check-outline.svg", route: "/dao" }, + { title: "Twin", icon: "mdi-account-supervisor-outline", route: "/twin" }, + { title: "Bridge", icon: "mdi-swap-horizontal", route: "/bridge" }, + { title: "Transfer", icon: "mdi-account-arrow-right-outline", route: "/transfer" }, + { title: "Farms", icon: "mdi-silo", route: "/my-farms" }, + { title: "Dedicated Nodes", icon: "mdi-resistor-nodes", route: "/dedicated-nodes" }, + { title: "DAO", icon: "mdi-note-check-outline", route: "/dao" }, ], }, { title: "Explorer", + icon: "mdi-database-search-outline", items: [ - { title: "Statistics", icon: "chart-scatter-plot.svg", route: "/stats" }, - { title: "Nodes", icon: "access-point.svg", route: "/nodes" }, - { title: "Farms", icon: "lan-connect.svg", route: "/farms" }, + { title: "Statistics", icon: "mdi-chart-scatter-plot", route: "/stats" }, + { title: "Nodes", icon: "mdi-access-point", route: "/nodes" }, + { title: "Farms", icon: "mdi-lan-connect", route: "/farms" }, ], }, { title: "Calculators", + icon: "mdi-calculator", items: [ - { title: "Resource Pricing", icon: "calculator.svg", route: "pricing" }, - { title: "Simulator", icon: "chart-line.svg", route: "/simulator" }, + { title: "Resource Pricing", icon: "mdi-currency-usd", route: "pricing" }, + { title: "Simulator", icon: "mdi-chart-line", route: "/simulator" }, ], }, { @@ -214,27 +211,12 @@ const routes: AppRoute[] = [ }, ], }, - { - title: "My Account", - items: [{ title: "Contracts", route: "/contractslist" }], - }, { title: "Help", items: [{ title: "Manual", icon: "mdi-open-in-new", url: "https://manual.grid.tf/" }], }, ]; -const navbarLinks: NavbarLink[] = [ - { - label: "Help", - url: "https://manual.grid.tf/", - }, - { - label: "Monitoring", - url: "https://metrics.grid.tf/d/rYdddlPWkfqwf/zos-host-metrics?orgId=2&refresh=30s", - }, -]; - // eslint-disable-next-line no-undef const network = process.env.NETWORK || (window as any).env.NETWORK; @@ -264,6 +246,7 @@ import ProfileManager from "./weblets/profile_manager.vue"; interface AppRoute { title: string; items: AppRouteItem[]; + icon?: string; } interface AppRouteItem { From b0c6c7f4ec5765e9a81e0f5bdd59460a2374fabd Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Wed, 23 Aug 2023 14:34:27 +0300 Subject: [PATCH 006/371] Fix failing build workflow --- packages/playground/src/weblets/tf_nextcloud.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playground/src/weblets/tf_nextcloud.vue b/packages/playground/src/weblets/tf_nextcloud.vue index 0f416b3b24..cb88754348 100644 --- a/packages/playground/src/weblets/tf_nextcloud.vue +++ b/packages/playground/src/weblets/tf_nextcloud.vue @@ -137,7 +137,7 @@ const flist: Flist = { entryPoint: "/sbin/zinit init", }; -const name = ref(generateName(8, { prefix: "nc" })); +const name = ref(generateName({ prefix: "nc" })); const ipv4 = ref(true); const planetary = ref(true); const wireguard = ref(true); From ebbd9cc4104d92efd16b0166de58f1dd764c22c2 Mon Sep 17 00:00:00 2001 From: Omar Kassem Date: Wed, 23 Aug 2023 15:23:09 +0300 Subject: [PATCH 007/371] Release packages on npm with an edge tag (#1038) * add tag on publishing pre-release based on the version name if contains 'rc' will add an eadge tag if not this will be latest * clean up remove unnecessary empty line * Update publish.yml --- .github/workflows/publish.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 370cb62be7..453dcd9470 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,8 @@ jobs: matrix: node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -29,10 +30,15 @@ jobs: run: yarn --pure-lockfile - name: Build run: lerna run build --no-private - - name: Publish + + - name: Publish Pre-release + if: contains(github.ref, 'rc') + run: lerna publish from-package --no-private --yes --dist-tag edge + + - name: Publish Release + if: "!contains(github.ref, 'rc')" run: lerna publish from-package --no-private --yes - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + docker-image-grid-client: needs: build From 9490f0ce4ae76646805495fa47311eda0240d92e Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Wed, 23 Aug 2023 21:16:24 +0300 Subject: [PATCH 008/371] Add solutions view, fix solutions view not found err --- .../public/images/icons/swap-horizontal.png | Bin 1997 -> 0 bytes .../playground/src/views/solutions_view.vue | 170 +++++++++++++++++- packages/playground/tsconfig.app.json | 1 - 3 files changed, 169 insertions(+), 2 deletions(-) delete mode 100644 packages/playground/public/images/icons/swap-horizontal.png diff --git a/packages/playground/public/images/icons/swap-horizontal.png b/packages/playground/public/images/icons/swap-horizontal.png deleted file mode 100644 index da00fbb2b00b3c695d16868ad708043133105c94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1997 zcmZ`)c~nz(7QQcR0R)oD0F@;WYMCgIXe&&IKthKlzyXxO0fm}4A_Jn}AQ242JO`%G zg2Azhb`Yg1(7~XnP$(dwAau}zd0x0cbD%jFYlb2k9J3e zT3Kwd0065nK~M|;flLBu#)zt4wcSSKdPoox2_ShJfGhx5K_T)vfS3dDQUvhF%K-Mr zue9vpq6Foy5urfH<|L5>h zm!SZ&-GSj#Q>^uwLTU%;O*wZSlaVWhbLAF6BOJb4fFjs5@iWHpMTA+p*BFnzh_Y0^e%;M+m*PV>|MqyDRKY=%!LZ z5m<#W_@5ZR?WEHnzT5<5>q9Jq`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lvgM zJx;lcyC{0E6Gb#4{*!Janj59wZZ8Fs=@6#f2}4-&W2~XBQNhIJ51lkV(+OujV;x2} zbl^%Rx~C~IpQ79P?yGr>+6Ihl9=cH+1A*;WR2~n#ZYuk)3Pz< zHX#&IeK9%=qsE*Iw@_n;zQgFqeV9c*!;mSY)|KZkxCAJqroZ{mg%T_C>{;7no%cvi Q1eS#bM+Mz}U-XY(0oNiC0ssI2 diff --git a/packages/playground/src/views/solutions_view.vue b/packages/playground/src/views/solutions_view.vue index c45dc13bdb..e17467e748 100644 --- a/packages/playground/src/views/solutions_view.vue +++ b/packages/playground/src/views/solutions_view.vue @@ -1,9 +1,177 @@ + + diff --git a/packages/playground/tsconfig.app.json b/packages/playground/tsconfig.app.json index 0d8dce57ab..fc5064c576 100644 --- a/packages/playground/tsconfig.app.json +++ b/packages/playground/tsconfig.app.json @@ -4,7 +4,6 @@ "exclude": ["src/**/__tests__/*"], "compilerOptions": { "ignoreDeprecations": "5.0", - "composite": true, "baseUrl": ".", "paths": { "@/*": ["./src/*"] From 5b75ecdf23d5e4e7c8daba8d268b9d525631f49c Mon Sep 17 00:00:00 2001 From: "alaamahmoud.1223@gmail.com" Date: Thu, 24 Aug 2023 13:09:20 +0300 Subject: [PATCH 009/371] remove edit button --- packages/playground/src/portal/twin_view.vue | 49 +++----------------- 1 file changed, 7 insertions(+), 42 deletions(-) diff --git a/packages/playground/src/portal/twin_view.vue b/packages/playground/src/portal/twin_view.vue index d90af4493e..891600ab18 100644 --- a/packages/playground/src/portal/twin_view.vue +++ b/packages/playground/src/portal/twin_view.vue @@ -1,40 +1,15 @@