Skip to content

Commit

Permalink
Add contextual helper (#10047)
Browse files Browse the repository at this point in the history
* Add contextual helper

* Add changelog item
  • Loading branch information
AlexAndBear committed Dec 13, 2023
1 parent f9cf024 commit 5f9ef8b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Enhancement: Add explaining contextual helper to spaces overview

https://github.com/owncloud/web/pull/10047
https://github.com/owncloud/web/issues/8163
13 changes: 11 additions & 2 deletions packages/web-app-files/src/views/spaces/Projects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
>
<template #actions>
<create-space v-if="hasCreatePermission" class="oc-mr-s" />
<div v-if="!selectedResourcesIds?.length" class="oc-flex oc-flex-middle oc-pl-s">
<span v-text="$gettext('Learn about spaces')" />
<oc-contextual-helper
:text="$gettext('Spaces are special folders built for collaboration.')"
class="oc-ml-xs"
/>
</div>
</template>
</app-bar>
<app-loading-spinner v-if="areResourcesLoading" />
Expand Down Expand Up @@ -120,8 +127,8 @@
<template #totalQuota="{ resource }">
{{ getTotalQuota(resource) }}
</template>
<template #usedQuota="{ resource }"> {{ getUsedQuota(resource) }} </template>
<template #remainingQuota="{ resource }"> {{ getRemainingQuota(resource) }} </template>
<template #usedQuota="{ resource }"> {{ getUsedQuota(resource) }}</template>
<template #remainingQuota="{ resource }"> {{ getRemainingQuota(resource) }}</template>
<template #image="{ resource }">
<img
v-if="imageContentObject[resource.id]"
Expand Down Expand Up @@ -481,9 +488,11 @@ export default defineComponent({
#files-spaces-empty {
height: 75vh;
}
.table-preview {
border-radius: 3px;
}
.state-trashed {
.tile-preview,
.tile-default-image > svg {
Expand Down

0 comments on commit 5f9ef8b

Please sign in to comment.