Skip to content

Commit

Permalink
feat: add draggable sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Jun 3, 2024
1 parent 0bf8071 commit 5cd06d1
Showing 1 changed file with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,29 @@ tags: $:/tags/EventCalendarSideBarSegment
<% else %>
<$list filter="[today.projects[]]" variable="projectTitle">

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

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

</$list>
<% endif %>

0 comments on commit 5cd06d1

Please sign in to comment.