Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): address a few requested changes

Elian Dorana72cec0494b8
diff --git a/apps/client/src/services/content_renderer_text.ts b/apps/client/src/services/content_renderer_text.ts
index 090aa7f03c..e72f9e178b 100644
--- a/apps/client/src/services/content_renderer_text.ts
+++ b/apps/client/src/services/content_renderer_text.ts
@@ -83,8 +83,6 @@ async function renderIncludedNotes(contentEl: HTMLElement, seenNoteIds: Set<stri
seenNoteIds
})).$renderedContent;
includeNoteEl.replaceChildren(...renderedContent);
-
- seenNoteIds.add(noteId);
}
}
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index f2ecc8f329..d9642e92f2 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -1776,7 +1776,8 @@
"clone-indicator-tooltip-single": "This note is cloned (1 additional parent: {{- parent}})",
"shared-indicator-tooltip": "This note is shared publicly",
"shared-indicator-tooltip-with-url": "This note is shared publicly at: {{- url}}",
- "subtree-hidden-tooltip": "{{count}} child notes that are hidden from the tree",
+ "subtree-hidden-tooltip_one": "{{count}} child note that is hidden from the tree",
+ "subtree-hidden-tooltip_other": "{{count}} child notes that are hidden from the tree",
"subtree-hidden-moved-title": "Added to {{title}}",
"subtree-hidden-moved-description-collection": "This collection hides its child notes in the tree.",
"subtree-hidden-moved-description-other": "Child notes are hidden in the tree for this note."
diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.ts
index c7078b8746..e0034ff226 100644
--- a/apps/client/src/widgets/note_tree.ts
+++ b/apps/client/src/widgets/note_tree.ts
@@ -1118,12 +1118,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
if (oldActiveNode) {
oldActiveNodeFocused = oldActiveNode.hasFocus();
-
- if (this.spotlightedNode === oldActiveNode) {
- this.spotlightedNode.remove();
- this.spotlightedNode = null;
- this.spotlightedNotePath = null;
- }
oldActiveNode.setActive(false);
oldActiveNode.setFocus(false);
}