feat(domain): improve domain form UX

- Make name field optional (defaults to domain if empty)
- Simplify domain placeholder and error messages
- Add test connection button for credential validation before save
This commit is contained in:
2026-03-12 11:03:52 +08:00
parent 8b0805bebf
commit c903733f2c
7 changed files with 289 additions and 36 deletions

View File

@@ -13,6 +13,7 @@ const api: ElectronAPI = {
updateDomain: (params) => ipcRenderer.invoke("updateDomain", params),
deleteDomain: (id) => ipcRenderer.invoke("deleteDomain", id),
testConnection: (id) => ipcRenderer.invoke("testConnection", id),
testDomainConnection: (params) => ipcRenderer.invoke("testDomainConnection", params),
// ==================== Browse ====================
getSpaces: (params) => ipcRenderer.invoke("getSpaces", params),