mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	feat(mobile): support markdown import dialog
This commit is contained in:
		
							parent
							
								
									15a683bce1
								
							
						
					
					
						commit
						a89b868509
					
				@ -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
 | 
			
		||||
 | 
			
		||||
@ -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())
 | 
			
		||||
 | 
			
		||||
@ -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())
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user