Closed kin30528 closed 3 weeks ago
I implemented this functionality, albeit with a workaround, so if there's a native way to do this, it'd be more convenient. But here's what I did:
<%*
if (log.mode == "WORK") {
if (!log.finished) {
tR = `- 🟢 ${log.task.name} ${log.begin.format("HH:mm")} - ${log.end.format(
"HH:mm"
)}`;
} else {
tR = `- 🟢 ${log.task.name} ${log.begin.format("HH:mm")} - ${log.end.format(
"HH:mm"
)}`;
}
} else {
tR = `- ☕️ Break ${log.begin.format("HH:mm")}-${log.end.format(
"HH:mm"
)}`;
}
%>
This way all sessions are added to the bottom of my daily note. I use the task tracking feature, so it's auto-populating the task text and marks the pomodoro sessions on the task itself. And the pomodoro sessions are added to Day Planner's timeline.
I disabled breaks, because I seldom use them, that's why my custom log format is the way it is. (And also because I don't know how to remove the IF logic, so this way I don't have to care. Might revisit it at some point.)
Of course, your needs may be different, but this works for me.
@dinchamion Wow, its amazing.
I previously learned to use the software Autohotkey, which allows me to calculate and automatically generate the Day Planner format using hotkeys, while keeping my daily note in the original pomodoro-timer format.
Finally, I use Dataview to calculate the time spent on specific task (such as “♜ 1-1”) and the total time (“WORK”, such as 1-1~2-5) spent on all tasks.
It helps me to use the pomodoro-timer to track and log time, while DayPlanner can display task information and the time spent on each task.
Anyway, your method is more efficient~~ Thank you.
Hi @eatgrass, thank you for make the great plugin! I think this plugin is perfect for use with day planner.
Here's a sample of what it looks like
If the pomodoro timer can automatically fill in the time (12:30 - 12:55) and date (⏳ 2024-03-04), it can appear in the “time line” and “week planner” of day planner plugin.
This is a nice project. However, there are some problems. For example, how to change the time when a task has a second tomato, but if pomodoro-timer can only add the time of one tomato in each checkbox, I think it's also very useful!
The conditions for the time line and week planner of day planner plugin to be successfully display a task are as follows:
I think it would be a good idea to just display checkboxes with custom tag in pomodoro-time. This would help pomodoro-time to show checkboxes that as the mission require tomato time to completeand, instead of checkboxes that as the Reminder.
Finally, thank you again for your work with ob users!