mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	icon improvement
This commit is contained in:
		
							parent
							
								
									7186222393
								
							
						
					
					
						commit
						744d953822
					
				@ -42,9 +42,9 @@ const NOTE_TYPE_ICONS = {
 | 
				
			|||||||
    "code": "bx bx-code",
 | 
					    "code": "bx bx-code",
 | 
				
			||||||
    "render": "bx bx-extension",
 | 
					    "render": "bx bx-extension",
 | 
				
			||||||
    "search": "bx bx-file-find",
 | 
					    "search": "bx bx-file-find",
 | 
				
			||||||
    "relationMap": "bx bx-map-alt",
 | 
					    "relationMap": "bx bxs-network-chart",
 | 
				
			||||||
    "book": "bx bx-book",
 | 
					    "book": "bx bx-book",
 | 
				
			||||||
    "noteMap": "bx bxl-graphql",
 | 
					    "noteMap": "bx bxs-network-chart",
 | 
				
			||||||
    "mermaid": "bx bx-selection",
 | 
					    "mermaid": "bx bx-selection",
 | 
				
			||||||
    "canvas": "bx bx-pen",
 | 
					    "canvas": "bx bx-pen",
 | 
				
			||||||
    "webView": "bx bx-globe-alt",
 | 
					    "webView": "bx bx-globe-alt",
 | 
				
			||||||
 | 
				
			|||||||
@ -14,9 +14,9 @@ const NOTE_TYPE_ICONS = {
 | 
				
			|||||||
    "code": "bx bx-code",
 | 
					    "code": "bx bx-code",
 | 
				
			||||||
    "render": "bx bx-extension",
 | 
					    "render": "bx bx-extension",
 | 
				
			||||||
    "search": "bx bx-file-find",
 | 
					    "search": "bx bx-file-find",
 | 
				
			||||||
    "relationMap": "bx bx-map-alt",
 | 
					    "relationMap": "bx bxs-network-chart",
 | 
				
			||||||
    "book": "bx bx-book",
 | 
					    "book": "bx bx-book",
 | 
				
			||||||
    "noteMap": "bx bxl-graphql",
 | 
					    "noteMap": "bx bxs-network-chart",
 | 
				
			||||||
    "mermaid": "bx bx-selection",
 | 
					    "mermaid": "bx bx-selection",
 | 
				
			||||||
    "canvas": "bx bx-pen",
 | 
					    "canvas": "bx bx-pen",
 | 
				
			||||||
    "webView": "bx bx-globe-alt",
 | 
					    "webView": "bx bx-globe-alt",
 | 
				
			||||||
 | 
				
			|||||||
@ -7,8 +7,8 @@ async function getNoteTypeItems(command) {
 | 
				
			|||||||
        { title: t("note_types.text"), command: command, type: "text", uiIcon: "bx bx-note" },
 | 
					        { title: t("note_types.text"), command: command, type: "text", uiIcon: "bx bx-note" },
 | 
				
			||||||
        { title: t("note_types.code"), command: command, type: "code", uiIcon: "bx bx-code" },
 | 
					        { title: t("note_types.code"), command: command, type: "code", uiIcon: "bx bx-code" },
 | 
				
			||||||
        { title: t("note_types.saved-search"), command: command, type: "search", uiIcon: "bx bx-file-find" },
 | 
					        { title: t("note_types.saved-search"), command: command, type: "search", uiIcon: "bx bx-file-find" },
 | 
				
			||||||
        { title: t("note_types.relation-map"), command: command, type: "relationMap", uiIcon: "bx bx-map-alt" },
 | 
					        { title: t("note_types.relation-map"), command: command, type: "relationMap", uiIcon: "bx bxs-network-chart" },
 | 
				
			||||||
        { title: t("note_types.note-map"), command: command, type: "noteMap", uiIcon: "bx bxl-graphql" },
 | 
					        { title: t("note_types.note-map"), command: command, type: "noteMap", uiIcon: "bx bxs-network-chart" },
 | 
				
			||||||
        { title: t("note_types.render-note"), command: command, type: "render", uiIcon: "bx bx-extension" },
 | 
					        { title: t("note_types.render-note"), command: command, type: "render", uiIcon: "bx bx-extension" },
 | 
				
			||||||
        { title: t("note_types.book"), command: command, type: "book", uiIcon: "bx bx-book" },
 | 
					        { title: t("note_types.book"), command: command, type: "book", uiIcon: "bx bx-book" },
 | 
				
			||||||
        { title: t("note_types.mermaid-diagram"), command: command, type: "mermaid", uiIcon: "bx bx-selection" },
 | 
					        { title: t("note_types.mermaid-diagram"), command: command, type: "mermaid", uiIcon: "bx bx-selection" },
 | 
				
			||||||
 | 
				
			|||||||
@ -52,7 +52,7 @@ export default class NoteMapRibbonWidget extends NoteContextAwareWidget {
 | 
				
			|||||||
        return {
 | 
					        return {
 | 
				
			||||||
            show: this.isEnabled(),
 | 
					            show: this.isEnabled(),
 | 
				
			||||||
            title: t("note_map.title"),
 | 
					            title: t("note_map.title"),
 | 
				
			||||||
            icon: 'bx bxl-graphql'
 | 
					            icon: 'bx bxs-network-chart'
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -222,7 +222,7 @@ const HIDDEN_SUBTREE_DEFINITION: Item = {
 | 
				
			|||||||
                        { id: '_lbJumpTo', title: 'Jump to Note', type: 'launcher', command: 'jumpToNote', icon: 'bx bx-send', attributes: [
 | 
					                        { id: '_lbJumpTo', title: 'Jump to Note', type: 'launcher', command: 'jumpToNote', icon: 'bx bx-send', attributes: [
 | 
				
			||||||
                                { type: 'label', name: 'desktopOnly' }
 | 
					                                { type: 'label', name: 'desktopOnly' }
 | 
				
			||||||
                            ] },
 | 
					                            ] },
 | 
				
			||||||
                        { id: '_lbNoteMap', title: 'Note Map', type: 'launcher', targetNoteId: '_globalNoteMap', icon: 'bx bxl-graphql' },
 | 
					                        { id: '_lbNoteMap', title: 'Note Map', type: 'launcher', targetNoteId: '_globalNoteMap', icon: 'bx bxs-network-chart' },
 | 
				
			||||||
                        { id: '_lbCalendar', title: 'Calendar', type: 'launcher', builtinWidget: 'calendar', icon: 'bx bx-calendar' },
 | 
					                        { id: '_lbCalendar', title: 'Calendar', type: 'launcher', builtinWidget: 'calendar', icon: 'bx bx-calendar' },
 | 
				
			||||||
                        { id: '_lbRecentChanges', title: 'Recent Changes', type: 'launcher', command: 'showRecentChanges', icon: 'bx bx-history', attributes: [
 | 
					                        { id: '_lbRecentChanges', title: 'Recent Changes', type: 'launcher', command: 'showRecentChanges', icon: 'bx bx-history', attributes: [
 | 
				
			||||||
                                { type: 'label', name: 'desktopOnly' }
 | 
					                                { type: 'label', name: 'desktopOnly' }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user