fix(files): prevent autosave data loss on load lag and binary files
Guard FilesView autosave until the selected file has finished loading, refuse binary/PDF/office/archive text saves, and add a persisted global autoSaveEnabled setting (default true) under Settings → General. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
This commit is contained in:
co-authored by
Serhii Dziupin
parent
a4c7bac303
commit
5b727ed53c
@@ -1213,6 +1213,8 @@ export const dict: Record<I18nKey, string> = {
|
||||
"filesView.editor.showControlsAria": "Mostrar controles del editor",
|
||||
"filesView.editor.controlsTitle": "Controles del editor",
|
||||
"filesView.editor.pickFileFromTree": "Selecciona un archivo del árbol.",
|
||||
"filesView.editor.cannotPreviewBinary": "No se puede previsualizar el archivo binario",
|
||||
"filesView.editor.binaryFileDescription": "Este archivo es binario y no se puede editar en OpenChamber. Descárgalo para abrirlo con otra aplicación.",
|
||||
"filesView.state.loading": "Cargando...",
|
||||
"filesView.state.openingFileAtChange": "Abriendo archivo en cambio...",
|
||||
"filesView.tree.search.placeholder": "Buscar archivos...",
|
||||
|
||||
Reference in New Issue
Block a user