From 7093f71372d8363abfb745a3e263d7080e1136ee Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Thu, 13 Jun 2024 14:34:55 +0200 Subject: [PATCH] feat(FilterInput): use expandable --- .../project/partials/FilterInputDocs.vue | 117 ++++++++---------- 1 file changed, 52 insertions(+), 65 deletions(-) diff --git a/frontend/src/components/project/partials/FilterInputDocs.vue b/frontend/src/components/project/partials/FilterInputDocs.vue index fe6e5845b..eeea45f92 100644 --- a/frontend/src/components/project/partials/FilterInputDocs.vue +++ b/frontend/src/components/project/partials/FilterInputDocs.vue @@ -1,6 +1,7 @@ @@ -13,68 +14,54 @@ const showDocs = ref(false) {{ $t('filters.query.help.link') }} - -
-

{{ $t('filters.query.help.intro') }}

-
    -
  • done: {{ $t('filters.query.help.fields.done') }}
  • -
  • priority: {{ $t('filters.query.help.fields.priority') }}
  • -
  • percentDone: {{ $t('filters.query.help.fields.percentDone') }}
  • -
  • dueDate: {{ $t('filters.query.help.fields.dueDate') }}
  • -
  • startDate: {{ $t('filters.query.help.fields.startDate') }}
  • -
  • endDate: {{ $t('filters.query.help.fields.endDate') }}
  • -
  • doneAt: {{ $t('filters.query.help.fields.doneAt') }}
  • -
  • assignees: {{ $t('filters.query.help.fields.assignees') }}
  • -
  • labels: {{ $t('filters.query.help.fields.labels') }}
  • -
  • project: {{ $t('filters.query.help.fields.project') }}
  • -
-

{{ $t('filters.query.help.canUseDatemath') }}

-

{{ $t('filters.query.help.operators.intro') }}

-
    -
  • !=: {{ $t('filters.query.help.operators.notEqual') }}
  • -
  • =: {{ $t('filters.query.help.operators.equal') }}
  • -
  • >: {{ $t('filters.query.help.operators.greaterThan') }}
  • -
  • >=: {{ $t('filters.query.help.operators.greaterThanOrEqual') }}
  • -
  • <: {{ $t('filters.query.help.operators.lessThan') }}
  • -
  • <=: {{ $t('filters.query.help.operators.lessThanOrEqual') }}
  • -
  • like: {{ $t('filters.query.help.operators.like') }}
  • -
  • in: {{ $t('filters.query.help.operators.in') }}
  • -
-

{{ $t('filters.query.help.logicalOperators.intro') }}

-
    -
  • &&: {{ $t('filters.query.help.logicalOperators.and') }}
  • -
  • ||: {{ $t('filters.query.help.logicalOperators.or') }}
  • -
  • ( and ): {{ $t('filters.query.help.logicalOperators.parentheses') }}
  • -
-

{{ $t('filters.query.help.examples.intro') }}

-
    -
  • priority = 4: {{ $t('filters.query.help.examples.priorityEqual') }}
  • -
  • dueDate < now: {{ $t('filters.query.help.examples.dueDatePast') }}
  • -
  • - done = false && priority >= 3: - {{ $t('filters.query.help.examples.undoneHighPriority') }} -
  • -
  • assignees in user1, user2: {{ $t('filters.query.help.examples.assigneesIn') }}
  • -
  • - (priority = 1 || priority = 2) && dueDate <= now: - {{ $t('filters.query.help.examples.priorityOneOrTwoPastDue') }} -
  • -
-
-
- - - \ No newline at end of file + +

{{ $t('filters.query.help.intro') }}

+ +

{{ $t('filters.query.help.canUseDatemath') }}

+

{{ $t('filters.query.help.operators.intro') }}

+ +

{{ $t('filters.query.help.logicalOperators.intro') }}

+ +

{{ $t('filters.query.help.examples.intro') }}

+ +
+ \ No newline at end of file