Skip to content
Snippets Groups Projects
Verified Commit 40e7e605 authored by Daniel Göbel's avatar Daniel Göbel
Browse files

Improve UI in various cases and add changes in CHANGELOG.md

#29
parent 237ec2ad
No related branches found
No related tags found
2 merge requests!84Remove development branch,!23Resolve "Refactor buckets into pinia store"
This commit is part of merge request !23. Comments created here will be created in the context of that merge request.
## Version 1.0.1
### General
* Improved UI when browsing a non-existing bucket or a bucket without permissions for
* Improved UI when not browsing a bucket
### Fixes
* Show correct number of visible objects when searching for objects #28
### Internal
* Use a central repository for the buckets and current user permissions to simplify complex interactions between components #29
......@@ -687,12 +687,33 @@ watch(
<!-- Body -->
<div class="pt-3">
<!-- If bucket not found -->
<div v-if="objectState.bucketNotFoundError">
<p>Bucket not found</p>
<div v-if="objectState.bucketNotFoundError" class="text-center fs-2 mt-5">
<bootstrap-icon
icon="search"
class="mb-3"
:width="64"
:height="64"
style="color: var(--bs-secondary)"
fill="currentColor"
/>
<p>
Bucket <i>{{ props.bucketName }}</i> not found
</p>
</div>
<!-- If no permission for bucket -->
<div v-else-if="objectState.bucketPermissionError">
<p>No permission for this bucket</p>
<div
v-else-if="objectState.bucketPermissionError"
class="text-center fs-2 mt-5"
>
<bootstrap-icon
icon="folder-x"
class="mb-3"
:width="64"
:height="64"
style="color: var(--bs-secondary)"
fill="currentColor"
/>
<p>You don't have permission for this bucket</p>
</div>
<!-- Show content of bucket -->
<div v-else>
......
......@@ -154,6 +154,20 @@ onMounted(() => {
</div>
<div class="col-9">
<router-view></router-view>
<div
v-if="router.currentRoute.value.name === 'buckets'"
class="text-center fs-2 mt-5"
>
<bootstrap-icon
icon="hand-index-thumb-fill"
class="mb-5"
:width="64"
:height="64"
style="color: var(--bs-secondary)"
fill="currentColor"
/>
<p>Click on a bucket to browse its content</p>
</div>
</div>
</div>
</template>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment