File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## Unreleased
22
3+ ## 1.7.1 (2025-09-11)
4+
5+ ### Changed
6+ - Implement form pagination for flow timer setup to improve usability in small terminals
7+ - Update all headings and form titles to use sentence case formatting
8+
39### Fixed
410- Remove task names from being saved as tags in flow mode
511- Remove unused sessionHelperReadOnly function that was causing linter errors
Original file line number Diff line number Diff line change 88 <a href =" https://goreportcard.com/report/github.com/ronilaukkarinen/focus " ><img src =" https://goreportcard.com/badge/github.com/ronilaukkarinen/focus " alt =" GoReportCard " ></a >
99 <a href =" https://github.com/ronilaukkarinen/focus " ><img src =" https://img.shields.io/badge/go-1.24-blue.svg " alt =" Go version " ></a >
1010 <a href =" https://github.com/ronilaukkarinen/focus/blob/master/LICENCE " ><img src =" https://img.shields.io/github/license/ronilaukkarinen/focus.svg " alt =" LICENCE " ></a >
11- <a href =" https://github.com/ronilaukkarinen/focus/releases/ " ><img src =" https://img.shields.io/badge/version-1.7.0 -blue.svg " alt =" Latest release " ></a >
11+ <a href =" https://github.com/ronilaukkarinen/focus/releases/ " ><img src =" https://img.shields.io/badge/version-1.7.1 -blue.svg " alt =" Latest release " ></a >
1212</p >
1313
1414<h1 align =" center " >Focus on your task - with flow timer!</h1 >
Original file line number Diff line number Diff line change 11{
22 "name" : " @ronilaukkarinen/focus" ,
3- "version" : " 1.7.0 " ,
3+ "version" : " 1.7.1 " ,
44 "description" : " Focus is a flexible command-line productivity timer with flow mode for uninterrupted work sessions" ,
55 "main" : " " ,
66 "repository" : " https://github.com/ronilaukkarinen/focus" ,
Original file line number Diff line number Diff line change @@ -383,10 +383,15 @@ func (t *Timer) promptFlowModeInfo() tea.Cmd {
383383 Value (& t .estimatedTimeStr ).
384384 Placeholder ("e.g., 25m, 1h30m" ))
385385
386- // Create a form with the fields using compact layout
387- form := huh .NewForm (
388- huh .NewGroup (fields ... ),
389- ).WithWidth (formWidth )
386+ // Create separate groups for pagination - one field per page
387+ var groups []* huh.Group
388+ totalFields := len (fields )
389+ for i , field := range fields {
390+ title := fmt .Sprintf ("Flow timer setup (%d/%d)" , i + 1 , totalFields )
391+ groups = append (groups , huh .NewGroup (field ).Title (title ))
392+ }
393+
394+ form := huh .NewForm (groups ... ).WithWidth (formWidth )
390395
391396 // Try to make the form fit in small terminals
392397 if t .terminalHeight > 0 && t .terminalHeight < 20 {
You can’t perform that action at this time.
0 commit comments