✨ Features
- Each rendered task's CSS now contains information about the task's priority. You can use this information to style each priority differently. These classes are
todoist-p1
,todoist-p2
,todoist-p3
, andtodoist-p4
. For example:.todoist-p1 input[type=checkbox] { /* This matches against the input element rendered for a priority 1 task. */ }
- When a task is removed or added, it now transitions with a smooth fading effect, rather than immediately being added/removed. This can be turned off in the settings.
- Added support for auto-refreshing queries. This can be set at a global level within the settings tab or overridden for each individual query. For example:
```json { "name": "My Tasks", "filter": "today | overdue", "autorefresh": 30 } ```
- Added a setting tab in the Obsidian setting menu. There are three settings included in this release:
- "Task fade animation" - controls whether to use the fade animation
- "Auto-refresh" - controls whether all queries should auto-refresh
- "Auto-refresh interval" - controls the default interval for auto-refreshing queries
🔃 Changes
- The rendered task list now uses the ordering as defined by the Todoist API.
🐛 Bug Fixes
- The injected Todoist query components are correctly destroyed when removed from the DOM.