feat(settings): add CFDM API URL handling and improve integration form
Docker / build (push) Failing after 22s

Introduced a new test to verify the persistence of the CFDM API URL via the settings endpoint. Updated the integration form to reflect saved credentials more clearly, enhancing user feedback for the API URL and integration token. Improved sync button behavior to prevent actions without saved credentials. Updated settings schema to include CFDM API URL validation.
This commit is contained in:
Denozordec
2026-08-01 00:20:59 +07:00
parent b8ee99ca03
commit fd2d5f39c0
4 changed files with 42 additions and 14 deletions
@@ -27,6 +27,7 @@ export const settingsSchema = z.object({
appSwitcher: appSwitcherConfigSchema.optional(),
integrationToken: z.string().optional(),
integrationEnabled: z.boolean().optional(),
cfdmApiUrl: z.string().url('Невалидный URL').or(z.literal('')).optional(),
showQuickActions: z.boolean().optional(),
})