Uh oh!
There was an error while loading. Please reload this page.
feat: add config-bundle readonly TUI - #2024
Conversation
codecov-commenter
commented
Aug 18, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## refactor #2024 +/- ##
============================================
+ Coverage 97.06% 97.09% +0.03%
============================================
Files 374 381 +7 Lines 22542 22778 +236 ============================================
+ Hits 21880 22116 +236
Misses 662 662 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| .default(createHelpDefault(io)) | ||
| .use(withTuiOnEmptyFlagsAndArgs(core, io)) | ||
| .default(renderTui(core, io)) | ||
| .supportedTuiCommands("list") |
There was a problem hiding this comment.
is there a reason we don't also support get? Not saying I agree with the standard, but so far, I believe each screen has routed get and list to the same page.
There was a problem hiding this comment.
The CLI supports config-bundle get, config-bundle list and config-bundle version list. We mirror that in the TUI, so the flow of screens is config-bundle -> get, list, or version. If version is selected: version -> list. The only child command version exposes is list for either CLI or TUI flow
Uh oh!
There was an error while loading. Please reload this page.
Description
Adds an interactive, read-only TUI for
eval config-bundlecommand tree. Bare read-only commands now open TUI flows instead of returning missing flag errors, while mutating commands remain CLI-onlyScreens
eeval config-bundleRouterScreenmenueval config-bundle list/eval config-bundle getConfigBundlePickerusingPaginatedTablePickereval config-bundle get/:bundleIdJsonDetaileval config-bundle versionRouterScreenmenueval config-bundle version listConfigBundlePickerfor bundle selectioneval config-bundle version list/:bundleIdConfigBundleVersionPickerusingPaginatedTablePickereval config-bundle get/:bundleId/:versionIdversion in JsonDetailType of Change
Testing
How have you tested the change?
Added
config-bundle.screen.test.tsxcovering menu filtering, navigation, metadata rendering, pagination calls, latest and immutable version retrieval, sorting, retries, and empty/error states.Added command-dispatch coverage confirming only read-only leaves open the TUI.
bun test src/handlers/eval (233 pass, 0 fail)
I ran
npm run test:unitandnpm run test:integI ran
npm run typecheckI ran
npm run lintIf I modified
src/assets/, I rannpm run test:update-snapshotsand committed the updated snapshotsChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.