feat:frontend new api call && database file migration #4332
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.
🤖[deprecated] Generated by Copilot at 0aad1c8
Summary
🚀🌐📈
This pull request enhances the frontend features and functionality of the app launchpad, dbprovider, and cronjob providers. It improves the type safety, code readability, error handling, and localization of various API handlers and components. It also adds new variables, annotations, and API handlers to support app deployment, PVC resizing, file upload, backup deletion, and pod metrics. Additionally, it refactors the
InternalAppCall
listener logic into a separate function and fixes some UI and layout issues.Walkthrough
InternalAppCall
listener logic into a separate function and handle errors (link, link, link)onUpdateValue
function of theTagTextarea
component to handle the deletion of the last element and change the toast status (link, link)status
variable of theDumpImport
andMigrateStatus
components to use the pod status phase from the query data (link, link)refetchInterval
option to theuseQuery
hook of theMigrateStatus
component to periodically refetch the pod status (link)BackupTable
component to show anoEvents
icon and aNo Data Available
text if the query was successful but the backups array was empty (link, link)maxW
prop of theBox
component in theFileSelect
component to366px
(link)Box
component to aFlex
component and add afontSize
prop of12px
to theText
component in theBackupTable
component (link, link, link)getServiceByName
API handler to include a prefix for clarity (link)delDBByName
API handler (link)catch
block for thedeleteNamespacedService
function in theDumpImport
anddelDBByName
components (link, link, link)DumpImport
component (link, link, link)getPodMetrics
function toGetPodMetrics
and add a return statement (link, link, link)