feat(filters): query-based filter logic #2177

Merged
konrad merged 62 commits from feature/better-filter-syntax-layered into main 2024-03-10 12:01:48 +00:00
Owner

This PR changes the filter implementation from a fixed query-parameter to a very flexible, sql-like filter syntax. This allows to create filters in all kinds of variants, enabling a lot more queries.

Resolves #2083
Resolves https://github.com/go-vikunja/frontend/issues/137
Resolves https://community.vikunja.io/t/filtering-on-multiple-labels-at-the-same-time/952/3
Resolves https://community.vikunja.io/t/filter-option-require-all-filters-to-be-true-is-broken/1519
Resolves https://community.vikunja.io/t/filter-option-to-exclude-a-tag-project-etc/1523

This PR changes the filter implementation from a fixed query-parameter to a very flexible, sql-like filter syntax. This allows to create filters in all kinds of variants, enabling a lot more queries. Resolves https://kolaente.dev/vikunja/vikunja/issues/2083 Resolves https://github.com/go-vikunja/frontend/issues/137 Resolves https://community.vikunja.io/t/filtering-on-multiple-labels-at-the-same-time/952/3 Resolves https://community.vikunja.io/t/filter-option-require-all-filters-to-be-true-is-broken/1519 Resolves https://community.vikunja.io/t/filter-option-to-exclude-a-tag-project-etc/1523
konrad added 57 commits 2024-03-09 18:01:20 +00:00
continuous-integration/drone/pr Build is failing Details
1a5c79b3cc
feat(filters): highlight label colors in filter
konrad force-pushed feature/better-filter-syntax-layered from 1a5c79b3cc to 6fea5640e8 2024-03-09 18:08:12 +00:00 Compare
konrad added 2 commits 2024-03-09 19:08:39 +00:00
Member

Hi konrad!

Thank you for creating a PR!

I've deployed the frontend changes of this PR on a preview environment under this URL: https://2177-feature-better-filter-syntax-lay--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somewhere. The easiest to use is https://try.vikunja.io/.

This preview does not contain any changes made to the api, only the frontend.

Have a nice day!

Beep boop, I'm a bot.

Hi konrad! Thank you for creating a PR! I've deployed the frontend changes of this PR on a preview environment under this URL: https://2177-feature-better-filter-syntax-lay--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somewhere. The easiest to use is https://try.vikunja.io/. This preview does not contain any changes made to the api, only the frontend. Have a nice day! > Beep boop, I'm a bot.
konrad added 1 commit 2024-03-09 19:21:20 +00:00
continuous-integration/drone/pr Build is failing Details
654e95d99f
fix(filters): test fixture
konrad added 1 commit 2024-03-10 11:17:15 +00:00
continuous-integration/drone/pr Build is passing Details
009e9b5455
fix(filters): correctly use date filters in gantt chart
konrad merged commit e95159a33c into main 2024-03-10 12:01:48 +00:00
konrad deleted branch feature/better-filter-syntax-layered 2024-03-10 12:01:49 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#2177
No description provided.