Razeeman / Android-SimpleTimeTracker

Simple app that tracks time.
GNU General Public License v3.0
536 stars 68 forks source link

[Feature request] Calendar-like pre-scheduled activities #161

Open 1over137 opened 4 months ago

1over137 commented 4 months ago

I track a lot of things which are really the same every day or several days a week. It would be nice to be able to pre-schedule them to avoid having to interact with the phone to record every activity change.

Just as a suggestion, you can store the predefined activity start times similar to crontab strings

# ┌───────────── minute (0–59)
# │ ┌───────────── hour (0–23)
# │ │ ┌───────────── day of the month (1–31)
# │ │ │ ┌───────────── month (1–12)
# │ │ │ │ ┌───────────── day of the week (0–6) (Sunday to Saturday)
# │ │ │ │ │                                   
# │ │ │ │ │
# │ │ │ │ │
# * * * * * [activity]

Example:

0 22 * * * sleep # Sleep from 22 every day
0 9 * * 1-5 work # Work from 9 every Monday-Friday
cogk commented 4 months ago

Simple Time Tracker is a time tracking application, it's purpose is to facilitate data entry as much as possible. But I don't understand how automating this data entry matches the scope of the application.

1over137 commented 4 months ago

If you have an activity which is the same every day or many days a week, isn't it more convenient to have them be there already rather than remembering to change the activity all the time? My and probably many others' end goal is not data entry per se, but rather to view statistics of how I spent my time. It would be better if the process is easier.

Terrance commented 1 day ago

I've been slowly migrating from iCalendar time tracking to here, and while this UI is so much better than faffing with calendar entries, the calendar does win for being able to set recurrent events like work and daily exercise for regular activities (where I can just adjust the times per-instance if they differ significantly).

For this, I can imagine a secondary list of known scheduled activities (say, within the next hour) on the start/stop selection screen, so you can tap a scheduled one rather than the base activity to start it, after which it just becomes a regular activity for this instance (if not tapped, no instance of that scheduled activity is recorded that day).

The scheduling side of things would let you pre-fill tags, comments etc. which are automatically applied on start, so you don't have to compose the same activity metadata every day.