feat(views): add filter syntax docs to filter input in views
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kolaente 2024-06-18 17:13:12 +02:00
parent 72fa0ea25c
commit 78eb28b054
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -6,6 +6,7 @@ import {ref, onBeforeMount} from 'vue'
import {transformFilterStringForApi, transformFilterStringFromApi} from '@/helpers/filters'
import {useLabelStore} from '@/stores/labels'
import {useProjectStore} from '@/stores/projects'
import FilterInputDocs from '@/components/project/partials/FilterInputDocs.vue'
const {
modelValue,
@ -141,8 +142,13 @@ function handleBubbleSave() {
v-model="view.filter"
:project-id="view.projectId"
:input-label="$t('project.views.filter')"
class="mb-1"
/>
<div class="is-size-7 mb-3">
<FilterInputDocs />
</div>
<div
v-if="view.viewKind === 'kanban'"
class="field"
@ -211,7 +217,12 @@ function handleBubbleSave() {
v-model="view.bucketConfiguration[index].filter"
:project-id="view.projectId"
:input-label="$t('project.views.filter')"
class="mb-2"
/>
<div class="is-size-7">
<FilterInputDocs />
</div>
</div>
</div>
<div class="is-flex is-justify-content-end">