fix(newrepoform): restore godocs and field resets lost in PR #379 refactor #380

Closed
opened 2026-07-08 15:57:22 +00:00 by the.auditor · 0 comments
Owner

PR #379 introduced regressions from PR #378:

  1. Godocs removed: RepoForm, NewRepoForm, RepoForm.Show() lost their godoc comments. OrgForm/NewOrgForm/OrgForm.Show() still have theirs. These were added in PR #378.

  2. Field resets removed: RepoForm.Show() no longer resets f.private or f.autoInit checkboxes. These were added in PR #378.

  3. Constructor blocks on API call: NewRepoForm calls client.GetUser(context.Background()) synchronously. This blocks NewSteeperUI startup on an API call with no timeout.

Ref: PR #379

PR #379 introduced regressions from PR #378: 1. **Godocs removed**: `RepoForm`, `NewRepoForm`, `RepoForm.Show()` lost their godoc comments. `OrgForm`/`NewOrgForm`/`OrgForm.Show()` still have theirs. These were added in PR #378. 2. **Field resets removed**: `RepoForm.Show()` no longer resets `f.private` or `f.autoInit` checkboxes. These were added in PR #378. 3. **Constructor blocks on API call**: `NewRepoForm` calls `client.GetUser(context.Background())` synchronously. This blocks `NewSteeperUI` startup on an API call with no timeout. Ref: PR #379
fuzzy closed this issue 2026-07-08 16:05:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/steeper#380
No description provided.