refactor(pickers): extract shared entity picker builder #555
No reviewers
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!555
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/entity-picker-builder-546"
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 repeated the same entity-picker scaffolding for entry building, cached-first streaming, placeholder and load-more rows, and refresh/revalidation.Solution
Extract a shared
forge.picker.entityhelper for that list-building and request/update flow, then rewire the PR, issue, and release picker wrappers to supply only their entity-specific formatting, labels, and value/ordinal behavior.Closes #546