Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(client): mark spreadsheet and markdown as new note types
Elian Doran3f39e6f7f125
diff --git a/apps/client/src/services/note_types.ts b/apps/client/src/services/note_types.tsindex cefd863ca8..e12e3c5440 100644--- a/apps/client/src/services/note_types.ts+++ b/apps/client/src/services/note_types.ts@@ -27,7 +27,7 @@ export const NOTE_TYPES: NoteTypeMapping[] = [// The default note type (always the first item){ type: "text", mime: "text/html", title: t("note_types.text"), icon: "bx-note" },- { type: "spreadsheet", mime: "application/json", title: t("note_types.spreadsheet"), icon: "bx-table", isBeta: true },+ { type: "spreadsheet", mime: "application/json", title: t("note_types.spreadsheet"), icon: "bx-table", isBeta: true, isNew: true },// Text notes group{ type: "book", mime: "", title: t("note_types.book"), icon: "bx-book" },@@ -49,7 +49,7 @@ export const NOTE_TYPES: NoteTypeMapping[] = [// Code notes{ type: "code", mime: "text/plain", title: t("note_types.code"), icon: "bx-code" },- { type: "code", mime: "text/x-markdown", title: t("note_types.markdown"), icon: "bxl-markdown" },+ { type: "code", mime: "text/x-markdown", title: t("note_types.markdown"), icon: "bxl-markdown", isNew: true },// Reserved types (cannot be created by the user){ type: "contentWidget", mime: "", title: t("note_types.widget"), reserved: true },