From 19b7dda361a7b74455a9a62fd4756d66cdc5e7e6 Mon Sep 17 00:00:00 2001 From: Florian Symanowski Date: Mon, 28 Oct 2019 10:58:40 +0100 Subject: [PATCH 01/45] Remove unused lodash partial dependencies. Use full lodash instead. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 129237b31..fbcceaa2d 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,7 @@ "axios": "^0.19.0", "enquire.js": "^2.1.6", "js-cookie": "^2.2.1", - "lodash.get": "^4.4.2", - "lodash.pick": "^4.4.0", + "lodash": "^4.17.15", "md5": "^2.2.1", "moment": "^2.24.0", "node-emoji": "^1.10.0", From 332d250cbb257f11487e31073ed4398747a33646 Mon Sep 17 00:00:00 2001 From: Florian Symanowski Date: Mon, 28 Oct 2019 11:29:47 +0100 Subject: [PATCH 02/45] Remove requirement of os id for the os logo component. --- src/components/widgets/OsLogo.vue | 238 +++++++++++++++--------------- 1 file changed, 119 insertions(+), 119 deletions(-) diff --git a/src/components/widgets/OsLogo.vue b/src/components/widgets/OsLogo.vue index a26609048..ef2755a37 100644 --- a/src/components/widgets/OsLogo.vue +++ b/src/components/widgets/OsLogo.vue @@ -1,119 +1,119 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you under the Apache License, Version 2.0 (the -// "License"); you may not use this file except in compliance -// with the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, -// software distributed under the License is distributed on an -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the License for the -// specific language governing permissions and limitations -// under the License. - - - - - - +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + + From 2dcb8eaa1c176b0f86b09965c46ec6ff71994756 Mon Sep 17 00:00:00 2001 From: Florian Symanowski Date: Mon, 28 Oct 2019 11:32:18 +0100 Subject: [PATCH 03/45] Fix line endings. --- src/components/widgets/OsLogo.vue | 238 +++++++++++++++--------------- 1 file changed, 119 insertions(+), 119 deletions(-) diff --git a/src/components/widgets/OsLogo.vue b/src/components/widgets/OsLogo.vue index ef2755a37..bcc79c2b2 100644 --- a/src/components/widgets/OsLogo.vue +++ b/src/components/widgets/OsLogo.vue @@ -1,119 +1,119 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you under the Apache License, Version 2.0 (the -// "License"); you may not use this file except in compliance -// with the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, -// software distributed under the License is distributed on an -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -// KIND, either express or implied. See the License for the -// specific language governing permissions and limitations -// under the License. - - - - - - +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + + From 322984da23681f8b55002c10e1015b4f291c3048 Mon Sep 17 00:00:00 2001 From: Florian Symanowski Date: Mon, 28 Oct 2019 15:45:31 +0100 Subject: [PATCH 04/45] Move style fix to main component. --- src/views/compute/DeployVM.vue | 9 +++++++++ src/views/compute/wizard/ComputeSelection.vue | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/compute/DeployVM.vue b/src/views/compute/DeployVM.vue index 45456f625..1f385b818 100644 --- a/src/views/compute/DeployVM.vue +++ b/src/views/compute/DeployVM.vue @@ -321,3 +321,12 @@ export default { margin: 2rem 0; } + + diff --git a/src/views/compute/wizard/ComputeSelection.vue b/src/views/compute/wizard/ComputeSelection.vue index 255c1f26d..0b19f2134 100644 --- a/src/views/compute/wizard/ComputeSelection.vue +++ b/src/views/compute/wizard/ComputeSelection.vue @@ -99,12 +99,3 @@ export default { margin: 2rem 0; } - - From 978a9534c846c44e63255b38f5e406c7d8de5182 Mon Sep 17 00:00:00 2001 From: Florian Symanowski Date: Mon, 28 Oct 2019 16:37:14 +0100 Subject: [PATCH 05/45] Add custom disk offering selection component. --- src/locales/en.json | 3 +- src/views/compute/DeployVM.vue | 28 +++--- .../compute/wizard/DiskOfferingSelection.vue | 99 +++++++++++++++++++ 3 files changed, 113 insertions(+), 17 deletions(-) create mode 100644 src/views/compute/wizard/DiskOfferingSelection.vue diff --git a/src/locales/en.json b/src/locales/en.json index b2477f5e9..cd8de662d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -943,5 +943,6 @@ "yourInstance": "Your instance", "newInstance": "New instance", "cpu": "CPU", -"ram": "RAM" +"ram": "RAM", +"minMaxIops": "Min IOPS / Max IOPS" } diff --git a/src/views/compute/DeployVM.vue b/src/views/compute/DeployVM.vue index 1f385b818..d3d1262de 100644 --- a/src/views/compute/DeployVM.vue +++ b/src/views/compute/DeployVM.vue @@ -90,22 +90,11 @@ @select-compute-item="($event) => updateComputeOffering($event)" > - - - - {{ opt.name }} - - - +