Skip to content

Discourse Graph v1.8.0

Latest

Choose a tag to compare

@trangdoan982 trangdoan982 released this 26 Oct 21:47

Changelog

v1.8.0

Features

  • Create relations from the canvas: Dragging an arrow between two node types with no relation type now opens a menu with Add existing… and Create new. Picking or creating a type links it to that node-type pair and saves it.
  • Node card context menu for everyone: Selecting a node card on a canvas opens the tabbed context menu. The admin flag and the legacy floating "Relations" overlay are gone.
  • Candidate nodes in advanced search: With "Show candidate nodes" on, lines tagged with a node type's tag (e.g. #clm-candidate) appear in Advanced Node Search alongside real nodes, filtered by node type and opened at the tagged line.
  • Preview jumps to the match: Selecting a candidate result scrolls the preview to its tagged line and highlights it for about 3 seconds.
  • Links on canvas text shapes: Text shapes on the canvas can carry a link, and clicking it navigates.
  • Cross-space relations: Obsidian publishes relations across spaces, and imports a relation whose two ends are both in the vault even when a third space created it.
  • Unsupported format placeholders are rejected: The Format field in node type settings now blocks saving any placeholder other than {content} and names the offending ones.
  • New default Source format: The Source node type now defaults to @{content} instead of SRC - {content}.
  • Mobile support: The plugin now loads and runs on Obsidian mobile, though functionality and support might be limited. Desktop behaviour is unchanged.

Bug Fixes

  • Non-node results in advanced search: Advanced Node Search only lists notes whose node type is configured; the "Unknown type" row is gone.
  • Formats with regex characters: A format whose literal text contains ( ) * ^ $ | { } \, such as Claim (draft) - {content}, now matches its own titles.
  • Imported formats make valid filenames: A node type imported from a Roam schema stores [[CLM]] - {content} as CLM - {content}, so its files decorate correctly.
  • Import templates without a title: An imported node type whose template has no title now gets a template file named <node type> (from <source space>).
  • Relation sync grants: The sync pass now grants the relation type and triple when it publishes a relation.
  • Relation import provenance: Triples created by relation import record the source triple's RID, and existing bad triples are repaired.
  • Group management page error: Fixed the intermittent error message on the group management page.
  • Fewer query timeouts: Shared-node and content queries were sped up (my_concepts 78–326 ms → 30–41 ms; my_contents and friends 120–150 ms → 3–4 ms), so the plugin no longer times out on them.

Internal

  • Shared published-group check: getPublishedGroupIdsByRid returns the user's groups that can read an imported node.
  • Shared relation triple matching: The relation triple matching rule moved into packages/database.
  • View privileges: Revoked write privileges on the my_spaces and my_accounts views.
  • Tests: Added Roam/Obsidian round-trip tests and moved Obsidian import tests onto the existing YAML tooling.