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 sort child notes dialog
Elian Dorancd00c89dfe53
diff --git a/docs/Release Notes/Release Notes/v0.92.8-beta.md b/docs/Release Notes/Release Notes/v0.92.8-beta.mdindex 59ca3738e2..41c0240ad9 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.+ * The following dialogs are now accessible: bulk actions, branch prefix, include note, add link, sort child notes.* 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 adb57ca412..27ae002e2d 100644--- a/src/public/app/layouts/desktop_layout.ts+++ b/src/public/app/layouts/desktop_layout.ts@@ -253,7 +253,6 @@ export default class DesktopLayout {))// Remove once modals are all merged- .child(new SortChildNotesDialog()).child(new PasswordNoteSetDialog()).child(new NoteTypeChooserDialog()).child(new CloneToDialog())diff --git a/src/public/app/layouts/layout_commons.ts b/src/public/app/layouts/layout_commons.tsindex 4b5ddf6bfa..25f88e6cf6 100644--- a/src/public/app/layouts/layout_commons.ts+++ b/src/public/app/layouts/layout_commons.ts@@ -9,6 +9,7 @@ import AddLinkDialog from "../widgets/dialogs/add_link.js";import IncludeNoteDialog from "../widgets/dialogs/include_note.js";import BulkActionsDialog from "../widgets/dialogs/bulk_actions.js";import BranchPrefixDialog from "../widgets/dialogs/branch_prefix.js";+import SortChildNotesDialog from "../widgets/dialogs/sort_child_notes.js";export function applyModals(rootContainer: RootContainer) {rootContainer@@ -17,7 +18,7 @@ export function applyModals(rootContainer: RootContainer) {.child(new HelpDialog()).child(new RecentChangesDialog()).child(new BranchPrefixDialog())- // .child(new SortChildNotesDialog())+ .child(new SortChildNotesDialog())// .child(new PasswordNoteSetDialog()).child(new IncludeNoteDialog())// .child(new NoteTypeChooserDialog())