Open andrewnicols opened 7 months ago
Hmm, yea that makes sense. I am currently considering swapping over to the new charm library for forms https://github.com/charmbracelet/huh and I think it would make sense to swap to a filter option over a selection option if you had more then say 5. Thanks for providing a configuration as well, that will be very helpful for testing.
@andrewnicols I played around with huh today and its looking promising, it supports select and multi-select with built in filtering without any custom work. Going to probably make a separate ticket for that, which will also close out this when its ready. ( I submitted a small issue I would prefer to have before moving over )
@andrewnicols i had prototyped an auto commit message engine
git commit -m "apple ball"
not requiredlet me know if it interests you
https://github.com/charmbracelet/huh/releases/tag/v0.5.0 dynamic forms are now available. Going to try out and see if we can move over and fix too many options finally.
I lied, they added option and title funcs but the feature I actually need is HideFunc
. Sorry about that.
I have the same issue here with the large number of projects. I added a comment to the Draft PR that's open for this change. You should just be able to add the Height
and be good to go.
Thanks for submitting a bug report, please fill in the following details.
Description We are evaluating changie as a possible management tool, but we are essentially a large monorepo with several hundred projects.
When we include the complete list of projects, change becomes unusable. The list projects fills more than the entire screen and only the last page are viewable.
The list is selectable, but you cannot see what you're selecting.
Reproduction Steps Steps to reproduce the behavior:
.changie.yaml
(https://gist.github.com/andrewnicols/dbf575afbc3ece30a08f8e4b8b3ccb22)changie new
What happened Unable to select a project
Expected behavior A prompt with pagination, and filtering