-
-
Notifications
You must be signed in to change notification settings - Fork 159
feat: Added the ability to create a closing entry when TODOS are marked done as per logdone #984
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
base: master
Are you sure you want to change the base?
Conversation
to use org-log-into-drawer setting with logdone
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work! Nice that you also added many tests.
Unfortunately I wasn't able yet to run and test it locally. Since I last ran yarn install/start I've switched OS and now I get a lot of errors with node dependencies.
Maybe @munen has time to run a quick test?
Also, maybe we should upgrade to a newer node version...
@schoettl Did you use nvm? |
I tried but couldn't even install it on NixOS :/ I'll try again later this week. |
Hi @vHugoObject, I got my testing environment right and started playing. I like this feature, good work! For reference: I found a few bugs that you might want to fix:
I recommend that you look into how SCHEDULED and DEADLINE are implemented, it should be pretty similar regarding parsing, output, and storing. |
Hi @schoettl! I recently re-did my entire Org setup and have moved from Orgzly to Organice so that I can also have my team mates use Org mode to track a project we started working on. I noticed this feature was missing and came across the original issue thread and this PR. I would dearly love for this feature to exist, so that it would match similar behaviour on my Org mode setup on Emacs. If it's okay with @vHugoObject and they have not worked on the fixes yet, I would like to pick up the fixes you have mentioned above. I have some time towards the end of this week that I can dedicate to these fixes if so. |
Hi @aharish, that would be very nice if you could pick up and finish this! Maybe it's a good idea to merge master into this PR before you continue. Do you plan to use Organice on the phone or desktop? On the phone, Organice currently might feel fragile because with vertical scroll it's too easy to accidentally swipe horizontally and delete items or set them to DONE. See #995 – just as a warning. |
Great! Will work on this then.
Yes, will do.
Both phone and desktop. At least I will be using it on the phone, my team mates probably not as much. I did notice that issue. I have run into a few other bugs/QOL improvements that can be made for a much better UX overall. I will compile a list and post them. |
Hi @schoettl - I just wanted to drop an update here as I have been working on this, and also clarify a couple of questions I had:
|
Hi @aharish, nice to hear you had time to work on this!
Sounds great!
Would be cool if you could fix such UX bugs on the way!
I would also consider that as a bug though I don't know for 100% how it behaves in Emacs.
So that's not a big deal in my opinion but behaving just like Emacs would be best. I just want to point to some bugs I found earlier, but maybe you already saw it: #984 (comment) I'm happy to review your changes in this or a new PR once you're ready to push :) |
In reference to issue #980. There is now an option to create a closing entry when TODOS are marked done. This is disabled by default. This can be enabled in the Organice settings, for a specific file using "#+STARTUP: logdone" or for a specific header by adding ":LOGGING: logdone" as a drawer property. The default behavior when enabled is to add the closing entry to the header. However, this setting will add the closing entry to your logbook drawer if you have org-log-into-drawer enabled in the Organice settings as well. The documentation has been updated to reflect this new addition.
Fixes #980