Tighten PR manage action gating #162
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/forge.nvim#162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The PR manage picker is still too loose about which actions it shows.
Live examples from the GitHub pass:
ReopenMark as draftMark as readyshould only exist for draft PRsApproveExpected
Only show actions that are valid for the specific PR state, merge status, draft state, permissions, and forge capabilities.
Notes
The underlying command paths work when called in valid states. The problem is the picker surface, not the semantic ops layer.
Superseded by
#185.The old PR manage surface this issue referred to was removed when PR actions were flattened into the root picker, and the later product direction was explicitly to avoid over-engineered action gating in core. This specific issue is no longer the right shape for the current picker surface.