feat(mobile): support import/export dialog

This commit is contained in:
Elian Doran 2025-04-12 10:09:52 +03:00
parent aac195c332
commit 15a683bce1
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@
* Document structure is now precalculated, so start-up time should be slightly increased. * Document structure is now precalculated, so start-up time should be slightly increased.
* Optimized the content in order to reduce the size on disk. * Optimized the content in order to reduce the size on disk.
* Mobile improvements: * Mobile improvements:
* The following dialogs are now accessible: bulk actions, branch prefix, include note, add link, sort child notes, note type selector, move/clone to * The following dialogs are now accessible: bulk actions, branch prefix, include note, add link, sort child notes, note type selector, move/clone to, import/export
* Modals now have a safe margin on their bottom and are scrollable. * Modals now have a safe margin on their bottom and are scrollable.
## 🌍 Internationalization ## 🌍 Internationalization

View File

@ -255,8 +255,6 @@ export default class DesktopLayout {
// Remove once modals are all merged // Remove once modals are all merged
.child(new PasswordNoteSetDialog()) .child(new PasswordNoteSetDialog())
.child(new ImportDialog())
.child(new ExportDialog())
.child(new UploadAttachmentsDialog()) .child(new UploadAttachmentsDialog())
.child(new MarkdownImportDialog()) .child(new MarkdownImportDialog())
.child(new ProtectedSessionPasswordDialog()) .child(new ProtectedSessionPasswordDialog())

View File

@ -13,6 +13,8 @@ import SortChildNotesDialog from "../widgets/dialogs/sort_child_notes.js";
import NoteTypeChooserDialog from "../widgets/dialogs/note_type_chooser.js"; import NoteTypeChooserDialog from "../widgets/dialogs/note_type_chooser.js";
import MoveToDialog from "../widgets/dialogs/move_to.js"; import MoveToDialog from "../widgets/dialogs/move_to.js";
import CloneToDialog from "../widgets/dialogs/clone_to.js"; import CloneToDialog from "../widgets/dialogs/clone_to.js";
import ImportDialog from "../widgets/dialogs/import.js";
import ExportDialog from "../widgets/dialogs/export.js";
export function applyModals(rootContainer: RootContainer) { export function applyModals(rootContainer: RootContainer) {
rootContainer rootContainer
@ -28,8 +30,8 @@ export function applyModals(rootContainer: RootContainer) {
.child(new AddLinkDialog()) .child(new AddLinkDialog())
.child(new CloneToDialog()) .child(new CloneToDialog())
.child(new MoveToDialog()) .child(new MoveToDialog())
// .child(new ImportDialog()) .child(new ImportDialog())
// .child(new ExportDialog()) .child(new ExportDialog())
// .child(new UploadAttachmentsDialog()) // .child(new UploadAttachmentsDialog())
// .child(new MarkdownImportDialog()) // .child(new MarkdownImportDialog())
// .child(new ProtectedSessionPasswordDialog()) // .child(new ProtectedSessionPasswordDialog())