From 7d4a7d4ab6dd67063095f765b8f7c2473ff1e092 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 4 Dec 2025 22:15:13 +0200 Subject: [PATCH 01/13] feat(dev): option to crash CKEditor --- apps/client/src/widgets/ribbon/NoteActions.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsx index 863867b7a..f1af3b20b 100644 --- a/apps/client/src/widgets/ribbon/NoteActions.tsx +++ b/apps/client/src/widgets/ribbon/NoteActions.tsx @@ -107,12 +107,12 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: Not - {glob.isDev && } + {glob.isDev && } ); } -function DevelopmentActions({ note }: { note: FNote }) { +function DevelopmentActions({ note, noteContext }: { note: FNote, noteContext?: NoteContext }) { return ( <> @@ -120,6 +120,16 @@ function DevelopmentActions({ note }: { note: FNote }) { icon="bx bx-printer" onClick={() => window.open(`/?print=#root/${note.noteId}`, "_blank")} >Open print page + {note.type === "text" && ( + { + noteContext?.getTextEditor(editor => { + editor.editing.view.change(() => { + throw new Error("Editor crashed."); + }); + }); + }}>Crash editor)} ) } From 3fd8fb03086d36d980a0061bc74a58a9a319969e Mon Sep 17 00:00:00 2001 From: "Francis C." Date: Wed, 3 Dec 2025 18:53:19 +0100 Subject: [PATCH 02/13] Translated using Weblate (Chinese (Traditional Han script)) Currently translated at 100.0% (1636 of 1636 strings) Translation: Trilium Notes/Client Translate-URL: https://hosted.weblate.org/projects/trilium/client/zh_Hant/ --- apps/client/src/translations/tw/translation.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/translations/tw/translation.json b/apps/client/src/translations/tw/translation.json index f93e87e45..7a8956e2d 100644 --- a/apps/client/src/translations/tw/translation.json +++ b/apps/client/src/translations/tw/translation.json @@ -734,7 +734,8 @@ }, "zpetne_odkazy": { "relation": "關聯", - "backlink_one": "{{count}} 個反連結" + "backlink_one": "{{count}} 個反連結", + "backlink_other": "" }, "mobile_detail_menu": { "insert_child_note": "插入子筆記", From a6df457c9c5e66ecba47f2b86807b5e294a14fad Mon Sep 17 00:00:00 2001 From: noobhjy Date: Thu, 4 Dec 2025 13:20:28 +0100 Subject: [PATCH 03/13] Translated using Weblate (Chinese (Traditional Han script)) Currently translated at 100.0% (1636 of 1636 strings) Translation: Trilium Notes/Client Translate-URL: https://hosted.weblate.org/projects/trilium/client/zh_Hant/ --- apps/client/src/translations/tw/translation.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/client/src/translations/tw/translation.json b/apps/client/src/translations/tw/translation.json index 7a8956e2d..6f09a5860 100644 --- a/apps/client/src/translations/tw/translation.json +++ b/apps/client/src/translations/tw/translation.json @@ -1429,7 +1429,7 @@ "import-into-note": "匯入至筆記", "apply-bulk-actions": "套用批次操作", "converted-to-attachments": "{{count}} 個筆記已被轉換為附件。", - "convert-to-attachment-confirm": "確定要將所選的筆記轉換為其父級筆記的附件嗎?", + "convert-to-attachment-confirm": "確定要將所選的筆記轉換為其父級筆記的附件嗎?此操作僅適用於圖像筆記,其他筆記將被跳過。", "duplicate": "複製副本", "open-in-popup": "快速編輯", "archive": "封存", @@ -1674,7 +1674,8 @@ "open_note_in_new_tab": "在新分頁中打開筆記", "open_note_in_new_split": "在新頁面分割中打開筆記", "open_note_in_new_window": "在新視窗中打開筆記", - "open_note_in_popup": "快速編輯" + "open_note_in_popup": "快速編輯", + "open_note_in_other_split": "在另一個頁面分割中打開筆記" }, "zen_mode": { "button_exit": "退出禪模式" From 60c40457fc0defff078116f8bb8078a38f95a1fe Mon Sep 17 00:00:00 2001 From: noobhjy Date: Thu, 4 Dec 2025 13:17:31 +0100 Subject: [PATCH 04/13] Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 100.0% (1636 of 1636 strings) Translation: Trilium Notes/Client Translate-URL: https://hosted.weblate.org/projects/trilium/client/zh_Hans/ --- apps/client/src/translations/cn/translation.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/client/src/translations/cn/translation.json b/apps/client/src/translations/cn/translation.json index 3b5ca6e2b..f125d821a 100644 --- a/apps/client/src/translations/cn/translation.json +++ b/apps/client/src/translations/cn/translation.json @@ -1469,7 +1469,7 @@ "import-into-note": "导入到笔记", "apply-bulk-actions": "应用批量操作", "converted-to-attachments": "{{count}} 个笔记已被转换为附件。", - "convert-to-attachment-confirm": "确定要将选中的笔记转换为其父笔记的附件吗?", + "convert-to-attachment-confirm": "确定要将选中的笔记转换为其父笔记的附件吗?此操作仅适用于图像笔记,其他笔记将被跳过。", "duplicate": "复制", "open-in-popup": "快速编辑", "archive": "归档", @@ -1714,7 +1714,8 @@ "open_note_in_new_tab": "在新标签页中打开笔记", "open_note_in_new_split": "在新分屏中打开笔记", "open_note_in_new_window": "在新窗口中打开笔记", - "open_note_in_popup": "快速编辑" + "open_note_in_popup": "快速编辑", + "open_note_in_other_split": "在另一个分屏中打开笔记" }, "electron_integration": { "desktop-application": "桌面应用程序", From adb30a526e4178300e662966401e21a8954a4e46 Mon Sep 17 00:00:00 2001 From: green Date: Thu, 4 Dec 2025 02:34:36 +0100 Subject: [PATCH 05/13] Translated using Weblate (Japanese) Currently translated at 100.0% (1636 of 1636 strings) Translation: Trilium Notes/Client Translate-URL: https://hosted.weblate.org/projects/trilium/client/ja/ --- apps/client/src/translations/ja/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/translations/ja/translation.json b/apps/client/src/translations/ja/translation.json index e5a96dcd1..dfbec1e44 100644 --- a/apps/client/src/translations/ja/translation.json +++ b/apps/client/src/translations/ja/translation.json @@ -421,7 +421,7 @@ "apply-bulk-actions": "一括操作の適用", "converted-to-attachments": "{{count}}ノートが添付ファイルに変換されました。", "convert-to-attachment": "添付ファイルに変換", - "convert-to-attachment-confirm": "選択したノートを親ノートの添付ファイルに変換しますか?", + "convert-to-attachment-confirm": "選択したノートを親ノートの添付ファイルに変換してもよろしいですか?この操作は画像ノートにのみ適用され、その他のノートはスキップされます。", "open-in-popup": "クイック編集", "hoist-note": "ホイストノート", "unhoist-note": "ノートをホイストしない", From baee9520d1186b51c5a4b9303a7be582c43d6906 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 4 Dec 2025 22:32:08 +0200 Subject: [PATCH 06/13] Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- apps/client/src/translations/tw/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/translations/tw/translation.json b/apps/client/src/translations/tw/translation.json index 6f09a5860..5d08ee998 100644 --- a/apps/client/src/translations/tw/translation.json +++ b/apps/client/src/translations/tw/translation.json @@ -735,7 +735,7 @@ "zpetne_odkazy": { "relation": "關聯", "backlink_one": "{{count}} 個反連結", - "backlink_other": "" + "backlink_other": "{{count}} 個反連結" }, "mobile_detail_menu": { "insert_child_note": "插入子筆記", From d99ef78348f5f36af914b0c1a0cdd52bb3d04a78 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 4 Dec 2025 22:56:15 +0200 Subject: [PATCH 07/13] fix(client): find and replace in floating toolbar --- apps/client/src/widgets/type_widgets/text/toolbar.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/client/src/widgets/type_widgets/text/toolbar.ts b/apps/client/src/widgets/type_widgets/text/toolbar.ts index 31c736ceb..ae008d43d 100644 --- a/apps/client/src/widgets/type_widgets/text/toolbar.ts +++ b/apps/client/src/widgets/type_widgets/text/toolbar.ts @@ -144,8 +144,7 @@ export function buildFloatingToolbar() { "imageUpload", "markdownImport", "specialCharacters", - "emoji", - "findAndReplace" + "emoji" ] }; } From cebfa674ef79d8ac121f5b94fa5cfbaa0bc63b55 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Thu, 4 Dec 2025 21:56:37 +0100 Subject: [PATCH 08/13] Update translation files Updated by "Cleanup translation files" add-on in Weblate. Translation: Trilium Notes/README Translate-URL: https://hosted.weblate.org/projects/trilium/readme/ --- docs/README-fa.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README-fa.md b/docs/README-fa.md index 59e9d84c8..957598c80 100644 --- a/docs/README-fa.md +++ b/docs/README-fa.md @@ -75,8 +75,8 @@ quick overview: * Note [attributes](https://triliumnext.github.io/Docs/Wiki/attributes) can be used for note organization, querying and advanced [scripting](https://triliumnext.github.io/Docs/Wiki/scripts) -* UI available in English, German, Spanish, French, Romanian, and Chinese - (simplified and traditional) +* محیط کاربری به زبان‌های انگیلیسی، آلمانی، اسپانیایی، فرانسوی، رومانیایی، و + چینی (ساده‌شده و سنتی) * Direct [OpenID and TOTP integration](./docs/User%20Guide/User%20Guide/Installation%20%26%20Setup/Server%20Installation/Multi-Factor%20Authentication.md) for more secure login From eec6f7336cd987cdb1fc98dc99b0ac58b38c26fa Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Fri, 5 Dec 2025 11:21:33 +0800 Subject: [PATCH 09/13] fix (note_map): map overflows when switching map type in ribbon --- apps/client/src/widgets/note_map/NoteMap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/note_map/NoteMap.tsx b/apps/client/src/widgets/note_map/NoteMap.tsx index 1c503c363..4e466a563 100644 --- a/apps/client/src/widgets/note_map/NoteMap.tsx +++ b/apps/client/src/widgets/note_map/NoteMap.tsx @@ -101,7 +101,7 @@ export default function NoteMap({ note, widgetMode, parentRef }: NoteMapProps) { useEffect(() => { if (!containerSize || !graphRef.current) return; graphRef.current.width(containerSize.width).height(containerSize.height); - }, [ containerSize?.width, containerSize?.height ]); + }, [ containerSize?.width, containerSize?.height, mapType ]); // Fixing nodes when dragged. useEffect(() => { From 85b4f652f454d2d5f3292008e5f40585036f0e1a Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Fri, 5 Dec 2025 11:21:44 +0800 Subject: [PATCH 10/13] chore(note_map): improve the icon for expanding/collapsing the map --- apps/client/src/widgets/ribbon/NoteMapTab.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/ribbon/NoteMapTab.tsx b/apps/client/src/widgets/ribbon/NoteMapTab.tsx index ec7f4a749..c803dfa02 100644 --- a/apps/client/src/widgets/ribbon/NoteMapTab.tsx +++ b/apps/client/src/widgets/ribbon/NoteMapTab.tsx @@ -29,14 +29,14 @@ export default function NoteMapTab({ note }: TabContext) { {!isExpanded ? ( setExpanded(true)} /> ) : ( setExpanded(false)} From 2d33b8a9586ae10b4eacf97201348f56b7782b51 Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Fri, 5 Dec 2025 15:21:06 +0800 Subject: [PATCH 11/13] fix(note_map): initialize map state when switching map type in ribbon --- apps/client/src/widgets/note_map/NoteMap.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/note_map/NoteMap.tsx b/apps/client/src/widgets/note_map/NoteMap.tsx index 4e466a563..12e15202d 100644 --- a/apps/client/src/widgets/note_map/NoteMap.tsx +++ b/apps/client/src/widgets/note_map/NoteMap.tsx @@ -95,7 +95,7 @@ export default function NoteMap({ note, widgetMode, parentRef }: NoteMapProps) { if (!graphRef.current || !notesAndRelationsRef.current) return; graphRef.current.d3Force("link")?.distance(linkDistance); graphRef.current.graphData(notesAndRelationsRef.current); - }, [ linkDistance ]); + }, [ linkDistance, mapType ]); // React to container size useEffect(() => { @@ -114,7 +114,7 @@ export default function NoteMap({ note, widgetMode, parentRef }: NoteMapProps) { node.fy = undefined; } }) - }, [ fixNodes ]); + }, [ fixNodes, mapType ]); return (
From 9fcee9cc53044c8cdb158ccf0205c3bd3e1dc41c Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 5 Dec 2025 11:59:08 +0200 Subject: [PATCH 12/13] Fix (NoteMap): map overflows when switching type in ribbon (#7939) --- apps/client/src/widgets/note_map/NoteMap.tsx | 6 +++--- apps/client/src/widgets/ribbon/NoteMapTab.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/client/src/widgets/note_map/NoteMap.tsx b/apps/client/src/widgets/note_map/NoteMap.tsx index 1c503c363..12e15202d 100644 --- a/apps/client/src/widgets/note_map/NoteMap.tsx +++ b/apps/client/src/widgets/note_map/NoteMap.tsx @@ -95,13 +95,13 @@ export default function NoteMap({ note, widgetMode, parentRef }: NoteMapProps) { if (!graphRef.current || !notesAndRelationsRef.current) return; graphRef.current.d3Force("link")?.distance(linkDistance); graphRef.current.graphData(notesAndRelationsRef.current); - }, [ linkDistance ]); + }, [ linkDistance, mapType ]); // React to container size useEffect(() => { if (!containerSize || !graphRef.current) return; graphRef.current.width(containerSize.width).height(containerSize.height); - }, [ containerSize?.width, containerSize?.height ]); + }, [ containerSize?.width, containerSize?.height, mapType ]); // Fixing nodes when dragged. useEffect(() => { @@ -114,7 +114,7 @@ export default function NoteMap({ note, widgetMode, parentRef }: NoteMapProps) { node.fy = undefined; } }) - }, [ fixNodes ]); + }, [ fixNodes, mapType ]); return (
diff --git a/apps/client/src/widgets/ribbon/NoteMapTab.tsx b/apps/client/src/widgets/ribbon/NoteMapTab.tsx index ec7f4a749..c803dfa02 100644 --- a/apps/client/src/widgets/ribbon/NoteMapTab.tsx +++ b/apps/client/src/widgets/ribbon/NoteMapTab.tsx @@ -29,14 +29,14 @@ export default function NoteMapTab({ note }: TabContext) { {!isExpanded ? ( setExpanded(true)} /> ) : ( setExpanded(false)} From 982fb212e431cd09e2acd07240e09bd793e62440 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 5 Dec 2025 12:19:12 +0200 Subject: [PATCH 13/13] docs(release): update change log for #7939 --- docs/Release Notes/!!!meta.json | 2 +- docs/Release Notes/Release Notes/v0.100.0.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Release Notes/!!!meta.json b/docs/Release Notes/!!!meta.json index 9d2190fcd..0f4246575 100644 --- a/docs/Release Notes/!!!meta.json +++ b/docs/Release Notes/!!!meta.json @@ -1,6 +1,6 @@ { "formatVersion": 2, - "appVersion": "0.99.5", + "appVersion": "0.100.0", "files": [ { "isClone": false, diff --git a/docs/Release Notes/Release Notes/v0.100.0.md b/docs/Release Notes/Release Notes/v0.100.0.md index 8626db6ac..2c4023cbf 100644 --- a/docs/Release Notes/Release Notes/v0.100.0.md +++ b/docs/Release Notes/Release Notes/v0.100.0.md @@ -85,6 +85,7 @@ * Switching an existing note (with children) to mindmap type will still display preview cards for its children. * Clarify converting notes to attachments in tree context menu (better message, disable option when not supported). * Note actions: some menu items disabled when switching note type. +* [Note map: map overflows when switching type in ribbon](https://github.com/TriliumNext/Trilium/pull/7939) by @SiriusXT ## ✨ Improvements