loadTypeIcons logs failures, only notifies on change and bumps iconsVersion;
every generation bump reloads it. The tree re-resolves label icons when
iconsVersion changes, without re-running the layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Page header, All pages, quick switcher, recents, tabs, hub members, tag view,
linked references, related pages, type pill and the tree view; not the network
graph.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sidebar entry and tab route. Types: emoji, count, create, rename, delete.
Tags: count and sources; explicit tags can be renamed or deleted, hub and
type tags are locked with an explanation. AppState caches type icons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
create_type, set_type_icon, rename_type and remove_type; TagDto carries the
icon and tag sources; PageBrief, TitleHit, BacklinkGroup and GraphNode
carry the page type. Bindings regenerated; MemoryBackend mirrors the core.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Members of a hub are indexed under the hub's title in page_tags, tag_catalog and the
graph tag nodes, merged with a same-name type or tag. Hub rename, delete and
membership changes re-index the derived index (no ops). Schema v7 rebuilds it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Describe Synapse's own Markdown dialect, export format and editor behaviour
as Synapse's, rename Logseq-named history test identifiers, and set the
app label/window titles to Synapse. The importer keeps its Logseq naming.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings screen (themes incl. Sweet, rebindable shortcuts), rich text escapes,
page sidebar with the local graph, sortable All pages, tree view changes and the
Type/Tags rows in the page header. Docs updated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Hubs and templates are page kinds; tags are pages of kind tag linked by a TAGGED
edge; types are plain names on the page. Schema v5. Snapshots carry
synapse-kind/tags/types. Also adapts search, import and server tests.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- synapse-ffi: graph_data() returns the whole page-level graph (links, tags,
property refs, block refs/embeds per page, unlinked mentions, decayed
synapses) as parallel arrays with degree, backlinks, Louvain clusters and
primary tags; cached by op seq, synapse state and hour.
- synapse-ffi: ForceLayout, a Barnes-Hut force layout stepped from Dart on a
Rust worker thread (pin/unpin for dragging, reheat).
- app: Graph view with a mode selector (Network, Local, Synapses, Clusters,
Namespaces, Timeline), filters (title, tag, date range, min links,
orphans, journals, mentions), pan/zoom, node drag, hover highlighting,
activation pulse, cluster hulls, radial namespace/tag tree, and a local
graph panel on every page. Edges render as one vertex mesh, nodes in
colour/size batches, culled to the viewport.
- Tests: Rust extraction/mentions/cache/clusters/layout; widget tests for
mode switching, filters and layout restarts; a real-app integration
smoke test with frame timings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- indent, outdent and merge run in one Graph::transaction, so a failure
part-way no longer duplicates merged text or strands siblings.
- Placements check that the anchor block exists and is on the target page.
- SynapseGraph holds Arc<Mutex<Graph>> and exposes shared() (not bridged)
for the sync client.
- docs: rustup's cargo must come first in PATH; sync wording.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Page and journal views read through the write queue after the previous
view's pending saves, so they never load stale text.
- A failed write reloads the current view and shows a message instead of
leaving blocks on temporary ids; inserts also trigger reconciliation.
- Completion replaces the query range, not up to the caret, and closes
when the caret moves away.
- Renaming a page reloads it so rewritten links are not overwritten.
- Dropping below an expanded parent lands as its first child, where the
indicator is drawn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Logseq-like outliner (render/edit Markdown per block, Enter/Tab/Shift-Tab,
backspace merge, arrow navigation, drag to reorder, collapse, [[ # ((
autocomplete, TODO/DONE), journals feed with prev/next links, page view with
linked references and related panel, virtualised CustomPainter timeline,
Ctrl+K quick switcher, sidebar with recents, light/dark theme with bundled
Inter, Noto Serif and Source Code Pro. Edits are optimistic and serialised
to the core through one write queue. Cargokit builds synapse-ffi; its build
tool is patched to use the library name (synapse_ffi) of hyphenated crates.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>