mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 03:23:25 +08:00 
			
		
		
		
	feat(mobile): support import/export dialog
This commit is contained in:
		
							parent
							
								
									aac195c332
								
							
						
					
					
						commit
						15a683bce1
					
				| @ -20,7 +20,7 @@ | |||||||
|     *   Document structure is now precalculated, so start-up time should be slightly increased. |     *   Document structure is now precalculated, so start-up time should be slightly increased. | ||||||
|     *   Optimized the content in order to reduce the size on disk. |     *   Optimized the content in order to reduce the size on disk. | ||||||
| *   Mobile improvements: | *   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 |     *   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 | ||||||
|     *   Modals now have a safe margin on their bottom and are scrollable. |     *   Modals now have a safe margin on their bottom and are scrollable. | ||||||
| 
 | 
 | ||||||
| ## 🌍 Internationalization | ## 🌍 Internationalization | ||||||
|  | |||||||
| @ -255,8 +255,6 @@ export default class DesktopLayout { | |||||||
|             // Remove once modals are all merged
 |             // Remove once modals are all merged
 | ||||||
|             .child(new PasswordNoteSetDialog()) |             .child(new PasswordNoteSetDialog()) | ||||||
| 
 | 
 | ||||||
|             .child(new ImportDialog()) |  | ||||||
|             .child(new ExportDialog()) |  | ||||||
|             .child(new UploadAttachmentsDialog()) |             .child(new UploadAttachmentsDialog()) | ||||||
|             .child(new MarkdownImportDialog()) |             .child(new MarkdownImportDialog()) | ||||||
|             .child(new ProtectedSessionPasswordDialog()) |             .child(new ProtectedSessionPasswordDialog()) | ||||||
|  | |||||||
| @ -13,6 +13,8 @@ import SortChildNotesDialog from "../widgets/dialogs/sort_child_notes.js"; | |||||||
| import NoteTypeChooserDialog from "../widgets/dialogs/note_type_chooser.js"; | import NoteTypeChooserDialog from "../widgets/dialogs/note_type_chooser.js"; | ||||||
| import MoveToDialog from "../widgets/dialogs/move_to.js"; | import MoveToDialog from "../widgets/dialogs/move_to.js"; | ||||||
| import CloneToDialog from "../widgets/dialogs/clone_to.js"; | import CloneToDialog from "../widgets/dialogs/clone_to.js"; | ||||||
|  | import ImportDialog from "../widgets/dialogs/import.js"; | ||||||
|  | import ExportDialog from "../widgets/dialogs/export.js"; | ||||||
| 
 | 
 | ||||||
| export function applyModals(rootContainer: RootContainer) { | export function applyModals(rootContainer: RootContainer) { | ||||||
|     rootContainer |     rootContainer | ||||||
| @ -28,8 +30,8 @@ export function applyModals(rootContainer: RootContainer) { | |||||||
|         .child(new AddLinkDialog()) |         .child(new AddLinkDialog()) | ||||||
|         .child(new CloneToDialog()) |         .child(new CloneToDialog()) | ||||||
|         .child(new MoveToDialog()) |         .child(new MoveToDialog()) | ||||||
|     //     .child(new ImportDialog())
 |         .child(new ImportDialog()) | ||||||
|     //     .child(new ExportDialog())
 |         .child(new ExportDialog()) | ||||||
|     //     .child(new UploadAttachmentsDialog())
 |     //     .child(new UploadAttachmentsDialog())
 | ||||||
|     //     .child(new MarkdownImportDialog())
 |     //     .child(new MarkdownImportDialog())
 | ||||||
|     //     .child(new ProtectedSessionPasswordDialog())
 |     //     .child(new ProtectedSessionPasswordDialog())
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran