obsidian-task-collector icon indicating copy to clipboard operation
obsidian-task-collector copied to clipboard

Collect by date under header

Open pcause opened this issue 2 years ago • 8 comments

I'd like to have an ability to put a header under the specified collection header for the date the collection is dome and then under there the collected tasks. Each new date headed gets appended to the end of the section (or maybe an option to be head/end). So, perhaps it looks like:

## done
### 2023-01-02
..,. tasks..
### 2023-01-03
..tasks..
### 2023-01-04
and so on

pcause avatar Jan 17 '23 17:01 pcause

I was going to submit an issue to request almost this. However, I would like to group them by month so a grouping option would need some sort of flexibility: per day, per month, per quarter ...

Great plugin by the way !!!

rui-nar avatar Jan 24 '23 07:01 rui-nar

Date of collection or date of marked task? (date of collection would apply for tasks not marked with a datestamp?)

ebullient avatar Jan 24 '23 13:01 ebullient

date of collection is what i'd think is the way tom do this.

pcause avatar Jan 24 '23 13:01 pcause

I would have grouped by date of completion. @pcause why do you think date of collection is important ? ex: I complete a task in february 15th but only collect everything at the end of my project ==> . all tasks would be grouped in the same group .... or I collect them in march ==> the 15/02 task would be collected under group March ...

If you explain your reasoning I would appreciate it :)

rui-nar avatar Jan 24 '23 14:01 rui-nar

since i use the tasks plugin, each item already has a completion date. i can get items that are done displayed and sorted by done date using tasks queries. and the developer of tasks is adding new statuses and so I can query and display using dates and statuses.

The thing I can't get from tasks is the date collected.

pcause avatar Jan 24 '23 16:01 pcause

Interesting. How is the date connected important? I would guess it's just for "cleanup" purposes not for actual task management since it's their individual completion date that is important. Further more, while using the task collector, ton can't use other sorting/grouping than that of the collector so you can't use any dataview type queries so the collector would need to self sufficient.. I don't see how a collection date is relevant .

On Tue, Jan 24, 2023, 17:05 pcause @.***> wrote:

since i use the tasks plugin, each item already has a completion date. i can get items that are done displayed and sorted by done date using tasks queries. and the developer of tasks is adding new statuses and so I can query and display using dates and statuses.

The thing I can't get from tasks is the date collected.

— Reply to this email directly, view it on GitHub https://github.com/ebullient/obsidian-task-collector/issues/116#issuecomment-1402196072, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACP6EXZBZTCFQQUPRIICS6TWT74T5ANCNFSM6AAAAAAT6EOHPE . You are receiving this because you commented.Message ID: @.***>

rui-nar avatar Jan 24 '23 17:01 rui-nar

I have a lurking bug in collection that I just noticed (I don't know how to reproduce it).. so it will take me a bit to get to this one, but I was pretty sure I heard two very different requests here, so I wanted to be sure ;)

Grouping by collection date is easy (as that's insert a timestamp at the top of the block I moved), grouping by completed date is harder, as that is a much more intensive reshuffle of file contents.

The bug I have is related to nested items in a list, which is where things get awkward. I will probably have to reorganize the doc into an AST of some kind.

ebullient avatar Jan 24 '23 18:01 ebullient

yes, think you heard 2 different requests as you describe

pcause avatar Jan 24 '23 18:01 pcause