Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large numbers of projects makes changie unusable #611

Open
andrewnicols opened this issue Mar 8, 2024 · 6 comments
Open

Large numbers of projects makes changie unusable #611

andrewnicols opened this issue Mar 8, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@andrewnicols
Copy link

andrewnicols commented Mar 8, 2024

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 andrewnicols added the bug Something isn't working label Mar 8, 2024
@miniscruff
Copy link
Owner

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
Copy link
Owner

@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
Copy link

@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
Copy link
Owner

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
Copy link
Owner

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

@Magic-Mayo
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants