Skip to content

Add Close PR command palette action#96

Merged
khoi merged 1 commit into
mainfrom
command-palette-close-pr
Feb 20, 2026
Merged

Add Close PR command palette action#96
khoi merged 1 commit into
mainfrom
command-palette-close-pr

Conversation

@khoi
Copy link
Copy Markdown
Contributor

@khoi khoi commented Feb 20, 2026

  • add a new command palette action Close PR for open pull requests and wire it through item IDs, delegates, and palette row rendering/help text
  • route Close PR from AppFeature into repositories pull request actions
  • add PullRequestAction.close in RepositoriesFeature with GitHub availability checks, close/in-progress+success toasts, and immediate + delayed PR refresh
  • extend GithubCLIClient with closePullRequest backed by gh pr close <number>
  • add regression coverage for command-palette visibility rules (Close PR shown for open, hidden for merged), app delegate dispatch, and repositories close-action behavior
  • validate with make check, targeted xcodebuild test -only-testing:supacodeTests/CommandPaletteFeatureTests -only-testing:supacodeTests/AppFeatureCommandPaletteTests -only-testing:supacodeTests/RepositoriesFeatureTests, and make build-app

@khoi khoi merged commit a291a80 into main Feb 20, 2026
1 check passed
@khoi khoi deleted the command-palette-close-pr branch February 20, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant