mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
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:
1 parent
c4e9b79fa6
commit
adbbc45a56
24 files changed
+31
-31
No files matched your search
@@ -67,7 +67,7 @@ impl SynapseGraph {
|
||||
}
|
||||
|
||||
/// Shift-Tab: the block moves right after its parent, adopting its following siblings as
|
||||
/// children so it keeps its visual place (Logseq's default outdenting).
|
||||
/// children so it keeps its visual place (direct outdenting).
|
||||
pub fn outdent_block(&self, id: String) -> Result<Vec<BlockDto>> {
|
||||
let g = self.lock();
|
||||
let b = get(&g, parse_id(&id)?)?;
|
||||
|
||||
@@ -45,7 +45,7 @@ fn indent_and_outdent_keep_visual_order() {
|
||||
assert_eq!(shape(&rows), vec![(0, "a"), (1, "b"), (1, "c"), (1, "d")]);
|
||||
assert!(rows[0].has_children);
|
||||
|
||||
// Outdenting `c` adopts `d` as its child (Logseq's direct outdenting).
|
||||
// Outdenting `c` adopts `d` as its child (direct outdenting).
|
||||
let rows = g.outdent_block(ids[2].clone()).unwrap();
|
||||
assert_eq!(shape(&rows), vec![(0, "a"), (1, "b"), (0, "c"), (1, "d")]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user