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

As a User, I would like the ability to archive DONE/COMPLETED/(Insert_Keyword_Here) to another physical file. #333

Open
ghost opened this issue Feb 22, 2018 · 5 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 22, 2018

Hey, I found out about imdone-atom, and I'm absolutely loving the package!

Would it be possible to introduce an archiving option that would allow me to move specific keyword tasks (like DONE) to another file via keyboard shortcut?

~todo.txt:
#TODO: Task 1
#TODO: Task 2
#DONE: Task 3
#DONE: Task 4
#DONE: Task 5

to:

~/todo.txt:
--
#TODO: Task 1
#TODO: Task 2

~/todo-archive.txt:
--
#DONE: Task 3
#DONE: Task 4
#DONE: Task 5
@piascikj
Copy link
Member

So glad you like it! I've been getting requests for this and honestly I need it myself. I may even add dates to the tasks as they get archived including the date they were added using git blame.

@ghost
Copy link
Author

ghost commented Feb 23, 2018

Ha, glad I'm not the only one! Have you gotten anything about time tracking tasks as well? That would also be super useful, but probably brand new functionality ;P

@piascikj
Copy link
Member

No I haven't, but I've thought it might be useful. Would you mind opening another issue for it and leaving some detail?

@ghost
Copy link
Author

ghost commented Feb 23, 2018

Sure thing! I didn't want to flood your queue if it was outside scope. Thanks for reaching out!

@piascikj
Copy link
Member

piascikj commented Apr 4, 2018

@codo-sapien I've come up with an approach for archiving tasks that's working for me in dev. Instead of moving them to a different file, I've added an ignore property to config.lists so imdone ignores the tasks, but the list still displays on the board (with no cards). When you move a card into this list, it disappears from the board, but the list name is changed in the file.

If you add the ignore: true property to a list in .imdone/config.json like this...

"lists": [
  {
    "name": "ARCHIVE",
    "hidden": false,
    "ignore": true
  }
]

The list will look like this...

screen shot 2018-04-04 at 12 26 46 pm

What do you think? I'm planning to release it this afternoon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant