miniscruff / changie

Automated changelog tool for preparing releases with lots of customization options
https://changie.dev/
MIT License
681 stars 36 forks source link

Large numbers of projects makes changie unusable #611

Open andrewnicols opened 7 months ago

andrewnicols commented 7 months ago

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

miniscruff commented 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.

miniscruff commented 7 months ago

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

nikhil-swamix commented 3 months ago

@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

miniscruff commented 3 months ago

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 commented 3 months ago

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

Magic-Mayo commented 2 months ago

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.