dify/web/app/components/header/account-setting/sandbox-provider-page
yyh 8f4a4214a1
feat(sandbox): preserve user config when switching to system default
Update frontend to use new backend API:
- save_config now accepts optional 'activate' parameter
- activate endpoint now requires 'type' parameter ('system' | 'user')

When switching to managed mode, call activate with type='system' instead
of deleting user config, so custom configurations are preserved for
future use.
2026-01-19 22:27:06 +08:00
..
config-modal.tsx feat(sandbox): preserve user config when switching to system default 2026-01-19 22:27:06 +08:00
constants.ts fix(sandbox-provider): align frontend types with backend API after refactor 2026-01-19 10:50:57 +08:00
index.tsx refactor: import SandboxProvider type from @/types and remove retry:0 2026-01-14 10:10:04 +08:00
provider-card.tsx fix(sandbox-provider): align frontend types with backend API after refactor 2026-01-19 10:50:57 +08:00
provider-icon.tsx refactor(sandbox-provider): extract shared constants and remove redundant cache invalidation 2026-01-13 16:18:08 +08:00
switch-modal.tsx feat(sandbox): preserve user config when switching to system default 2026-01-19 22:27:06 +08:00