Commit graph

13 commits

Author SHA1 Message Date
Kynan Ware
38f9d7891b Fix linter and mock prompter signature 2026-01-26 13:29:22 -07:00
Kynan Ware
d46f42a752 Refactor MultiSelectWithSearch to use result struct
Refactored the MultiSelectWithSearch function and related interfaces to use a MultiSelectSearchResult struct instead of multiple return values. This change improves clarity and extensibility of the search function signature, and updates all usages, mocks, and tests accordingly.
2026-01-26 13:29:22 -07:00
Kynan Ware
0beb74bf72 MultiSelectWithSearch initial implementation
Initial implementation of MultiSelectWithSearch:

- Implement by survey and accessible prompters. They use the same internal func under the hood.
- Implement in `gh preview prompter` for initial testing and demonstration
- Implement interface changes across the codebase and mocks to satisfy compiler.
- Implement tests for new MultiSelectWithSearch prompter
2026-01-26 13:29:22 -07:00
William Martin
5a3aee056a Feature detect v1 projects on interactive pr create 2025-05-02 17:42:23 +02:00
William Martin
72d5550407 Implemented auth logout for multiaccount 2023-12-06 14:06:28 +01:00
Sam Coe
8016244dbb
Use go-gh prompter package (#7896) 2023-08-28 08:08:43 -05:00
Nate Smith
f2e5ad6dcd fix RegisterPassword 2023-08-16 21:26:37 -05:00
vilmibm
5597139df3 switch to []int return for multiselect 2023-05-23 00:12:44 -07:00
nate smith
d4a8d15a8a implement multi select support for prompter 2023-04-10 17:37:36 -07:00
Nate Smith
aae4023cdc use t.Cleanup(m.Verify) 2023-03-09 16:43:48 -08:00
vilmibm
b5c3d982b1 new tooling for assertions about prompting 2023-03-09 16:40:27 -08:00
vilmibm
6507d35f2f port release command to prompter 2022-12-09 15:06:26 -08:00
vilmibm
2d093c1741 add test helpers 2022-08-15 13:53:43 -05:00