feat(tenant): add tenant name update functionality and enhance UI

Implemented a new API endpoint for updating tenant names, allowing owners to edit tenant information directly within the UI. The frontend now supports inline editing with success and error notifications. Additionally, internationalization files have been updated to include relevant messages for the new functionality across English, Korean, Russian, and Chinese languages, ensuring a consistent user experience.

Refs: #1303
This commit is contained in:
wizardchen
2026-05-16 04:09:30 +08:00
committed by lyingbug
parent 57fde55583
commit b2411542eb
7 changed files with 339 additions and 56 deletions
+9 -1
View File
@@ -2354,7 +2354,14 @@ export default {
statusLabel: 'Tenant Status',
statusDescription: 'Current operational status of the tenant',
createdAtLabel: 'Tenant Creation Time',
createdAtDescription: 'Time when the tenant was created'
createdAtDescription: 'Time when the tenant was created',
editName: 'Edit name',
editNamePlaceholder: 'Enter the new tenant name',
editNameConfirm: 'Save',
editNameCancel: 'Cancel',
editNameRequired: 'Tenant name cannot be empty',
editNameSuccess: 'Tenant name updated',
editNameFailed: 'Failed to update tenant name'
},
storage: {
quotaLabel: 'Storage Quota',
@@ -2508,6 +2515,7 @@ export default {
listFailed: 'Failed to list tenants',
searchFailed: 'Failed to search tenants',
resetApiKeyFailed: 'Failed to reset API Key',
updateFailed: 'Failed to update tenant information',
},
initialization: {
checkFailed: 'Check failed',