| β¦ | β¦ | @@ -2204,9 +2263,35 @@ function OpenCommandPaletteDialog(props: { | |
| 2206 | 2265 | ||
| 2266 | + | const matchingRepositorySuggestions = filterGitHubRepositorySuggestions( | |
| 2267 | + | repositorySuggestions, | |
| 2268 | + | deferredQuery, | |
π High components/CommandPalette.tsx:2268
The suggestions can show repositories for the previous input while the field displays the new query, so clicking a stale row submits the wrong repository via submitAddProjectCloneFlow. Filter with query (or disable rows while it differs from deferredQuery) so displayed actions match the visible input.
β Resolved in a2bd73921414e22b0ff0bc48cb39f3ef33607c98
Fixed in a2bd73921: suggestions are now filtered against the immediate query while the deferred query only drives repository loading, so stale rows disappear before they can be activated. Focused tests and all affected type checks pass.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.
| β¦ | β¦ | @@ -441,6 +464,26 @@ export const make = Effect.gen(function* () { | |
| 467 | + | listRepositories: (input) => | |
| 468 | + | execute({ | |
| 469 | + | cwd: input.cwd, | |
| 470 | + | args: ["repo", "list", input.owner, "--limit", "100", "--json", "nameWithOwner,url,sshUrl"], | |
π‘ Medium sourceControl/GitHubCli.ts:470
Owners with more than 100 accessible repositories receive only the first 100 from listRepositories, so repositories beyond that cutoff cannot be selected in the picker. gh repo list --limit 100 is the CLI's maximum and the service exposes neither pagination nor truncation; paginate the results or return a truncation indicator so callers can retrieve the remaining repositories.
β Resolved in a2bd73921414e22b0ff0bc48cb39f3ef33607c98
Fixed in a2bd73921: the CLI requests one extra row and returns a bounded first-100 page plus an explicit truncation flag. The contract and service preserve that flag, and web/mobile explain that an exact owner/repository path can still be entered. Added truncation coverage; focused tests and all affected type checks pass.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.