feat(mobile): support markdown import dialog

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

View File

@ -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.
## 🌍 Internationalization

View File

@ -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())

View File

@ -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())