logseq-plugin-agenda
logseq-plugin-agenda copied to clipboard
Pomodoro's recorded time should be saved in markdown format
It appears that as of now Pomodoro's recorded time is stored only in the database.
It must be stored in a markdown file too. This will allow saving data in case of app reset.
Suggestion: For Reference, Currently, logbook data is stored in a markdown file using the format
:LOGBOOK:
CLOCK: [2022-07-21 Thu 14:47:44]--[2022-07-21 Thu 15:13:17] => 00:25:33
CLOCK: [2022-07-21 Thu 15:18:29]--[2022-07-21 Thu 15:40:50] => 00:22:21
:END:
Either the Pomodoro timer can be stored with the above format as reference OR the data can be inserted directly in the above LOGBOOK entry
Currently, sdk does not support controlling the logbook, and the logbook can only record time information, while Pomodoro also needs to record whether it is completed and interrupt recording. If the logbook can support comments in the future, it may be possible.
Can this information be stored someway in markdown as backup? It will be a bummer losing all of it if we lose the DB data. A separate Pomodoro-logbook.md maybe where data is just appended. Users can be warned not to edit that file.
Currently, the Pomodoro data is stored in Markdown file, I think you don't need to worry.
In order to keep the format consistent, the Logbook will also store a copy of the data in the future if the SDK supports it.
I am currently using syncthing to sync between two machines. It would be helpful if you could provide documentation of how to sync the Pomodoro data.
Agenda3 supports this, you can give it a try.
@haydenull, This is how it is being store in Agenda3 right now. Is this the expected format or should it be store in a :LOGBOOK:
?
- [ ] Test Task >[🍅 1min](#agenda-pomo://?t=p-1700559048674-11)
@AnweshGangula Agenda3 currently does not have a built-in Pomodoro, but you can use the task reminder plugin. The time information will be recorded in the logbook, which can be recognized and edited by Agenda.
@haydenull, when I right click on any block in Logseq right now, it shows an option called "Agenda: Start Pomodoro Timer
". Isnt this the built-in Pomodoro from Agenda?
Yes, this is the build-in pomodoro of Agenda2. You can install task reminder plugin to use pomodoro for Agenda3.
https://github.com/sethyuan/logseq-plugin-task-reminder
I have installed the task-reminder plugin. But its not clear how it works and how to use it
When you change a task status to DOING or NOW and it matches a reminding condition, a reminding timer is set.
Just click the TODO tag.
Okay, I had to enable the below option in screenshot (Whether reminding is on for all tasks by default
) option for the pomodoro to work with all tasks. And this does add the :LOGBOOK:
information.
But the :LOGBOOK:
data doesn't show up in Review
tab of the Agenda plugin.
Agenda3 currently doesn’t have review feature. But the logbook of the completed tasks can be displayed in the calendar.
Hi There! 👋
This issue has been marked as stale due to inactivity for 40 days.
We would like to inquire if you still have the same problem or if it has been resolved.
If you need further assistance, please feel free to respond to this comment within the next 7 days. Otherwise, the issue will be automatically closed.
We appreciate your understanding and would like to express our gratitude for your contribution to Agenda. Thank you for your support. 🙏