Skip to content

Build your personal knowledge base with Trilium Notes

feat(mobile): support branch prefix dialog

Elian Doranf348f5d7edb4
diff --git a/docs/Release Notes/Release Notes/v0.92.8-beta.md b/docs/Release Notes/Release Notes/v0.92.8-beta.md
index d1723ba17a..59ca3738e2 100644
--- a/docs/Release Notes/Release Notes/v0.92.8-beta.md
+++ b/docs/Release Notes/Release Notes/v0.92.8-beta.md
@@ -8,7 +8,7 @@
* Calendar does not hide when clicking on a note by @JYC333
* Mobile improvements:
* [Unable to add internal link on mobile version](https://github.com/TriliumNext/Notes/issues/1677)
- * Note tree not closing when selecting some of the menu actions.
+ * Note tree not closing when selecting some of the menu actions.
## ✨ Improvements
@@ -19,6 +19,9 @@
* In-app help:
* 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.
+ * Modals now have a safe margin on their bottom and are scrollable.
## 🌍 Internationalization
diff --git a/src/public/app/layouts/desktop_layout.ts b/src/public/app/layouts/desktop_layout.ts
index fcd62d922c..adb57ca412 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 BranchPrefixDialog())
.child(new SortChildNotesDialog())
.child(new PasswordNoteSetDialog())
.child(new NoteTypeChooserDialog())
diff --git a/src/public/app/layouts/layout_commons.ts b/src/public/app/layouts/layout_commons.ts
index 9451179f7b..4b5ddf6bfa 100644
--- a/src/public/app/layouts/layout_commons.ts
+++ b/src/public/app/layouts/layout_commons.ts
@@ -8,6 +8,7 @@ import PromptDialog from "../widgets/dialogs/prompt.js";
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";
export function applyModals(rootContainer: RootContainer) {
rootContainer
@@ -15,7 +16,7 @@ export function applyModals(rootContainer: RootContainer) {
.child(new AboutDialog())
.child(new HelpDialog())
.child(new RecentChangesDialog())
- // .child(new BranchPrefixDialog())
+ .child(new BranchPrefixDialog())
// .child(new SortChildNotesDialog())
// .child(new PasswordNoteSetDialog())
.child(new IncludeNoteDialog())