fix(cost-management): use dots instead of slashes in menuItems keys#3022
Conversation
RHDH expects dots as path separators in menuItems keys (e.g., `cost-management.optimizations`), not slashes. Using slashes causes the menu items to appear as flat top-level entries instead of being nested under the "Cost management" parent menu. See: https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.6/html/installing_and_viewing_plugins_in_red_hat_developer_hub/assembly-front-end-plugin-wiring.adoc_rhdh-extensions-plugins Signed-off-by: pgarciaq <pgarciaq@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Changed Packages
|
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
@PreetiW please take a look. I hit this while installing RHDH on my cluster. |
|
Thank you for the fix @pgarciaq LGTM 🎉 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3022 +/- ##
=======================================
Coverage 60.75% 60.75%
=======================================
Files 2067 2067
Lines 63761 63761
Branches 16532 16535 +3
=======================================
Hits 38735 38735
Misses 24580 24580
Partials 446 446
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|



Summary
menuItemskeys inapp-config.dynamic.yamlto use dots (.) instead of slashes (/) as path separatorsThe RHDH front-end plugin wiring documentation specifies that for a path like
/cost-management/optimizations, the correspondingmenu_item_nameshould becost-management.optimizations(with a dot), notcost-management/optimizations(with a slash).Test plan
app-config.dynamic.yamlMade with Cursor