Skip to content

Releases: dhth/hours

v0.4.0

19 Jan 12:34
Compare
Choose a tag to compare

This release adds several QOL improvements to time tracking and task log management.

Added

  • Time tracking can now be switched between tasks with a single keypress
  • The active task log can now be edited before it's finished
  • Task logs can now be edited after saving
  • Adds a view for viewing task log details

Changed

  • Allow for longer task log comments
    image
  • Task log comments can now be empty

Changelog

  • d408530 build: dependency upgrades
  • aed3d2a build: go, dependency upgrades (#43)
  • ac7d86e build: upgrade dependencies
  • 6be1569 build: upgrade to go 1.22.5
  • 2c05a3e chore(deps): bump bubbletea 0.26.5 -> 0.26.6 (#1)
  • b9009d4 chore: add gofumpt
  • 71d4ce1 chore: add header for task input view
  • 80248ac chore: add issue templates
  • ddc08b4 chore: visual tweaks
  • ab66188 feat: allow editing of saved task logs (#39)
  • 31cde75 feat: allow editing of start ts of active task log (#3)
  • 130d612 feat: allow empty task log comments (#35)
  • 8316449 feat: allow longer comments (#38)
  • 043161a feat: allow moving timestamp up/down by a day
  • 23f810f feat: allow quick switching time tracking (#42)
  • 51c4a6d feat: allow saving comment for active task log (#36)
  • 07d05b3 fix: back-compact action
  • e16a500 fix: potential panic when getting dynamic styles
  • 2bc0064 fix: update begin timestamp on quick switch
  • 4952562 refactor: add more linters (#21)
  • 2102413 refactor: simplify update file (#34)

v0.3.0

29 Jun 11:02
Compare
Choose a tag to compare

This release includes the following updates 🚀

  • Timestamps in the "Task Log Entry" view can be moved forwards/backwards by a minute using j/k respectively (or by 5 minutes using J/K)

    hours-entry-form-1

  • Timestamps in "Task Log" view show up differently based on the end timestamp

    hours-timestamps

  • The TUI now shows the start time of an active recording

    hours-active-recording

  • An active task log recording can now be cancelled(using ctrl+x)

  • active subcommand supports a time placeholder, eg. hours active -t 'working on {{task}} for {{time}}'

Changelog

  • c35faab feat: add time placeholder for active subcommand
  • 577cc03 feat: shift time with j/k; relative timestamps
  • 0af4fa1 feat: show begin/end ts for tl entries from today

v0.2.0

21 Jun 14:42
Compare
Choose a tag to compare

This release brings the ability to view reports/logs/stats interactively (using the --interactive/-i flag). It also adds the gen subcommand that is intended for new users of hours so they can generate dummy data and see if hours works for them.

log-interactive-1

report-interactive-1

stats-interactive-1

Changelog

  • 49a900a feat: add gen subcommand
  • 3d794b9 feat: add interactive reports
  • f920790 feat: add interactivity to all records

v0.1.0

14 Jun 10:04
Compare
Choose a tag to compare

Changelog

  • 9a39ed1 feat: add 3d report
  • 3161324 feat: add db migration support
  • 1e71d8e feat: add inactive task view
  • 84e2af8 feat: add initial help message
  • 7784b94 feat: add report and active commands
  • 3e30c49 feat: add reports for tasks and logs
  • c137140 feat: add stats subcommand
  • 2679a87 feat: add support for dynamic reports
  • 0359a98 feat: add time period arg to report
  • 35b95a7 feat: add weekly report
  • b6115b7 feat: allow tweaks to time while saving
  • e3758ae feat: build task log description once
  • d909896 feat: dynamic width for reports
  • bd69278 feat: initial working setup
  • 4b01b45 feat: log based on user provided date range
  • ce665ea feat: make db migrations implicit
  • 941e1f4 feat: use cobra for the cli interface
  • 4004168 fix: convert back to local tz for view