Commit Graph
12 Commits
Author SHA1 Message Date
dasemuandClaude Opus 5.5 381e9044c4 feat(ffi): type icon API and page types in list DTOs
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>
2026-10-26 06:37:33 +01:00
dasemuandClaude Opus 5.5 141e1a20d0 feat(app): clean up also offers every empty page, with select all/none
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 04:11:27 +01:00
dasemuandClaude Opus 5.5 ad62a7d258 feat(graph): a hub stands for its implicit tag, no separate tag node beside it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 04:11:27 +01:00
dasemuandClaude Opus 5.5 b44cbee038 feat(app): quick switcher also finds pages by block content
BlockHit carries the page id so a hit opens its page (journals included).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 04:02:21 +01:00
dasemuandClaude Opus 5.5 0005a8e7a4 feat(ffi): virtual tag nodes, single page type, rename and remove tag
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 03:33:17 +01:00
dasemuandClaude Opus 5.5 adbbc45a56 chore: rebrand remaining Logseq references to Synapse
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>
2026-10-26 02:49:44 +01:00
dasemuandClaude Sonnet 5.5 b800248d67 feat(core): hubs, tag pages and types, with ffi, history and import support
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>
2026-10-26 02:45:22 +01:00
dasemuandClaude Opus 5.5 e43452f5af feat(graph): graph view with network, local, synapse, cluster and namespace modes
- 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>
2026-10-21 15:39:07 +02:00
dasemuandClaude Opus 5.5 268e152efc fix(ffi): atomic compound outline edits, validated anchors, shared graph
- 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>
2026-10-21 14:38:36 +02:00
dasemuandClaude Opus 5.5 30d58a0166 feat(core): nestable transactions, put_page and journals_before
Importer runs its write phase in one transaction (replaces the
synchronous=OFF workaround); the FFI journals feed uses journals_before
instead of walking back one day per query.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 14:04:26 +02:00
dasemuandClaude Opus 5.5 8c11d049fb fix(ffi): keep merged children in place and rename PageView to PageData
Merging a first child into its parent now gives its children the merged
block's slot instead of appending them after the parent's other children.
PageView clashed with Flutter's PageView widget in Dart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:52:59 +02:00
dasemuandClaude Opus 5.5 305428eaea feat(ffi): flutter_rust_bridge API over synapse-core
Opaque SynapseGraph handle (graph behind a mutex) with coarse-grained calls:
journals feed, page views, outline editing (insert, update, move, indent,
outdent, merge, delete), backlinks, aliases, rename, timeline, related,
record_visit, assets and a title/block search stopgap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:36:32 +02:00