fix: agent finance page styling and cloud data API implementation

- Fix agent finance page: confirmed backend integration is working
- Add agent cloud-variables and cloud-constants API endpoints
- Rewrite agent cloud-data page to use real API calls instead of mock data
- Fix API path: /agent/applications -> /agent/apps
- Remove 'all' value from app filter SelectItem (empty string issue)
- Add cloudData i18n keys for zh and en
- Cloud data is read-only for agents, with CanViewCloudData permission check
This commit is contained in:
2026-05-10 23:38:04 +08:00
parent 5561587cde
commit df4ad079f3
4 changed files with 304 additions and 56 deletions
+23
View File
@@ -2886,6 +2886,29 @@
"totalAmount": "Estimated Cost",
"generateNow": "Generate Now"
}
},
"cloudData": {
"title": "Cloud Data",
"description": "View cloud variables and constants (read-only)",
"variables": "Cloud Variables",
"constants": "Cloud Constants",
"applications": "Applications",
"dataList": "Data List",
"readOnlyHint": "Read-only mode, data cannot be edited",
"allApps": "All Applications",
"noVariables": "No cloud variables found",
"noConstants": "No cloud constants found",
"statusActive": "Active",
"statusInactive": "Inactive",
"readOnlyNote": "Read-only - Data is for viewing only, no editing allowed",
"columns": {
"name": "Name",
"application": "Application",
"scope": "Scope",
"value": "Value",
"status": "Status",
"createdAt": "Created At"
}
}
},
"pricing": {