Download log button added #505
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #
Implements Support Bundle download feature for Epinio UI, allowing administrators to download comprehensive troubleshooting logs from all Epinio components.
Occurred changes and/or fixed issues
New Files Created:
dashboard/pkg/epinio/utils/support-bundle.ts- Core utility function for downloading support bundles with comprehensive error handlingdashboard/pkg/epinio/pages/c/_cluster/support-bundle.vue- Vue component for the Support Bundle UI pageModified Files:
dashboard/pkg/epinio/routing/epinio-routing.ts- Added route for support bundle page (/:product/c/:cluster/support-bundle)dashboard/pkg/epinio/config/epinio.ts- Added virtual type configuration for Support Bundle navigation item (appears in sidebar under "System" group)dashboard/pkg/epinio/types.ts- AddedSUPPORT_BUNDLEtype constantdashboard/pkg/epinio/l10n/en-us.yaml- Added all translation keys for Support Bundle feature (title, descriptions, error messages, tooltips, etc.)Technical notes summary
Architecture:
downloadFilefrom@shell/utils/download)epinio/requestactionError Handling:
SupportBundleErrorclass with error codes for translation support401- Authentication required403- Admin access required400- Invalid parameters500- Server errorAreas or cases that should be tested
Functional Testing:
/epinio/c/<cluster>/support-bundle)Areas which could experience regressions
Screenshot/Video