Skip to content

Conversation

@DylanDevelops
Copy link
Owner

The resume command now passes the milestone name when creating a new entry and displays the milestone if present. This improves tracking of resumed tasks associated with specific milestones.

Pull Request Checklist

  • I have read and followed the contribution guidelines.
  • My pull request targets the main branch of tmpo.
  • I have tested these changes locally on my machine.

Closes #55

Description

This pull request makes improvements to the resume command in the time tracking CLI by ensuring milestone information is correctly handled and displayed when resuming a stopped entry. The changes ensure that if a milestone was associated with the last stopped entry, it is now passed to the database and shown to the user.

Enhancements to milestone handling in resume command:

  • Passes the MilestoneName from the last stopped entry to the db.CreateEntry function, ensuring that milestone data is preserved when resuming an entry.
  • Adds logic to display the milestone name in the UI output if the resumed entry includes a milestone, improving user feedback.

The resume command now passes the milestone name when creating a new entry and displays the milestone if present. This improves tracking of resumed tasks associated with specific milestones.
@DylanDevelops DylanDevelops merged commit 597f1d9 into main Jan 5, 2026
6 checks passed
@DylanDevelops DylanDevelops deleted the ravel/tmpo-pause-context-bug branch January 5, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tmpo pause and tmpo resume doesn't maintain milestone context

2 participants