From fd99f11f8eeeedb128d04550102c9f6fe764fa50 Mon Sep 17 00:00:00 2001 From: Konstantin Chernyshev <38007247+k4black@users.noreply.github.com> Date: Mon, 8 Jan 2024 22:25:05 +0100 Subject: [PATCH] feat: Fix sync button style, Fix intent level, Add button (#265) * feat: add button, fix refresh style, fix indentations * fix: add text-indent for title as std bullet points * fix: add todoist prefix to css class * fix: intent for task item * fix: remove git keep * fix: callTaskModal call * fix: intends * chore: add changelog items --- CHANGELOG.md | 3 +++ src/ui/TaskList.svelte | 2 +- src/ui/TaskRenderer.svelte | 2 +- src/ui/TodoistQuery.svelte | 46 ++++++++++++++++++++++++++++++++------ styles.css | 25 +++++++++++++++++---- 5 files changed, 65 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3519f6..34ab69a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,10 +12,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added the option to wrap page links in parenthesis when creating tasks with the command. You may find this useful if you primarily use Todoist on mobile where links are less obvious. Thanks to [@ThDag](https://github.com/ThDag) for the contribution! - You can now use the `{{filename}}` placeholder in the filter property. This will be replaced with the name of the file where the query is defined. - For example, if the full file path is `My Vault/Notes/How to Take Smart Notes.md` then the replaced file name will be `How to Take Smart Notes`. +- Create "Add item" button - open same modal window of task creation. ### 🔁 Changes - You can now toggle whether or not task descriptions are rendered for each task. +- Change the style of the sync button to match the new Obsidian style of the "edit" button. +- Fix intent level to match std markdown levels - to have consistent style. ## [1.11.1] - 2023-04-09 diff --git a/src/ui/TaskList.svelte b/src/ui/TaskList.svelte index 74a963d..6d876c6 100644 --- a/src/ui/TaskList.svelte +++ b/src/ui/TaskList.svelte @@ -41,7 +41,7 @@ {#if todos.length != 0} -