mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-30 04:01:31 +08:00 
			
		
		
		
	feat(mobile): support branch prefix dialog
This commit is contained in:
		
							parent
							
								
									bbd76069c1
								
							
						
					
					
						commit
						f348f5d7ed
					
				| @ -19,6 +19,9 @@ | |||||||
| *   In-app help: | *   In-app help: | ||||||
|     *   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: | ||||||
|  |     *   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 | ## 🌍 Internationalization | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -253,7 +253,6 @@ export default class DesktopLayout { | |||||||
|                     ) |                     ) | ||||||
|             ) |             ) | ||||||
|             // Remove once modals are all merged
 |             // Remove once modals are all merged
 | ||||||
|             .child(new BranchPrefixDialog()) |  | ||||||
|             .child(new SortChildNotesDialog()) |             .child(new SortChildNotesDialog()) | ||||||
|             .child(new PasswordNoteSetDialog()) |             .child(new PasswordNoteSetDialog()) | ||||||
|             .child(new NoteTypeChooserDialog()) |             .child(new NoteTypeChooserDialog()) | ||||||
|  | |||||||
| @ -8,6 +8,7 @@ import PromptDialog from "../widgets/dialogs/prompt.js"; | |||||||
| import AddLinkDialog from "../widgets/dialogs/add_link.js"; | import AddLinkDialog from "../widgets/dialogs/add_link.js"; | ||||||
| import IncludeNoteDialog from "../widgets/dialogs/include_note.js"; | import IncludeNoteDialog from "../widgets/dialogs/include_note.js"; | ||||||
| import BulkActionsDialog from "../widgets/dialogs/bulk_actions.js"; | import BulkActionsDialog from "../widgets/dialogs/bulk_actions.js"; | ||||||
|  | import BranchPrefixDialog from "../widgets/dialogs/branch_prefix.js"; | ||||||
| 
 | 
 | ||||||
| export function applyModals(rootContainer: RootContainer) { | export function applyModals(rootContainer: RootContainer) { | ||||||
|     rootContainer |     rootContainer | ||||||
| @ -15,7 +16,7 @@ export function applyModals(rootContainer: RootContainer) { | |||||||
|         .child(new AboutDialog()) |         .child(new AboutDialog()) | ||||||
|         .child(new HelpDialog()) |         .child(new HelpDialog()) | ||||||
|         .child(new RecentChangesDialog()) |         .child(new RecentChangesDialog()) | ||||||
|     //     .child(new BranchPrefixDialog())
 |         .child(new BranchPrefixDialog()) | ||||||
|     //     .child(new SortChildNotesDialog())
 |     //     .child(new SortChildNotesDialog())
 | ||||||
|     //     .child(new PasswordNoteSetDialog())
 |     //     .child(new PasswordNoteSetDialog())
 | ||||||
|         .child(new IncludeNoteDialog()) |         .child(new IncludeNoteDialog()) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran