Skip to content

Keep summary labels clear of neighbouring branches - #33

Merged
thierrysays merged 6 commits into
mainfrom
tss/pensive-babbage-327lhr
Nov 29, 2026
Merged

thierrysays merged 6 commits into
mainfrom
tss/pensive-babbage-327lhr

Conversation

@thierrysays

Copy link
Copy Markdown
Collaborator

The summary label is now pushed past any topic on its side that it would overlap vertically (neighbouring branches reaching further out, or a label taller than the bracket), and the stem lengthens to match (SumGeo.stem).

Still open: a label can overlap another summary's label; the ponytail: comment says so.

Tests: added a non-overlap test in src/summary.test.ts; tsc clean, 140/140 vitest pass.


Generated by Claude Code

The label is pushed past any topic on its side that it would overlap
vertically, and the stem lengthens to match.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016C1G4M3Q75H4ct7Z9N3maY
- neighbour: a selection hidden under a collapsed branch no longer throws
- ErrorBoundary around Shell: a render error shows a message, not a white window
- parseBook: sanitize every topic below the root (types, missing children, repeated ids)
- Markdown headings: linear-time parse of closing hashes (was cubic)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016C1G4M3Q75H4ct7Z9N3maY
- inflate moves to inflate.ts and also guards gzip .mm files
- one import may embed at most 20 MB of pictures in total
- a failed autosave removes the stale copy, skips the unsaved flag and shows a notice

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016C1G4M3Q75H4ct7Z9N3maY
- RichEdit commits what was typed when it unmounts before blur
- patch/remove/patchAll/removeAll share untouched subtrees and return the same tree on a no-op; undo history capped at 200
- moveTo keeps the topic when the target does not exist
- topic links are looked up in an index built once per change, not by walking every sheet per render

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016C1G4M3Q75H4ct7Z9N3maY
…ol chars, $& labels, prototype keys

- Notes and Link fields remount when the model changes (undo/redo)
- search counts topics under collapsed branches and opens them
- XMind export skips invalid pictures and names resources img<N>
- SVG/PNG/PDF export strips characters XML forbids
- Markdown link labels keep $ patterns
- marker, icon and mime lookups ignore Object.prototype keys

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016C1G4M3Q75H4ct7Z9N3maY
…es, duplicates

- imported links must be http(s) or mailto; others are dropped (and reported for XMind)
- unzip reports a corrupt local header instead of a RangeError
- FreeMind notes no longer include head styles or scripts
- writeSafely uses its own tmp name
- one escXml, hex, H, download; THEMES live in theme.ts
- menus close on any click; switching tabs keeps pan and zoom

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016C1G4M3Q75H4ct7Z9N3maY
@thierrysays
thierrysays marked this pull request as ready for review November 29, 2026 17:43
@thierrysays
thierrysays merged commit aed4655 into main Nov 29, 2026
2 checks passed
@thierrysays
thierrysays deleted the tss/pensive-babbage-327lhr branch November 29, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants