fix: mention 'task' on scheduled property

as it also belongs to tasks. Also tweak language so that it also starts
with 'Repeat'. Using consistent language helps users understand behavior
that changes depending on configuration
This commit is contained in:
Gabriel Horner
2025-01-22 17:01:35 -05:00
parent 213111247f
commit ddf921f267

View File

@@ -253,8 +253,8 @@
(:db/id property))
(db-property-handler/remove-block-property! (:db/id block)
:logseq.task/scheduled-on-property)))))]
(if (= :logseq.task/deadline (:db/ident property))
[:div "Set as repeated task"]
(if (#{:logseq.task/deadline :logseq.task/scheduled} (:db/ident property))
[:div "Repeat task"]
[:div "Repeat " (if (= :date (get-in property [:block/schema :type])) "date" "datetime")])]]
[:div.flex.flex-row.gap-2
[:div.flex.text-muted-foreground.mr-4