From ea96b24b17fb50c265b8298dbe4dd8a7136d3e3e Mon Sep 17 00:00:00 2001 From: Jeremy Ho Date: Thu, 27 Apr 2023 15:21:21 -0700 Subject: [PATCH 1/2] Change metadata name to coms-name Signed-off-by: Jeremy Ho --- frontend/src/components/object/ObjectFileDetails.vue | 2 +- frontend/src/components/object/ObjectProperties.vue | 2 +- frontend/src/components/object/ObjectTable.vue | 4 ++-- frontend/src/components/object/share/ShareObjectButton.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/object/ObjectFileDetails.vue b/frontend/src/components/object/ObjectFileDetails.vue index f7ef0b1e..2106c220 100644 --- a/frontend/src/components/object/ObjectFileDetails.vue +++ b/frontend/src/components/object/ObjectFileDetails.vue @@ -50,7 +50,7 @@ const toast = useToast(); const showPermissions = async (objectId: string) => { permissionsVisible.value = true; permissionsObjectId.value = objectId; - permissionsObjectName.value = metadataStore.findValue(objectId, 'name') || ''; + permissionsObjectName.value = metadataStore.findValue(objectId, 'coms-name') || ''; }; function onDeletedSuccess() { diff --git a/frontend/src/components/object/ObjectProperties.vue b/frontend/src/components/object/ObjectProperties.vue index d35bf1a0..7229f3c3 100644 --- a/frontend/src/components/object/ObjectProperties.vue +++ b/frontend/src/components/object/ObjectProperties.vue @@ -66,7 +66,7 @@ watch( props, () => { { permissionsVisible.value = true; permissionsObjectId.value = objectId; - permissionsObjectName.value = metadataStore.findValue(objectId, 'name') || ''; + permissionsObjectName.value = metadataStore.findValue(objectId, 'coms-name') || ''; }; const togglePublic = async (objectId: string, isPublic: boolean) => { @@ -98,7 +98,7 @@ watch( getObjects, async () => { await metadataStore.fetchMetadata({objectId: objIds}); tableData.value = objs.map( (x: COMSObjectDataSource) => { - x.name = metadataStore.findValue(x.id, 'name'); + x.name = metadataStore.findValue(x.id, 'coms-name'); return x; }); }); diff --git a/frontend/src/components/object/share/ShareObjectButton.vue b/frontend/src/components/object/share/ShareObjectButton.vue index 76fa0f61..de0af0ce 100644 --- a/frontend/src/components/object/share/ShareObjectButton.vue +++ b/frontend/src/components/object/share/ShareObjectButton.vue @@ -58,7 +58,7 @@ onMounted( () => {

- {{ metadataStore.findValue(id, 'name') }} + {{ metadataStore.findValue(id, 'coms-name') }}

    From 38813287038a5576e2c2851c71b9e341245722c8 Mon Sep 17 00:00:00 2001 From: Jeremy Ho Date: Thu, 27 Apr 2023 15:24:18 -0700 Subject: [PATCH 2/2] Version bump BCBox to v0.2.1 Signed-off-by: Jeremy Ho --- app/package-lock.json | 4 ++-- app/package.json | 2 +- charts/bcbox/Chart.yaml | 4 ++-- charts/bcbox/README.md | 2 +- frontend/package-lock.json | 4 ++-- frontend/package.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index afe88200..37a40aa1 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "bcbox-app", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bcbox-app", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "dependencies": { "api-problem": "^9.0.1", diff --git a/app/package.json b/app/package.json index 1814be01..f26ff4b3 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "bcbox-app", - "version": "0.2.0", + "version": "0.2.1", "private": true, "description": "", "author": "NR Common Service Showcase ", diff --git a/charts/bcbox/Chart.yaml b/charts/bcbox/Chart.yaml index 006fde9e..3317a403 100644 --- a/charts/bcbox/Chart.yaml +++ b/charts/bcbox/Chart.yaml @@ -3,7 +3,7 @@ name: bcbox # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.6 +version: 0.0.7 kubeVersion: ">= 1.13.0" description: A frontend UI for managing access control to S3 Objects # A chart can be either an 'application' or a 'library' chart. @@ -37,6 +37,6 @@ maintainers: # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.2.0" +appVersion: "0.2.1" deprecated: false annotations: {} diff --git a/charts/bcbox/README.md b/charts/bcbox/README.md index 0f9a2fe3..20af46cb 100644 --- a/charts/bcbox/README.md +++ b/charts/bcbox/README.md @@ -1,6 +1,6 @@ # bcbox -![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square) +![Version: 0.0.7](https://img.shields.io/badge/Version-0.0.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.1](https://img.shields.io/badge/AppVersion-0.2.1-informational?style=flat-square) A frontend UI for managing access control to S3 Objects diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 40463e93..8b52210c 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "bcbox-frontend", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bcbox-frontend", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "dependencies": { "@bcgov/bc-sans": "^1.0.1", diff --git a/frontend/package.json b/frontend/package.json index b895196f..10bdde3b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "bcbox-frontend", - "version": "0.2.0", + "version": "0.2.1", "private": true, "description": "", "author": "NR Common Service Showcase ",