From 5cd06d1bae8b7f068d06845af370d7ca5e552eaf Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Tue, 4 Jun 2024 00:15:29 +0800 Subject: [PATCH] feat: add draggable sidebar --- .../EventCalendarSideBar/TodayProjects.tid | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/intention-tower-knowledge-graph/ViewTemplate/EventCalendarSideBar/TodayProjects.tid b/src/intention-tower-knowledge-graph/ViewTemplate/EventCalendarSideBar/TodayProjects.tid index 6b4e528..461f217 100644 --- a/src/intention-tower-knowledge-graph/ViewTemplate/EventCalendarSideBar/TodayProjects.tid +++ b/src/intention-tower-knowledge-graph/ViewTemplate/EventCalendarSideBar/TodayProjects.tid @@ -18,9 +18,29 @@ tags: $:/tags/EventCalendarSideBarSegment <% else %> <$list filter="[today.projects[]]" variable="projectTitle"> - !! <> +

+ <$set name=tags filter="[get[calendar_tag]!is[blank]else{$:/plugins/linonetwo/intention-tower-knowledge-graph/Config/default-calendar-entry-tag}] []"> + <$draggable tag=div data-event=`{ "duration": "01:00" }` data-tags=<>> + <> + + +

- {{{[all[]in-tagtree-offilter]}}} +
    + <$list filter="[all[]in-tagtree-offilter]" variable="taskTitle"> + <$set name=tags filter="[get[calendar_tag]!is[blank]else{$:/plugins/linonetwo/intention-tower-knowledge-graph/Config/default-calendar-entry-tag}] []"> +
  • + <$draggable + tag=div + data-event=`{ "duration": "01:00" }` + data-tags=<> + > + <> + +
  • + + +
<% endif %>