Feat v0.4.7 note graph
All checks were successful
CI/CD / detect-changes (pull_request) Successful in 22s
CI/CD / test-frontend (pull_request) Successful in 5s
CI/CD / test-go-pg (pull_request) Successful in 2m48s
CI/CD / test-sqlite (pull_request) Successful in 3m5s
CI/CD / build-and-deploy (pull_request) Successful in 2m29s
All checks were successful
CI/CD / detect-changes (pull_request) Successful in 22s
CI/CD / test-frontend (pull_request) Successful in 5s
CI/CD / test-go-pg (pull_request) Successful in 2m48s
CI/CD / test-sqlite (pull_request) Successful in 3m5s
CI/CD / build-and-deploy (pull_request) Successful in 2m29s
Canvas force-directed graph view for notes surface. GET /graph API endpoint returns all non-archived notes as nodes (with tags) and resolved wikilinks as edges. Force simulation with repulsion, attraction, and center gravity. Click focus dims unconnected nodes, shift+click chains neighborhoods, double-click opens note. Hover tooltips show title, tags, and connection count. Nodes colored by folder (10-color palette), tag filter dims non-matching. Orphan nodes shown with dashed stroke and hide toggle. Zoom/pan via scroll wheel and mouse drag. Retina-aware canvas rendering with CSS variable resolution via getComputedStyle. Notes package 0.7.0 → 0.8.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
33
CHANGELOG.md
33
CHANGELOG.md
@@ -2,6 +2,39 @@
|
||||
|
||||
All notable changes to Switchboard Core are documented here.
|
||||
|
||||
## v0.4.7 — Note Graph
|
||||
|
||||
### Added
|
||||
|
||||
- **Graph API**: `GET /graph` endpoint returns all non-archived notes as nodes
|
||||
and resolved wikilinks as edges in a single payload. Nodes include id, title,
|
||||
folder_id, and tags. Edges include source, target, and link text.
|
||||
- **Graph view**: Canvas-based force-directed graph visualization replaces the
|
||||
editor pane when "Graph" button is clicked in the topbar. Force simulation
|
||||
uses repulsion (all pairs), attraction (edges), and center gravity with
|
||||
velocity damping. Supports zoom (scroll wheel) and pan (mouse drag).
|
||||
- **Click focus**: Single-click a node to dim unconnected nodes/edges to 15%
|
||||
opacity; clicked node and direct neighbors stay at full brightness. Edges
|
||||
between focused nodes highlighted. Click empty space to reset.
|
||||
- **Shift+click chain**: Hold shift and click a second node to union both
|
||||
neighborhoods — trace thought paths across two hops.
|
||||
- **Double-click open**: Double-click a graph node to navigate to that note in
|
||||
the editor. Graph view closes, editor opens with the selected note.
|
||||
- **Hover tooltips**: Hovering a node shows title, tag pills, and connection
|
||||
count in an HTML overlay (no additional API calls).
|
||||
- **Folder coloring**: Nodes colored by folder using a 10-color palette.
|
||||
Unfiled notes shown in gray.
|
||||
- **Tag filter integration**: Active tag filter dims non-matching nodes to 30%
|
||||
opacity, stacking with click focus.
|
||||
- **Orphan highlighting**: Notes with zero connections shown with dashed stroke.
|
||||
"Hide orphans" checkbox in toolbar to toggle visibility.
|
||||
|
||||
### Changed
|
||||
|
||||
- Notes package version bumped from 0.7.0 to 0.8.0.
|
||||
- Topbar gains a "Graph" toggle button alongside "New Note" and "Import .md".
|
||||
|
||||
|
||||
## v0.4.6 — Sidebar Restructure
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user