CinnabarOpen the app
Using Cinnabar

Filters and views

Write a filter, narrow a view with the quick filter, save it as a view, and choose how the view looks.

A filter says which tasks to show. A view is a filter with a name, plus how its tasks are laid out: grouping, sort, and which chips each row shows. Every view in the sidebar, the built-in ones included, works this way.

Write a filter

Filters are short lines of text. A few examples:

do <= today & open

Open tasks whose do date is today or earlier.

#calls | #errands

Tasks tagged #calls or #errands.

deadline within next 7d & !done

Tasks with a deadline in the next seven days that aren’t done.

under:"Plan trip" & open

Open tasks anywhere inside the task “Plan trip”.

no do & no parent

Top-level tasks with no do date.

estimate < 1h & priority >= P2

Short tasks of priority P2 or higher, using two custom properties.

& means and, | means or, ! means not, and brackets group conditions. The filter language page lists every field and operator. In the app, Help → Filter syntax has the same, with examples.

The quick filter: narrow the open view

The quick filter narrows the view you’re looking at, without changing it. Press F, or click the quick filter button in the view’s header, and a bar opens above the list. Start typing: the list shows only the tasks that match both the view’s filter and what you typed, keeping the view’s sort and grouping, and it updates as you type.

  • Words search task titles: invoice shows the tasks whose title contains “invoice”.
  • Any filter works too: #calls, do <= today, priority >= P2. The filter language page lists them all.
  • A tag’s chip (its small label on a task’s row) does it for you: click #work and All tasks opens, narrowed to that tag.

The bar shows how many tasks match, for example “3 of 11 tasks”. Press ↓ to move into the list, and Esc (or the bar’s close button) to clear it. Leaving the view clears it too: the quick filter is never saved, and other devices never see it.

Save it as a view

While the quick filter holds a filter, click Save as view in its bar (or choose Save as view in the command palette). The view editor opens with a new view whose filter combines the two, named after both. Change what you like and save.

To start from nothing, click New view at the bottom of the sidebar, or choose New view… in the palette.

The view editor

Open it for the current view with Edit view… (in the view’s menu or the palette), or press / to go straight to its filter.

The view editor: the filter as text, what a task added here gets, layout options, and a live previewThe view editor: the filter as text, what a task added here gets, layout options, and a live preview
  • Filter. The Builder tab builds the filter one condition at a time. The Text tab shows it as a line of text. Both edit the same filter. Under the Text tab, Show SQL shows the filter as SQL.
  • Group by. Nothing, the top-level task, the do date, the due date, the deadline, or a choice (select) property such as Priority. Grouped by a date or a property, you also choose the groups’ order (Earliest first or Latest first, P1 first or P4 first) and whether “No value” comes first or last. See Grouped views.
  • Sort. By hand (Manual), or by one or more fields, each up or down. With a field sort, Sort subtasks too decides whether subtasks are sorted as well or keep the order you gave them. Sorted by hand, Times first puts the tasks with a do or due time today at the top, under “At a set time”, Earliest first or Latest first, and the rest under “Any time”. Today uses it.
  • Hierarchy. Matches in context shows each matching task under its parents, with parents that don’t match drawn dimmed. Flat list shows only the matches, and a small “↳” marks a subtask.
  • Show count in sidebar. Whether the sidebar shows how many tasks the view holds. It is on for Inbox, Today, and every view you make, and off for the other built-in views.
  • Show on each row. Default chips shows the fields set to Show as a chip by default in Settings → Properties. Chosen for this view lets you pick, order, and remove chips for this view alone: your properties, and also the notes icon, ↻ for a task that repeats, and the do date, due date, and deadline.
  • When a task is added or dropped here. Your own rules for changing a task to fit the view. See Add your own rules.
  • Pin to sidebar. Whether the view appears in the sidebar.

On the right, a live preview shows the first tasks that match and how many match in all. Press ⌘Enter (Ctrl+Enter) or click Save view to save.

How a view changes a task

A view’s filter does more than pick tasks: when a task is moved to a view or made in it, the view changes the task to fit.

Drop a task on a view

Drag a task onto a view in the sidebar, or use Move to… (M) and choose a view. Cinnabar makes the smallest change that lets the task match that view’s filter. The message at the bottom lists what changed, with Undo:

  • Drop a task on Today and its do date becomes today.
  • Drop one on Upcoming and its do date becomes tomorrow.
  • Drop one on Someday and it is marked Someday, with its do date cleared.
  • Drop one on a view with the filter #work & priority = P1, and it gets the tag and the priority.

Moving a task to a view also counts as deciding about it, so it can leave the Inbox or Someday: see How a task leaves the Inbox.

While you drag, each view that can take the task shows the changes it would make. A view that can’t work out a change (a filter on title words, say, or one that offers several choices, like #calls | #errands) fades out and isn’t offered. If a task already matches a view, dropping it there changes nothing, and the message at the bottom says “Already in Today”.

Within a view grouped by a choice property, dragging a task among another group’s rows, or onto its heading, gives it that group’s value, and the message at the bottom says so (“priority → P2”). In a view sorted by a field, that is the only change: the task keeps its place in its project. While you drag, every group’s heading shows, empty ones too, so you can drop a task into a priority no task has yet. Dropping a task into a date group changes no date.

The same rules apply to a task you create while a view is open. A task created in Today gets today’s do date. A new task in a view that can’t hold tasks goes to the Inbox instead, or, if you typed a date or a tag with it, where those put it. The message at the bottom says where it went.

Add your own rules

Under When a task is added or dropped here, click + Add rule to set a field when a task arrives. Each rule can set to, set if empty, add, remove, or clear a field. Set if empty works like a default: it fills the field only if the task has no value yet.

Your rules come first, and Cinnabar still works out whatever else the filter needs. The editor checks that the rules really make a task match the filter, and won’t save rules that don’t.

Every view shows its filter

On a computer or tablet, a view’s header shows its filter as a small pill, so nothing is hidden. The pill only shows the filter: to change it, choose Edit view… in the view’s ⋯ menu, or press /. On a phone the filter is in Edit view….

When a task stops matching the view

Change a task so it no longer fits the view you’re in (give an Inbox task a do date, remove the tag a view shows, move it under another task), or add one that doesn’t fit, and it doesn’t vanish at once. It stays where it was, dimmed, with an arrow saying where it went (“→ Upcoming”), and a small ring beside it empties over 5 seconds. Then it leaves.

The pause is there so you can see what happened, and change your mind: undo, or change the task back, and it stays. The countdown waits while you’re still editing that task, and starts again from full when you finish. Leaving the view ends it at once.

A few changes don’t wait:

  • Completing or reopening a task holds it for 2 seconds, without the ring. A repeating task you complete is held checked for those 2 seconds, then shows at its next date.
  • Moving a task to another view (dropping it on a view in the sidebar, or Move to…) and deleting it take it away at once.
  • Changes from your other devices never wait.

With reduced motion turned on in your system settings, the ring doesn’t animate.

Grouped views

In a view grouped by a date or a choice property, each group has a heading with how many tasks it holds, such as “P1 · 4”. Only groups that hold a task are shown. Click or tap a heading to fold the group, and again to unfold it. From the keyboard, ⌥⇧← folds the selected task’s group, ⌥⇧→ unfolds the nearest folded group above it, and ⌥⇧↓ and ⌥⇧↑ go to the next and previous group. Collapse all (⇧←) collapses every task and folds every group too; Expand all (⇧→) opens them all again.

To regroup a view at once, use Group by… in the view’s ⋯ menu or the command palette, or click the grouping at the end of the filter pill, such as “by priority”. It saves the view’s grouping, with Undo, and the message at the bottom names the view, since its grouping is the same on every device.

A new task you make among a group’s rows (with N or ⇧N) gets that group’s value, unless you type another.

A view that needs repair

If a view’s filter names a property that was deleted, or something else it can’t read, the view gets a red dot in the sidebar and stops being a drop target. Nothing else is affected. Open it and fix its filter in the editor; the problem is shown there.