Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect by date under header #116

Open
pcause opened this issue Jan 17, 2023 · 8 comments
Open

Collect by date under header #116

pcause opened this issue Jan 17, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@pcause
Copy link

pcause commented Jan 17, 2023

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
@rui-nar
Copy link

rui-nar commented Jan 24, 2023

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 !!!

@ebullient
Copy link
Owner

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

@pcause
Copy link
Author

pcause commented Jan 24, 2023

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

@rui-nar
Copy link

rui-nar commented Jan 24, 2023

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 :)

@pcause
Copy link
Author

pcause commented Jan 24, 2023

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.

@rui-nar
Copy link

rui-nar commented Jan 24, 2023 via email

@ebullient
Copy link
Owner

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.

@pcause
Copy link
Author

pcause commented Jan 24, 2023

yes, think you heard 2 different requests as you describe

@ebullient ebullient added the enhancement New feature or request label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants