Skip to content

Commit

Permalink
Merge pull request #76 from bcgov/feature/coms-name
Browse files Browse the repository at this point in the history
BCBox v0.2.1 - Retarget metadata name to coms-name
  • Loading branch information
TimCsaky authored Apr 28, 2023
2 parents f7bfa76 + 3881328 commit ae06ffd
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bcbox-app",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"description": "",
"author": "NR Common Service Showcase <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions charts/bcbox/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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: {}
2 changes: 1 addition & 1 deletion charts/bcbox/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bcbox-frontend",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"description": "",
"author": "NR Common Service Showcase <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/object/ObjectFileDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/object/ObjectProperties.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ watch( props, () => {
<GridRow
class=" overflow-hidden"
label="Name"
:value="objectMetadata?.metadata.find(x => x.key === 'name')?.value"
:value="objectMetadata?.metadata.find(x => x.key === 'coms-name')?.value"
/>
<GridRow
v-if="fullView"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/object/ObjectTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const showPermissions = async (objectId: string) => {
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) => {
Expand Down Expand Up @@ -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;
});
});
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/object/share/ShareObjectButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ onMounted( () => {
</template>

<h3 class="bcbox-info-dialog-subhead">
{{ metadataStore.findValue(id, 'name') }}
{{ metadataStore.findValue(id, 'coms-name') }}
</h3>

<ul class="mb-4">
Expand Down

0 comments on commit ae06ffd

Please sign in to comment.