Local graph panel on the page editor #113
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#113
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Besides the pond-wide view, the currently open page gets a small neighborhood graph (direct neighbors, optionally two hops) as a side panel next to the existing Labels/History/Backlinks panels.
Scope
GET /ponds/:id/linksresponse (BFS; no extra endpoint — ponds are small and the query is cached).editor-page__panelscolumn ofapps/web/src/pages/PageEditorPage.tsx(pattern:apps/web/src/links/BacklinksPanel.tsx), collapsible like the other panels; hop-depth toggle (1/2); the current page visually distinct (e.g. ring); phantoms included dashed.graphnamespace.Acceptance criteria
Technical notes
Dependencies
Requires #112.
Size
~1 day.
Implemented in
a72cb1b. A collapsible "Local graph" panel joins the backlinks below the content in read mode: the current page (highlight ring) with its wikilink neighborhood, switchable between one and two hops — computed client-side by BFS over the cached pond-wide graph query (shared with #112, no second endpoint). Phantoms render dashed, clicks navigate, link-less pages show no panel.