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": "Показати елементи керування редактора",
|
||||
"filesView.editor.controlsTitle": "Елементи керування редактора",
|
||||
"filesView.editor.pickFileFromTree": "Вибрати файл із дерева.",
|
||||
"filesView.editor.cannotPreviewBinary": "Неможливо попередньо переглянути бінарний файл",
|
||||
"filesView.editor.binaryFileDescription": "Цей файл є бінарним і його не можна редагувати в OpenChamber. Завантажте його, щоб відкрити в іншій програмі.",
|
||||
"filesView.state.loading": "Завантаження...",
|
||||
"filesView.state.openingFileAtChange": "Відкриття файлу на зміні...",
|
||||
"filesView.tree.search.placeholder": "Пошук файлів...",
|
||||
|
||||
Reference in New Issue
Block a user