refactor(pickers): extract shared entity picker builder #546
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#546
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
lua/forge/picker/pr.lua,lua/forge/picker/issue.lua, andlua/forge/picker/release.luastill repeat the same entity-picker scaffolding:The earlier picker splits (#527, #528, #529) created good module boundaries, but the repeated builder flow still makes these picker surfaces harder to navigate and maintain than they need to be.
Target seam
Extract a shared entity-picker builder module that owns the common entry-building and stream/update flow for PR, issue, and release pickers, while keeping:
Constraints
Non-goals
Why now
This follows the earlier picker decomposition work and should leave the remaining picker wrappers thinner and more obvious, while setting up a later CI/check picker follow-up on the same pattern.