chore(client): address a few requested changes

This commit is contained in:
Elian Doran 2026-01-10 13:06:13 +02:00
parent cb02198c6f
commit a72cec0494
No known key found for this signature in database
3 changed files with 2 additions and 9 deletions

View File

@ -83,8 +83,6 @@ async function renderIncludedNotes(contentEl: HTMLElement, seenNoteIds: Set<stri
seenNoteIds
})).$renderedContent;
includeNoteEl.replaceChildren(...renderedContent);
seenNoteIds.add(noteId);
}
}

View File

@ -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."

View File

@ -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);
}