diff --git a/frontend/src/components/project/partials/FilterInput.vue b/frontend/src/components/project/partials/FilterInput.vue new file mode 100644 index 000000000..52e41acd9 --- /dev/null +++ b/frontend/src/components/project/partials/FilterInput.vue @@ -0,0 +1,130 @@ + + + + + + + diff --git a/frontend/src/components/project/partials/filters.vue b/frontend/src/components/project/partials/filters.vue index a9058fb21..29535bf20 100644 --- a/frontend/src/components/project/partials/filters.vue +++ b/frontend/src/components/project/partials/filters.vue @@ -30,6 +30,9 @@ {{ $t('filters.attributes.sortAlphabetically') }} + + +
@@ -227,6 +230,7 @@ import ProjectService from '@/services/project' // FIXME: do not use this here for now. instead create new version from DEFAULT_PARAMS import {getDefaultParams} from '@/composables/useTaskList' +import FilterInput from '@/components/project/partials/FilterInput.vue' const props = defineProps({ modelValue: { @@ -252,6 +256,9 @@ const DEFAULT_PARAMS = { s: '', } as const +// FIXME: use params +const filterQuery = ref('') + const DEFAULT_FILTERS = { done: false, dueDate: '', diff --git a/frontend/src/i18n/lang/en.json b/frontend/src/i18n/lang/en.json index fdc09d2cb..ae2a5ca59 100644 --- a/frontend/src/i18n/lang/en.json +++ b/frontend/src/i18n/lang/en.json @@ -415,6 +415,9 @@ "edit": { "title": "Edit This Saved Filter", "success": "The filter was saved successfully." + }, + "query": { + "title": "Query" } }, "migrate": {