Commit 9fe7f7e4 authored by Karen Konou's avatar Karen Konou

[Tree] UI for pinning

parent b1f181e8
......@@ -304,17 +304,27 @@ nodeSpanCpt = here.component "nodeSpan" cpt
} []
,
R2.when (showBox) $
B.iconButton
{ name: "flower-7"
, className: "mainleaf__settings-icon"
, callback: \_ -> T.write_ true isBoxVisible
, title:
"Each node of the Tree can perform some actions.\n"
<> "Click here to execute one of them."
, variant: Secondary
, elevation: Level1
}
R.fragment [
B.iconButton
{ name: "flower-7"
, className: "mainleaf__settings-icon"
, callback: \_ -> T.write_ true isBoxVisible
, title:
"Each node of the Tree can perform some actions.\n"
<> "Click here to execute one of them."
, variant: Secondary
, elevation: Level1
}
,
B.iconButton
{ name: "anchor"
, className: "mainleaf__settings-icon"
, callback: \_ -> pure unit
, title: "Pin the tree to this node"
, variant: Secondary
, elevation: Level1
}
]
,
R.fragment $ flip map currentTasks' \task ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment