mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(mobile): add info dialog
This commit is contained in:
parent
4e7a7e334e
commit
44b9b3d7b8
@ -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, markdown import, note revisions
|
||||
* 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, note revisions, info dialog.
|
||||
* Delete notes now requests confirmation.
|
||||
* Modals now have a safe margin on their bottom and are scrollable.
|
||||
|
||||
|
@ -252,13 +252,11 @@ export default class DesktopLayout {
|
||||
)
|
||||
)
|
||||
)
|
||||
// Remove once modals are all merged
|
||||
.child(new CloseZenButton())
|
||||
|
||||
// Desktop-specific dialogs.
|
||||
.child(new PasswordNoteSetDialog())
|
||||
|
||||
.child(new UploadAttachmentsDialog())
|
||||
.child(new InfoDialog())
|
||||
|
||||
.child(new CloseZenButton());
|
||||
.child(new UploadAttachmentsDialog());
|
||||
|
||||
applyModals(rootContainer);
|
||||
return rootContainer;
|
||||
|
@ -20,6 +20,7 @@ import ProtectedSessionPasswordDialog from "../widgets/dialogs/protected_session
|
||||
import ConfirmDialog from "../widgets/dialogs/confirm.js";
|
||||
import RevisionsDialog from "../widgets/dialogs/revisions.js";
|
||||
import DeleteNotesDialog from "../widgets/dialogs/delete_notes.js";
|
||||
import InfoDialog from "../widgets/dialogs/info.js";
|
||||
|
||||
export function applyModals(rootContainer: RootContainer) {
|
||||
rootContainer
|
||||
@ -41,7 +42,7 @@ export function applyModals(rootContainer: RootContainer) {
|
||||
.child(new ProtectedSessionPasswordDialog())
|
||||
.child(new RevisionsDialog())
|
||||
.child(new DeleteNotesDialog())
|
||||
// .child(new InfoDialog())
|
||||
.child(new InfoDialog())
|
||||
.child(new ConfirmDialog())
|
||||
.child(new PromptDialog())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user