Picker Pagination #60
Labels
No labels
bug
ci
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
performance
priority
P0
priority
P1
priority
P2
question
refactor
size
L
size
M
size
S
size
XL
size
XS
tests
trivial
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
noe.trevino/paso#60
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
When dealing a picker with a lot of potential items (mainly the child and parent pickers) there is a possibility of the picker 'overflowing'
off to 'infinity'.
Solution
We need to add pagination to ALL the pickers. We can leverage the current
dynamicDimenstionsto decide the page size.Technical Notes
Note: C-[ cant be a hotkey, it is the code for escape.
Thoughts:
How will users scroll through pages?
Can we encapsulate the logic into a
Paginatorstruct, and extract all picker components into aPaginatedPickerinterface, and have a methods likeshow,NextPage,PrevPage, etc...Basically, this is going to be a A LOT of the same shit in the code. We can afford some indirection here