From 89e073bf2817a19ebf3ec39846d776fed1c74953 Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Thu, 5 Sep 2024 15:24:37 +0800 Subject: [PATCH] bx-map-alt->bxl-graphql --- docs/frontend_api/entities_fnote.js.html | 4 ++-- src/public/app/entities/fnote.js | 4 ++-- src/public/app/services/note_types.js | 4 ++-- src/public/app/widgets/ribbon_widgets/note_map.js | 2 +- src/services/hidden_subtree.ts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/frontend_api/entities_fnote.js.html b/docs/frontend_api/entities_fnote.js.html index 617d42f10..e29371a09 100644 --- a/docs/frontend_api/entities_fnote.js.html +++ b/docs/frontend_api/entities_fnote.js.html @@ -42,9 +42,9 @@ const NOTE_TYPE_ICONS = { "code": "bx bx-code", "render": "bx bx-extension", "search": "bx bx-file-find", - "relationMap": "bx bx-map-alt", + "relationMap": "bx bxl-graphql", "book": "bx bx-book", - "noteMap": "bx bx-map-alt", + "noteMap": "bx bxl-graphql", "mermaid": "bx bx-selection", "canvas": "bx bx-pen", "webView": "bx bx-globe-alt", diff --git a/src/public/app/entities/fnote.js b/src/public/app/entities/fnote.js index 60acdbf29..0850c39f4 100644 --- a/src/public/app/entities/fnote.js +++ b/src/public/app/entities/fnote.js @@ -14,9 +14,9 @@ const NOTE_TYPE_ICONS = { "code": "bx bx-code", "render": "bx bx-extension", "search": "bx bx-file-find", - "relationMap": "bx bx-map-alt", + "relationMap": "bx bxl-graphql", "book": "bx bx-book", - "noteMap": "bx bx-map-alt", + "noteMap": "bx bxl-graphql", "mermaid": "bx bx-selection", "canvas": "bx bx-pen", "webView": "bx bx-globe-alt", diff --git a/src/public/app/services/note_types.js b/src/public/app/services/note_types.js index 73314245d..c04b0a9f1 100644 --- a/src/public/app/services/note_types.js +++ b/src/public/app/services/note_types.js @@ -6,8 +6,8 @@ async function getNoteTypeItems(command) { { title: "Text", command: command, type: "text", uiIcon: "bx bx-note" }, { title: "Code", command: command, type: "code", uiIcon: "bx bx-code" }, { 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: "Note Map", command: command, type: "noteMap", 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 bxl-graphql" }, { title: "Render Note", command: command, type: "render", uiIcon: "bx bx-extension" }, { title: "Book", command: command, type: "book", uiIcon: "bx bx-book" }, { title: "Mermaid Diagram", command: command, type: "mermaid", uiIcon: "bx bx-selection" }, diff --git a/src/public/app/widgets/ribbon_widgets/note_map.js b/src/public/app/widgets/ribbon_widgets/note_map.js index b180190b9..25850793c 100644 --- a/src/public/app/widgets/ribbon_widgets/note_map.js +++ b/src/public/app/widgets/ribbon_widgets/note_map.js @@ -52,7 +52,7 @@ export default class NoteMapRibbonWidget extends NoteContextAwareWidget { return { show: this.isEnabled(), title: t("note_map.title"), - icon: 'bx bx-map-alt' + icon: 'bx bxl-graphql' }; } diff --git a/src/services/hidden_subtree.ts b/src/services/hidden_subtree.ts index c2a943041..8d1219853 100644 --- a/src/services/hidden_subtree.ts +++ b/src/services/hidden_subtree.ts @@ -222,7 +222,7 @@ const HIDDEN_SUBTREE_DEFINITION: Item = { { id: '_lbJumpTo', title: 'Jump to Note', type: 'launcher', command: 'jumpToNote', icon: 'bx bx-send', attributes: [ { 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: '_lbRecentChanges', title: 'Recent Changes', type: 'launcher', command: 'showRecentChanges', icon: 'bx bx-history', attributes: [ { type: 'label', name: 'desktopOnly' }