Skip to content

feat: add support for changing directory/profile in monorepos#114

Merged
MacroPower merged 13 commits intomainfrom
feat/menu
Aug 19, 2025
Merged

feat: add support for changing directory/profile in monorepos#114
MacroPower merged 13 commits intomainfrom
feat/menu

Conversation

@MacroPower
Copy link
Copy Markdown
Owner

@MacroPower MacroPower commented Aug 17, 2025

This was a huge pain as I never expected to need this. But, it sort of works now. Probably a lot of bugs still as some of this is very difficult to test.

Usage:

  • Press : to open the menu
  • File picker will show any folders/files that match any rules (applies recursively)
  • Navigate with arrow keys or hjkl
  • Press enter to select a file or folder
  • See the matched profile and enter any extra args if desired
  • Press enter again to render

This is mainly meant for monorepos where there may be multiple helm charts / kustomizations / etc in the repo. It's not meant to be a tool for browsing your filesystem generally.

menu

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 17, 2025

Codecov Report

❌ Patch coverage is 18.48617% with 1120 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.73%. Comparing base (1877e22) to head (7c20bcf).
⚠️ Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
pkg/ui/filepicker/filepicker.go 0.00% 363 Missing ⚠️
pkg/ui/configeditor/field_filepicker.go 0.00% 254 Missing ⚠️
pkg/ui/configeditor/configeditor.go 0.00% 119 Missing ⚠️
pkg/ui/menu/menu.go 0.00% 90 Missing ⚠️
pkg/ui/menu/keys.go 0.00% 77 Missing ⚠️
pkg/command/runner.go 70.71% 61 Missing and 9 partials ⚠️
pkg/ui/ui.go 0.00% 50 Missing ⚠️
pkg/ui/menu/theme.go 0.00% 47 Missing ⚠️
pkg/command/static.go 35.00% 13 Missing ⚠️
pkg/ui/config.go 0.00% 12 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
- Coverage   53.80%   46.73%   -7.08%     
==========================================
  Files          46       53       +7     
  Lines        5713     7012    +1299     
==========================================
+ Hits         3074     3277     +203     
- Misses       2523     3606    +1083     
- Partials      116      129      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MacroPower MacroPower merged commit e9cb669 into main Aug 19, 2025
3 of 5 checks passed
@MacroPower MacroPower deleted the feat/menu branch August 19, 2025 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant