diff --git a/app/client/components/export-dialog.tsx b/app/client/components/export-dialog.tsx index 6d5cf695..009e42b5 100644 --- a/app/client/components/export-dialog.tsx +++ b/app/client/components/export-dialog.tsx @@ -341,107 +341,107 @@ export function ExportDialog({
-
- setIncludeIds(checked === true)} - /> - -
-

- Include internal database identifiers in the export. Useful for debugging or when IDs are needed for reference. -

- -
- setIncludeTimestamps(checked === true)} - /> - -
-

- Include createdAt and updatedAt timestamps. Disable for cleaner exports when timestamps aren't needed. -

- -
- setIncludeRuntimeState(checked === true)} - /> - -
-

- Include current status, health checks, and last backup information. Usually not needed for migration. -

- - {hasSecrets && ( - <> -
- - -
-

- {secretsMode === "exclude" && "Sensitive fields (passwords, API keys, webhooks) will be removed from the export."} - {secretsMode === "encrypted" && "Secrets will be exported in encrypted form. Requires the same recovery key to decrypt on import."} - {secretsMode === "cleartext" && ( - - ⚠️ Secrets will be decrypted and exported as plaintext. Keep this export secure! - - )} -

- - )} - - {isFullExport && ( - <> -
+
setIncludeRecoveryKey(checked === true)} + id="includeIds" + checked={includeIds} + onCheckedChange={(checked) => setIncludeIds(checked === true)} /> -

- ⚠️ Security sensitive: The recovery key is the master encryption key for all repositories. Keep this export secure and never share it. + Include internal database identifiers in the export. Useful for debugging or when IDs are needed for reference.

setIncludePasswordHash(checked === true)} + id="includeTimestamps" + checked={includeTimestamps} + onCheckedChange={(checked) => setIncludeTimestamps(checked === true)} /> -

- Include the hashed admin password for seamless migration. The password is already securely hashed (argon2). + Include createdAt and updatedAt timestamps. Disable for cleaner exports when timestamps aren't needed.

- - )} -
+ +
+ setIncludeRuntimeState(checked === true)} + /> + +
+

+ Include current status, health checks, and last backup information. Usually not needed for migration. +

+ + {hasSecrets && ( + <> +
+ + +
+

+ {secretsMode === "exclude" && "Sensitive fields (passwords, API keys, webhooks) will be removed from the export."} + {secretsMode === "encrypted" && "Secrets will be exported in encrypted form. Requires the same recovery key to decrypt on import."} + {secretsMode === "cleartext" && ( + + ⚠️ Secrets will be decrypted and exported as plaintext. Keep this export secure! + + )} +

+ + )} + + {isFullExport && ( + <> +
+ setIncludeRecoveryKey(checked === true)} + /> + +
+

+ ⚠️ Security sensitive: The recovery key is the master encryption key for all repositories. Keep this export secure and never share it. +

+ +
+ setIncludePasswordHash(checked === true)} + /> + +
+

+ Include the hashed admin password for seamless migration. The password is already securely hashed (argon2). +

+ + )} +