Skip to content

Possible to count number of completed and uncompleted tasks without JS? #773

Answered by blackpeasy
blackpeasy asked this question in Q&A
Discussion options

You must be logged in to vote

After a real struggle, I seem to have found a solution, and wrapped it all up in a progress bar:

("<progress value="+number(replace(string(sum(number(split(replace(string(replace(string(file.tasks.fullyCompleted), "true", "1")), "false", "0"), ",")))), "null", "0"))/length(file.tasks)+" max=1>") as Progress

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@blacksmithgu
Comment options

@blackpeasy
Comment options

Answer selected by blackpeasy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants