Add ticket time tracking with reports and entry management.
Support start/stop timer, manual durations, grouped reports, and per-ticket edit/delete of time entries with undo. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -12,3 +12,12 @@ func NewCreateInput() textinput.Model {
|
||||
ti.Width = 60
|
||||
return ti
|
||||
}
|
||||
|
||||
// NewTimeManualInput returns a text input for manual duration entry.
|
||||
func NewTimeManualInput() textinput.Model {
|
||||
ti := textinput.New()
|
||||
ti.Placeholder = "Duration (1h30m, 90m, 1.5h)…"
|
||||
ti.CharLimit = 32
|
||||
ti.Width = 60
|
||||
return ti
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user