Skip to content

feat(notes): add wiki-style internal links for notes and snippets#721

Merged
antonreshetov merged 22 commits intomainfrom
feat/internal-links-2
Apr 3, 2026
Merged

feat(notes): add wiki-style internal links for notes and snippets#721
antonreshetov merged 22 commits intomainfrom
feat/internal-links-2

Conversation

@antonreshetov
Copy link
Copy Markdown
Member

No description provided.

Preview popover now only appears on Cmd+hover (macOS) or Ctrl+hover
(Win/Linux) instead of plain hover. Supports both hover-then-press
and press-then-hover via document-level key listeners.
The hideMarkup extension was hiding inner brackets of [[Target]] when
the cursor entered from the left, causing a two-step reveal instead
of showing all brackets at once.
…l links

Deep link navigation to code space caused flickering because Library.vue's
initApp() raced with openSnippetDeepLink(), briefly showing the previous
selection before the target. Now openSnippetDeepLink() sets
pendingCodeNavigation and isAppLoading before the route change, Library.vue
skips its init when pending, and deep link handles all data loading with
a fallback to default initCodeSpace() on error.
After navigating to a snippet and returning to notes, the preview
could render at (0,0) because hoveredLink retained a reference to a
detached DOM element. Now destroy() always clears hoveredLink, and
showPreview() checks target.isConnected before reading position.
@antonreshetov antonreshetov merged commit c6b9562 into main Apr 3, 2026
@antonreshetov antonreshetov deleted the feat/internal-links-2 branch April 3, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant