feat(settings): add CFDM API URL handling and improve integration form
Docker / build (push) Failing after 22s
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:
@@ -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(),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user