Skip to content

Releases: jariikonen/project-clock

project-clock: v0.1.0

04 Feb 09:25
dc9f1e7
Compare
Choose a tag to compare

0.1.0 (2025-02-04)

Features

  • "start", "stop", "suspend" and "resume" commands output status information after successful operation (72e47a7)
  • add a "list" command to print a list of tasks on a time sheet (92d5206)
  • add color to the ouput functions (command "show" and side heading functions) (b500d2c)
  • add command "new" that creates a new timesheet file (d8ae477)
  • add filter description line to list command and modify how it reports there is nothing to list (0ff4cf1)
  • allow task list items to be reordered with command reorder (79fb682)
  • app name and the current version is printed when the program is run without any parameters or options (18c0146)
  • by default "suspend" and "resume" commands offer only active tasks to be suspend or resumed (can be overridden with -c flag) (60f4600)
  • change flags for the version option (056e245)
  • clock can be started and stopped (663eb60)
  • command "new" prompts the user for a project name if it is not given as an argument and uses name of the current working directory as the default value (f190a4b)
  • configure commander output errors in red (8a23912)
  • edit command descriptions and prompts of "start" and "stop" commands clearer (9469aa9)
  • edit functionality of the start command; user is asked to select when there are many options and confirm the action when single match is found (e853af7)
  • edit functionality of the stop command; user is asked to select when there are many options and to confirm the action when a single match is found (da8fd0b)
  • full task data can be displayed with "show" command (de9b0f5)
  • full task data can be displayed with "show" command (f197366)
  • implementation of the status command (522d06f)
  • improve "start" and "stop" commands and their tests (d1b1b8a)
  • improve readability of add and edit command prompts (f4f52fd)
  • improve the readability of the prompts of the "new" command (a561a38)
  • improve the readability of the rest of the command's prompts and messages (67b4193)
  • improved the readability of the prompts of the "resume" and "suspend" commands (4b376c7)
  • modify 'status' command so that it won't print additional days-hours-and-minutes string when the total time spent is less than a day (024f9f7)
  • modify "start" and "stop" commands to report the timesheet file errors in a user friendly manner (79c5c6d)
  • modify the "status" command so that it does not report total time usage when there is none (91d61ce)
  • modify TimePeriod class so that the unit conversion rates can be customized (1aca79e)
  • remove cli-table3 from the project and add color to ouput functions with chalk (commands "list" and "status") (165715a)
  • status does not put quotes around project name and outputs dash as total time spent when no time has been spent (d65c0e6)
  • subject, description and notes of a task can be set and edited (9fa38f2)
  • tasks can be added without starting the clock (172eae5)
  • tasks can be removed from the timesheet (03e7219)
  • tasks can be resumed (85e61d9)
  • tasks can be suspended (5e6052d)
  • time unit conversion parameters are read from the time sheet file (9436606)

Bug Fixes

  • app throwing full errors with stack listings when stopping an already stopped task or a task that hasn't been started (eb1b2a4)
  • calculateTimes() not testing if the suspend and resume fields are arrays or not (4ecf0a2)
  • getTaskListString()'s simple rendering when the cell content is longer than the column width (18f3495)
  • padding in simple table rendering (f05b8be)

Miscellaneous Chores