From 0ff574a0544366d3bb8a9e38af0ba052552f8c1f Mon Sep 17 00:00:00 2001 From: Patrick Winfield Date: Tue, 17 Oct 2023 14:25:30 -0600 Subject: [PATCH 1/3] change bandwidth text to data transfer. hide storage metrics. --- src/components/HAppCardUsage.vue | 14 +++++++------- src/locales/en.js | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/HAppCardUsage.vue b/src/components/HAppCardUsage.vue index 6e77b68..bfea104 100644 --- a/src/components/HAppCardUsage.vue +++ b/src/components/HAppCardUsage.vue @@ -30,16 +30,16 @@ const items = computed(() => { unit: t('$.cpu'), isDisabled: true }, - { - value: presentBytes(props.happ.storage), - unit: t('$.storage'), - isDisabled: true - }, { value: presentBytes(props.happ.usage?.bandwidth), - unit: t('$.bandwidth'), + unit: t('$.data_transfer'), isDisabled: false - } + }, + // { + // value: presentBytes(props.happ.storage), + // unit: t('$.storage'), + // isDisabled: true + // } ] }) diff --git a/src/locales/en.js b/src/locales/en.js index 966dbaa..4920321 100644 --- a/src/locales/en.js +++ b/src/locales/en.js @@ -1,7 +1,7 @@ const translations = { $: { app_version: '{app} version {version}', - bandwidth: 'Bandwidth', + data_transfer: 'Data Transfer', cancel: 'Cancel', confirm: 'Confirm', continue: 'Continue', From b3450a08700fe20b66f4d79ae27ea1a08da20088 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 28 Nov 2023 12:41:48 -0700 Subject: [PATCH 2/3] wip --- src/components/BaseTableHeaderItem.vue | 14 +++++++++ .../icons/SmallExInGraySquareIcon.vue | 30 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 src/components/icons/SmallExInGraySquareIcon.vue diff --git a/src/components/BaseTableHeaderItem.vue b/src/components/BaseTableHeaderItem.vue index 6c1780f..3154447 100644 --- a/src/components/BaseTableHeaderItem.vue +++ b/src/components/BaseTableHeaderItem.vue @@ -12,6 +12,19 @@ class="header-row-item" >
+ +
+
@@ -36,6 +49,7 @@ + + From edd3532bf59a294b43956e9ce6e1114cb03639b4 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 30 Nov 2023 16:43:24 -0700 Subject: [PATCH 3/3] Add color prop to icons --- src/components/icons/CircledCheckIcon.vue | 10 ++++++++-- src/components/icons/CircledExclamationIcon.vue | 12 +++++++++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/icons/CircledCheckIcon.vue b/src/components/icons/CircledCheckIcon.vue index 6fc4501..e68461c 100644 --- a/src/components/icons/CircledCheckIcon.vue +++ b/src/components/icons/CircledCheckIcon.vue @@ -1,8 +1,8 @@ @@ -14,6 +14,12 @@ export default { name: 'CircledCheckIcon', components: { Icon + }, + props: { + color: { + type: String, + default: "#735CFE" + } } } diff --git a/src/components/icons/CircledExclamationIcon.vue b/src/components/icons/CircledExclamationIcon.vue index d9f4751..880294e 100644 --- a/src/components/icons/CircledExclamationIcon.vue +++ b/src/components/icons/CircledExclamationIcon.vue @@ -1,7 +1,7 @@ @@ -13,6 +13,12 @@ export default { name: 'CircledExclamationIcon', components: { Icon + }, + props: { + color: { + type: String, + default: "#735CFE" + } } }