Feature Request: Support grouped filter sections (Todoist-style)

Currently, filters in Vikunja return a flat list of tasks. For more complex use cases (e.g. daily planning or dashboards), this becomes limiting because there is no way to structure results into logical groups.

I would like to propose extending the filter syntax to support sections (grouped result blocks).

Proposal

Introduce a way to define multiple filter blocks, each with a title.
Each block would be evaluated independently and rendered as its own section.

Preferred syntax:

section("Title", "filter expression")

Multiple sections would be comma-separated.

Example

section("New Tasks", "labels = inbox"),
section("Overdue Tasks", "due_date < now"),
section("Today", "project = work && due_date = today"),
section("Next Tasks", "project = work && labels = next")

Alternative (lighter syntax)

If a function-based approach is not desired, a simpler notation could also work:

New Tasks: labels = inbox,
Overdue Tasks: due_date < now

Expected Behaviour

  • Each section is rendered with its title

  • Sections are evaluated independently

  • Order is preserved

  • Tasks may appear in multiple sections (depending on implementation choice)

Why this would help

  • Enables dashboard-like views with a single filter

  • Reduces the need for multiple saved filters

  • Improves daily workflow (inbox, overdue, today, next, etc.)

  • Familiar concept for users coming from tools like Todoist

It is similar to Group tasks into buckets in List view like Kanban but not the same. Due to the 3 votes limitations I decided to create a more concrete request.

Although not as “pretty” as my initial suggestion: we could also join existing filters.

I would rather prefer my initial suggestion because it would allow to keep things clean.

There is actually a pull request which would allow all that… :open_mouth:

Last week I migrated from AnyDo to Vikunja based on a recommendation from Claude for a replacement that I could self host. I also needed a way to see my Tasks in a 7 Day display with the ability to move tasks from day to day. I was able to vibe code a self hosted web page that fit the bill. Both Vikunja and vinkunja-multiday-view (the stand-alone web page that does the multi-day view) are hosted on my UnRaid server. If anyone is interested in running the docker and giving me feedback, it is hosted on my GitHub.