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>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-26 02:49:44 +01:00
1 parent c4e9b79fa6
commit adbbc45a56
24 files changed
+31 -31

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
//! Deterministic Logseq-compatible Markdown export of pages.
//! Deterministic Markdown export of pages.
//!
//! Layout: `pages/<encoded title>.md`, `journals/YYYY_MM_DD.md`, `assets.json`.
//! A page file starts with page properties (`key:: value`, aliases as `alias:: a, b`),
@@ -26,7 +26,7 @@ pub const TAGS_PROP: &str = "synapse-tags";
/// Page property with the type names (`synapse-types:: persona, lugar`).
pub const TYPES_PROP: &str = "synapse-types";
/// Encodes a page title as a file name (Logseq "triple-lowbar" format: `/` becomes `___`,
/// Encodes a page title as a file name ("triple-lowbar" format: `/` becomes `___`,
/// characters illegal on Windows and `%` are percent-encoded).
pub fn encode_title(title: &str) -> String {
let mut out = String::with_capacity(title.len());
+2 -2
View File
@@ -1,4 +1,4 @@
//! Parser for the Markdown files produced by [`crate::export`] (and plain Logseq pages).
//! Parser for the Markdown files produced by [`crate::export`] (and plain outline pages).
use crate::export::{DESCRIPTION_PROP, HUBS_PROP, KIND_PROP, TAGS_PROP, TYPES_PROP, parse_value};
use serde_json::Value;
@@ -224,7 +224,7 @@ mod tests {
}
#[test]
fn logseq_space_indent() {
fn space_indent() {
let p = parse_page("- a\n - b\n - c\n - d\n");
let d: Vec<_> = p.blocks.iter().map(|b| b.depth).collect();
assert_eq!(d, [0, 1, 2, 1]);
+1 -1
View File
@@ -26,7 +26,7 @@ fn at(g: &Graph, ms: i64) {
}
#[test]
fn export_is_deterministic_and_logseq_shaped() {
fn export_is_deterministic_and_outline_shaped() {
let (_d, g, _h) = setup();
let p = add(&g, "Project/Alpha", &["first", "second"]);
let first = g.page_tree(p.id).unwrap()[0].1.clone();