lionheart / TimeTracker-Linux

A Harvest client for Ubuntu Linux.
http://aurora.io/timetracker
MIT License
21 stars 6 forks source link

Entry addition & update flow #2

Closed dlo closed 11 years ago

dlo commented 12 years ago

Per attached mockup, do the following when adding a new task:

  1. Check if the task id is the last task id stored in a configuration file. If it is, skip to 2. If it isn't, skip to 3.
  2. Retrieve the last entry id stored in the configuration file, and post an update to this entry, adding the appropriate number of hours to it. Skip to 4.
  3. Create a new entry with the task id.
  4. Update the configuration file.

Notes may be appended at any time to the last entry id.