Skip to content

feat: open note on graph node click - #8

Open
mio-g wants to merge 2 commits into
cyberSapoPerro:mainfrom
mio-g:note-title-links
Open

feat: open note on graph node click#8
mio-g wants to merge 2 commits into
cyberSapoPerro:mainfrom
mio-g:note-title-links

Conversation

@mio-g

@mio-g mio-g commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

This PR makes note nodes in the generated interactive graph clickable, opening the corresponding note file in a new browser tab.

Changes:

  • Attach noteUrl (absolute file:// URL) to each note node.
  • Inject a vis.js click handler that calls window.open(node.noteUrl, "_blank").
  • Render note titles in link blue (#0066cc) to indicate clickability.
  • Tag nodes remain plain and non-clickable.
  • Add regression test covering note and tag node behavior.

Tested with uv run pytest -q (8 passed).

mio-g added 2 commits August 16, 2026 12:31
Attach a noteUrl to each note node and inject a vis.js click handler that opens the note file in a new browser tab. Render note titles in link blue to indicate clickability.

Closes note-title-links mission.
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