Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(mobile): support import/export dialog
Elian Doran15a683bce10a
diff --git a/docs/Release Notes/Release Notes/v0.92.8-beta.md b/docs/Release Notes/Release Notes/v0.92.8-beta.mdindex 03300cb7a3..41950dcd01 100644--- a/docs/Release Notes/Release Notes/v0.92.8-beta.md+++ b/docs/Release Notes/Release Notes/v0.92.8-beta.md@@ -20,7 +20,7 @@* Document structure is now precalculated, so start-up time should be slightly increased.* Optimized the content in order to reduce the size on disk.* 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.## 🌍 Internationalizationdiff --git a/src/public/app/layouts/desktop_layout.ts b/src/public/app/layouts/desktop_layout.tsindex 1579da4e62..c22f06750f 100644--- a/src/public/app/layouts/desktop_layout.ts+++ b/src/public/app/layouts/desktop_layout.ts@@ -255,8 +255,6 @@ export default class DesktopLayout {// Remove once modals are all merged.child(new PasswordNoteSetDialog())- .child(new ImportDialog())- .child(new ExportDialog()).child(new UploadAttachmentsDialog()).child(new MarkdownImportDialog()).child(new ProtectedSessionPasswordDialog())diff --git a/src/public/app/layouts/layout_commons.ts b/src/public/app/layouts/layout_commons.tsindex 0a0eb1fa78..f4784c323d 100644--- a/src/public/app/layouts/layout_commons.ts+++ b/src/public/app/layouts/layout_commons.ts@@ -13,6 +13,8 @@ import SortChildNotesDialog from "../widgets/dialogs/sort_child_notes.js";import NoteTypeChooserDialog from "../widgets/dialogs/note_type_chooser.js";import MoveToDialog from "../widgets/dialogs/move_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) {rootContainer@@ -28,8 +30,8 @@ export function applyModals(rootContainer: RootContainer) {.child(new AddLinkDialog()).child(new CloneToDialog()).child(new MoveToDialog())- // .child(new ImportDialog())- // .child(new ExportDialog())+ .child(new ImportDialog())+ .child(new ExportDialog())// .child(new UploadAttachmentsDialog())// .child(new MarkdownImportDialog())// .child(new ProtectedSessionPasswordDialog())