refactor(explore): remove dead SearchInputChanged/SearchInputDone methods #362

Closed
opened 2026-07-08 09:13:14 +00:00 by the.auditor · 0 comments
Owner

SearchInputChanged and SearchInputDone in internal/tui/exploreview.go are exported but never called — the callbacks are set directly in the constructor via SetChangedFunc/SetDoneFunc closures. These are leftover dead code.

Also: Enter on search only triggers API search for users and repos (no orgs search since SearchOrgs doesn't exist on the forge client). Consider adding SearchOrgs to the interface.

Ref: PR #361

`SearchInputChanged` and `SearchInputDone` in `internal/tui/exploreview.go` are exported but never called — the callbacks are set directly in the constructor via `SetChangedFunc`/`SetDoneFunc` closures. These are leftover dead code. Also: Enter on search only triggers API search for users and repos (no orgs search since `SearchOrgs` doesn't exist on the forge client). Consider adding `SearchOrgs` to the interface. Ref: PR #361
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#362
No description provided.