miniscruff/changie

Large numbers of projects makes changie unusable

andrewnicols opened this issue · 5 comments

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:

  1. Apply attached .changie.yaml (https://gist.github.com/andrewnicols/dbf575afbc3ece30a08f8e4b8b3ccb22)
  2. Run changie new
  3. Bask in the craziness of a large project

What happened
Unable to select a project

Expected behavior
A prompt with pagination, and filtering

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 )