Tree lines missing between sibling bullets (only drawn for children) #618

Closed
opened 2026-10-19 10:35:43 +00:00 by kayg · 3 comments
Owner

kayg (2026-10-19 16:0x IST, prod): tree lines are drawn only where a bullet has a child item; consecutive sibling bullets at the same level (e.g. top-level bullets one after another) get no line joining them. kayg: we decided to draw them, and the bullets mockup (apps/mockup tree-lines.html, #247: Connected or Dotted, default Dotted, per note) showed dotted/continuous lines for bullet items next to each other. Fix the app to match the mockup.

kayg (2026-10-19 16:0x IST, prod): tree lines are drawn only where a bullet has a child item; consecutive sibling bullets at the same level (e.g. top-level bullets one after another) get no line joining them. kayg: we decided to draw them, and the bullets mockup (apps/mockup tree-lines.html, #247: Connected or Dotted, default Dotted, per note) showed dotted/continuous lines for bullet items next to each other. Fix the app to match the mockup.
Author
Owner

Fixed on branch issue/tree-lines-siblings (5c31a21), not merged. Cause: shape.ts only drew a guide from a parent to its children, so siblings were never joined. Note the #247 mockup had the same gap, so I fixed the mockup too (new 'Siblings' note in tree-lines.html). Now a guide runs from each marker to the next sibling's marker (past its children), with equal gaps around bullets, and the last item has no tail. Works for bullets, numbers, tasks, Dotted and Connected. Tests: tree.test.ts unit cases and 2 new e2e specs; tree, list-chrome and list-catch-up pass on chromium/webkit at 390 and 1440 (78 passed, 38 skipped).

Fixed on branch issue/tree-lines-siblings (5c31a21), not merged. Cause: shape.ts only drew a guide from a parent to its children, so siblings were never joined. Note the #247 mockup had the same gap, so I fixed the mockup too (new 'Siblings' note in tree-lines.html). Now a guide runs from each marker to the next sibling's marker (past its children), with equal gaps around bullets, and the last item has no tail. Works for bullets, numbers, tasks, Dotted and Connected. Tests: tree.test.ts unit cases and 2 new e2e specs; tree, list-chrome and list-catch-up pass on chromium/webkit at 390 and 1440 (78 passed, 38 skipped).
Author
Owner

Landed in train AI, #626.

Landed in train AI, #626.
Author
Owner

Closing during the 26 Oct handover cleanup: Landed in train AI (#626).

Closing during the 26 Oct handover cleanup: Landed in train AI (#626).
kayg closed this issue 2026-10-26 08:46:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#618
No description provided.