changie icon indicating copy to clipboard operation
changie copied to clipboard

Large numbers of projects makes changie unusable

Open andrewnicols opened this issue 1 year ago • 6 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

andrewnicols avatar Mar 08 '24 15:03 andrewnicols

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.

miniscruff avatar Mar 10 '24 00:03 miniscruff

@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 )

miniscruff avatar Mar 18 '24 01:03 miniscruff

@andrewnicols i had prototyped an auto commit message engine

  1. descriptive commits with self contained messages,
  2. provides a hook before committing, and auto justifies the changes, git commit -m "apple ball" not required
  3. changelog can be generated from diff history or manually going through commits before major release version
  4. optionally specify a pull request referencing the code behind feature (WIP)
  5. multi file tracking in message, and control length of message for brevity, may amend previous commits messages for backwards compat.

let me know if it interests you image

nikhil-swamix avatar Jul 09 '24 20:07 nikhil-swamix

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.

miniscruff avatar Jul 09 '24 22:07 miniscruff

I lied, they added option and title funcs but the feature I actually need is HideFunc. Sorry about that.

miniscruff avatar Jul 13 '24 19:07 miniscruff

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.

Magic-Mayo avatar Aug 21 '24 14:08 Magic-Mayo