Add wiki-style link resolution, backlinks UI, and notes relationship graph widget#801
Merged
multiplex55 merged 4 commits intomasterfrom Feb 7, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
[[...]]wiki references that resolve to notes by alias, title or slug and provide sensible disambiguation when titles are duplicated.Description
src/plugins/note.rsby addingNoteTargetandWikiReference, parsers (parse_wiki_references,resolve_wiki_references,resolve_target) and helpers (resolve_note_query,note_backlinks,note_refs_for,note_relationship_edges) and changedNoteCache::from_notesto build backlinks from resolved targets; this preserves aliases and supportsslug:andpath:disambiguation.Ambiguousinstead of silently picking a target and addedBrokenhandling for missing targets.src/gui/note_panel.rsby rewritingpreprocess_note_linksto prefer resolved targets, adding a Backlinks row with click-to-open behavior, and updatingshow_wiki_linkto render broken links (red) and ambiguous links (yellow) with user guidance to useslug:/path:disambiguation.notes_graph(src/dashboard/widgets/notes_graph.rs) and registered it in the widget registry, rendering a simple node/edge diagram of note relationships and exposing clickable note links.src/plugins/note.rsexercising duplicate-title disambiguation and backlink index construction from resolved wiki links, and updated code paths that use the new resolution logic.Testing
cargo fmtsuccessfully to ensure formatting changes were applied.cargo check -qand targetedcargo testfor the modified note tests, but the build/test run was blocked in this environment by a missing system dependency (alsa.pc) required byalsa-sys, so those checks could not complete here.Codex Task