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 markdown import dialog
Elian Dorana89b8685092c
diff --git a/docs/Release Notes/Release Notes/v0.92.8-beta.md b/docs/Release Notes/Release Notes/v0.92.8-beta.mdindex 41950dcd01..7e579f00e6 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, import/export+ * 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, markdown import* 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 c22f06750f..0d1183530f 100644--- a/src/public/app/layouts/desktop_layout.ts+++ b/src/public/app/layouts/desktop_layout.ts@@ -256,7 +256,6 @@ export default class DesktopLayout {.child(new PasswordNoteSetDialog()).child(new UploadAttachmentsDialog())- .child(new MarkdownImportDialog()).child(new ProtectedSessionPasswordDialog()).child(new RevisionsDialog()).child(new DeleteNotesDialog())diff --git a/src/public/app/layouts/layout_commons.ts b/src/public/app/layouts/layout_commons.tsindex f4784c323d..988539e8b4 100644--- a/src/public/app/layouts/layout_commons.ts+++ b/src/public/app/layouts/layout_commons.ts@@ -15,6 +15,7 @@ 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";+import MarkdownImportDialog from "../widgets/dialogs/markdown_import.js";export function applyModals(rootContainer: RootContainer) {rootContainer@@ -32,8 +33,7 @@ export function applyModals(rootContainer: RootContainer) {.child(new MoveToDialog()).child(new ImportDialog()).child(new ExportDialog())- // .child(new UploadAttachmentsDialog())- // .child(new MarkdownImportDialog())+ .child(new MarkdownImportDialog())// .child(new ProtectedSessionPasswordDialog())// .child(new RevisionsDialog())// .child(new DeleteNotesDialog())