From b2ae6023bf2873a963a19e906c83a63d6964fdfb Mon Sep 17 00:00:00 2001 From: silvester-pari Date: Mon, 26 Dec 2022 14:51:01 +0100 Subject: [PATCH 01/20] feat(WIP): federated processing flow --- components/Item.vue | 28 +++ components/ItemDisplay.vue | 5 + components/ItemGrid.vue | 16 +- layouts/default.vue | 43 +++++ nuxt.config.js | 20 ++- pages/new-process.vue | 323 ++++++++++++++++++++++++++++++++++ pages/processing-status.vue | 15 ++ pages/products/_product.vue | 1 + static/processing-status.html | 217 +++++++++++++++++++++++ static/start-process.html | 180 +++++++++++++++++++ 10 files changed, 844 insertions(+), 4 deletions(-) create mode 100644 pages/new-process.vue create mode 100644 pages/processing-status.vue create mode 100644 static/processing-status.html create mode 100644 static/start-process.html diff --git a/components/Item.vue b/components/Item.vue index 10d535a4..d6f55376 100644 --- a/components/Item.vue +++ b/components/Item.vue @@ -104,6 +104,30 @@

+
@@ -223,6 +247,10 @@ export default { nav: { type: Object, default: () => ({}) + }, + processing: { + type: Array, + default: () => [] } }, data () { diff --git a/components/ItemDisplay.vue b/components/ItemDisplay.vue index 6b2f6dc7..f7db034a 100644 --- a/components/ItemDisplay.vue +++ b/components/ItemDisplay.vue @@ -3,6 +3,8 @@ @@ -32,6 +34,9 @@ export default { numberOfPages: { type: Number, default: () => 1 + }, + selectionMode: { + type: Boolean } }, data () { diff --git a/components/ItemGrid.vue b/components/ItemGrid.vue index c09bfddc..d65a6a1c 100644 --- a/components/ItemGrid.vue +++ b/components/ItemGrid.vue @@ -9,10 +9,17 @@ lg="3" > false + }, + selectionMode: { + type: Boolean } }, computed: { diff --git a/layouts/default.vue b/layouts/default.vue index d190acc6..dc48792a 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -98,6 +98,49 @@ + + + + + + + mdi-cloud-plus-outline + + + New Process + + + + + mdi-cloud-clock-outline + + + Processing Status + + + + + + +

+ Start process +

+ + + + + Select a process - {{ selectedProcess }} + + + + + + Continue + + + Cancel + + + + + Select a product - {{ selectedProduct.properties.title }} + + + + +

+ {{ selectedProduct.properties.title }} +

+ + Continue + + + Back + +
+ + + Select cloud + + + + + + Continue + + + Back + + + + + Review and start processing + + +

Summary

+

Process: {{ selectedProcess }}

+

+ Product: {{ selectedProduct.properties.title }} +

+

Cloud: {{ selectedCloud }}

+ +

+ {{ processingError }} +

+

+ {{ processingInfo }} +

+ + + mdi-cloud-cog-outline + + Start Processing + + + Back + + + + mdi-arrow-right + + Processing status overview + +
+
+
+
+
+ + + diff --git a/pages/processing-status.vue b/pages/processing-status.vue new file mode 100644 index 00000000..2b3d8913 --- /dev/null +++ b/pages/processing-status.vue @@ -0,0 +1,15 @@ +