bx-map-alt->bxl-graphql

This commit is contained in:
SiriusXT 2024-09-05 15:24:37 +08:00
parent 490ae1c9fd
commit 89e073bf28
5 changed files with 8 additions and 8 deletions

View File

@ -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 bxl-graphql",
"book": "bx bx-book", "book": "bx bx-book",
"noteMap": "bx bx-map-alt", "noteMap": "bx bxl-graphql",
"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",

View File

@ -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 bxl-graphql",
"book": "bx bx-book", "book": "bx bx-book",
"noteMap": "bx bx-map-alt", "noteMap": "bx bxl-graphql",
"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",

View File

@ -6,8 +6,8 @@ async function getNoteTypeItems(command) {
{ title: "Text", command: command, type: "text", uiIcon: "bx bx-note" }, { title: "Text", command: command, type: "text", uiIcon: "bx bx-note" },
{ title: "Code", command: command, type: "code", uiIcon: "bx bx-code" }, { title: "Code", command: command, type: "code", uiIcon: "bx bx-code" },
{ title: "Saved Search", command: command, type: "search", uiIcon: "bx bx-file-find" }, { title: "Saved Search", command: command, type: "search", uiIcon: "bx bx-file-find" },
{ title: "Relation Map", command: command, type: "relationMap", uiIcon: "bx bx-map-alt" }, { title: "Relation Map", command: command, type: "relationMap", uiIcon: "bx bxl-graphql" },
{ title: "Note Map", command: command, type: "noteMap", uiIcon: "bx bx-map-alt" }, { title: "Note Map", command: command, type: "noteMap", uiIcon: "bx bxl-graphql" },
{ title: "Render Note", command: command, type: "render", uiIcon: "bx bx-extension" }, { title: "Render Note", command: command, type: "render", uiIcon: "bx bx-extension" },
{ title: "Book", command: command, type: "book", uiIcon: "bx bx-book" }, { title: "Book", command: command, type: "book", uiIcon: "bx bx-book" },
{ title: "Mermaid Diagram", command: command, type: "mermaid", uiIcon: "bx bx-selection" }, { title: "Mermaid Diagram", command: command, type: "mermaid", uiIcon: "bx bx-selection" },

View File

@ -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 bx-map-alt' icon: 'bx bxl-graphql'
}; };
} }

View File

@ -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 bx-map-alt' }, { id: '_lbNoteMap', title: 'Note Map', type: 'launcher', targetNoteId: '_globalNoteMap', icon: 'bx bxl-graphql' },
{ 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' }