Skip to content

fix(leanui): connect sidebar folder tree branches and suppress dangling empty-folder stems - #2150

Merged
Th0rgal merged 1 commit into
masterfrom
fix/leanui-sidebar-folder-tree-lines
Nov 23, 2026
Merged

Th0rgal merged 1 commit into
masterfrom
fix/leanui-sidebar-folder-tree-lines

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Fixes the disconnected and dangling tree guide lines around folders and empty placeholders in the LeanUI sidebar:

  1. OrbDesktop/Chrome.lean: Enable .treeDecoration branch connectors for folder and file rows at depth > 0 (previously only mission rows drew incoming L/T branches, leaving parent stems dangling above nested folders like Audits, Context, Emergency, and crons).
  2. OrbDesktop/State.lean (sidebarTreeBranches): Ignore empty placeholder rows ("No missions or files yet." / "Empty folder") when computing parent children and sibling last state so empty projects/folders never draw a dangling downward stub, while continuing ancestor vertical rails past empty rows.
  3. OrbDesktop/Chrome.lean: Indent empty placeholder rows by r.depth and attach a zero-width rail anchor so ancestor rails pass seamlessly alongside "Empty folder" to subsequent sibling folders.
  4. tests/LiveDelivery.lean: Add regression coverage for empty projects, empty nested folders with sibling folders below, and folder + mission sibling trees.

@Th0rgal
Th0rgal merged commit 128c896 into master Nov 23, 2026
20 checks passed
@Th0rgal
Th0rgal deleted the fix/leanui-sidebar-folder-tree-lines branch November 23, 2026 17:28
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.

1 participant