WIP: Add a task progress indicator to notes in board view#897
WIP: Add a task progress indicator to notes in board view#897H3mul wants to merge 22 commits intoobsmd-projects:mainfrom
Conversation
|
Instead of going through note content to get the tasks, if we only want to get the progress, we can read it directly from metadata cache if I remembered correctly. Will commit. |
|
Yeah directly commit on this is fine! I'm rewriting |
| .getFileCache(file) | ||
| ?.listItems?.filter((item) => item.task !== undefined); | ||
|
|
||
| if (totalTasks) { |
There was a problem hiding this comment.
totalTasks is an empty array in the present cache but no tasks case; empty arrays are true in js. Fixed
|
We're now handling "tasks" in multiple levels. The existing "total" was introduced to show the progress of the whole column, working alongwith a However, when talking about "weight", it becomes a little bit confusing. Projects once used the term Then, regarding the idea of "allow a task contribute more to the total", I suggest that we directly adapt terms from scrum / sprint, like |
Smaller icon
|
Hmm, I see the confusion. I didn't intend for task progress icons to have anything to do with actual task completion or task closing - perhaps "task progress" is a misnomer, "step completion" or simply "checklist items" (this is what Trello uses) might be a better choice. This is semantic since we never actually use the title of this feature anywhere. But the point is, I agree that the task in the board is atomic, but I also allow that it may be composed of several discrete steps to complete - and this icon tracks that progress. I'm also against multiple leves of task handling - the task structure should be as flat as possible. I'm also not against renaming "task weight" to "task/story point value", in my experience the two are equally established agile terms I suggest:
|
also show all point values instead of only >1
|
Hello, That's exactly the feature I was looking for! Thanks for the work :) If I understand correctly, the feature has not yet been merged. How do I start using it while waiting for the merge approval in the main? or maybe the feature is already part of main and I missed how to activate/use it. |


Quick implementation of a feature I've been missing from projects - a Trello-style checkbox task progress indicator in Board view
A note with something like this:
automatically gains this indicator:
Let me know if this is something that will benefit projects, and if you'd like anything more fleshed out (eg, a plugin setting to enable this functionality, etc), I'd be happy to work on this further.
Perhaps this should be a custom field/record value, so it can be used for filtering/sorting/coloring.