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

add GHA workflow - freetext > dropdown #20

Closed
rtc11 opened this issue Nov 18, 2024 · 4 comments
Closed

add GHA workflow - freetext > dropdown #20

rtc11 opened this issue Nov 18, 2024 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@rtc11
Copy link

rtc11 commented Nov 18, 2024

We have 5K+ repositories in our org and I am presented with a drop down menu.

@erikdoe
Copy link
Member

erikdoe commented Nov 21, 2024

Yes, this is a known problem. Of course CCMenu could fetch all repositories, or the user could actively say "fetch more", but then a pop-up isn't a great UI for that. I wanted to use a search-box with drop-down but that UI element doesn't exist in Swift UI and it proved to be quite difficult to implement it. Will return to this sooner or later.

@erikdoe erikdoe added the enhancement New feature or request label Nov 21, 2024
@rtc11
Copy link
Author

rtc11 commented Nov 22, 2024

Im not familiar with swift, but it looks like you save the state in json files? Where is the files located? I could problably add the repositories manually?

@erikdoe
Copy link
Member

erikdoe commented Nov 23, 2024

Yes, that's a possible workaround. That said, CCMenu stores its settings in the macOS database but you can export and import pipeline settings, and those are in JSON format. So, you can create a JSON file with your pipeline (or pipelines even) and then import that from the menu on the pipeline window in CCMenu. The format is relatively straightforward. Here's an example for CCMenu itself:

[
  {
    "feedName" : "",
    "feedType" : "github",
    "feedUrl" : "https://api.github.com/repos/ccmenu/ccmenu2/actions/workflows/build-and-test.yaml/runs",
    "name" : "ccmenu2 | Build and test"
  }
]

Note the outer angular brackets, the file must be an array of pipeline objects. The feedName field is always empty for GitHub pipelines.

@erikdoe erikdoe closed this as completed Jan 12, 2025
@erikdoe erikdoe added this to the CCMenu 27.0 milestone Jan 12, 2025
@erikdoe erikdoe reopened this Jan 12, 2025
@erikdoe erikdoe closed this as completed Jan 12, 2025
@erikdoe
Copy link
Member

erikdoe commented Jan 14, 2025

Please have a look whether this pre-release addresses your issue: https://github.com/ccmenu/ccmenu2/releases/tag/v27.0d1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants