5hir0kur0 / logseq-time-recorder

A simple time recorder (punch clock) plugin for Logseq.
MIT License
3 stars 0 forks source link

Feature Request: Recognize Timestamps in Sub-blocks and Update Time Slots #4

Open HeatDeathOfUniverse opened 2 weeks ago

HeatDeathOfUniverse commented 2 weeks ago

Dear Development Team,

First and foremost, I would like to express my sincere gratitude for the outstanding product and services you have been providing us. I truly appreciate your dedication to user experience and continuous efforts towards improvement.

I have a small feature suggestion that I hope you could consider. During the course of using your product, I often forget to click the "Clock In/Clock Out" button, but inserting timestamps like "18:26 - 18:45" is quite simple for me. Therefore, I respectfully suggest the possibility of adding a feature that can automatically recognize all timestamps in the sub-blocks under "Time Recorder" and copy them to "Time Slots." This would greatly enhance my work efficiency.

Once again, thank you for your hard work and dedication. I look forward to your feedback. Whether or not you are able to implement this suggestion, I am truly grateful. Wishing you all the best in your endeavors!

HeatDeathOfUniverse commented 2 weeks ago

I have updated to the new version, and the new UI looks great and is very user-friendly. I think maybe this feature request is not very good, it just needs to add a command to call clock in and clock out through /. I really don't want to have to click with the mouse before typing each time.

5hir0kur0 commented 1 week ago

@HeatDeathOfUniverse

Thank you for your feedback!

inserting timestamps like "18:26 - 18:45" is quite simple for me

Something you can do already with the current version is to just click outside of the table and edit the plain text of the block (see GIF in README).

recognize all timestamps in the sub-blocks under "Time Recorder" and copy them to "Time Slots."

I think this would be difficult to do efficiently because there is no API to be notified about updates to sub-blocks as far as I know. I would personally also find it a bit unintuitive.

it just needs to add a command to call clock in and clock out through /

The problem I see here is that you can have multiple time recorders at the same time (e.g. for subtasks), so if we had a "Clock Out" command, it would need a way to identify which time recorder to clock out from.

Something I have thought about would be to instead have the table itself be editable, so if you click on a timestamp an input field would appear there where you can change it. Maybe that would help with your issue?

Mockup: image

Although I have no idea when/if I will ever be motivated to work on that 😄