Skip to content

fix(mecatui): restore Markdown bullet markers and nested indentation - #2615

Merged
jbeda merged 1 commit into
mainfrom
fix/mecatui-markdown-bullets
Oct 29, 2026
Merged

jbeda merged 1 commit into
mainfrom
fix/mecatui-markdown-bullets

Conversation

@jbeda

@jbeda jbeda commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Restore visible • markers for unordered Markdown lists in mecatui's shared Glamour theme.
  • Indent nested lists by two cells per level instead of flattening their hierarchy.
  • Add renderer regression coverage for -, *, and + Markdown bullets across all built-in themes, nested lists, and narrow wrapping for both unordered and ordered lists.

The custom theme was built from scratch and did not configure an unordered-list marker or List.LevelIndent. Glamour consumed the Markdown syntax and rendered the configured empty marker. The shared theme correction also applies to plan-approval Markdown.

Verification

  • Confirmed the new unordered-list regression test fails before the production fix.
  • go test ./cmd/mecatui/ui ./cmd/mecatui/theme -run 'TestMarkdown|TestGlamour' -count=1
  • task lint
  • task test
  • task test:race
  • go run ./cmd/mecademo — offline tool call, permission ask/approval, and result.
  • Focused code/test review: no remaining findings.

API compatibility

Client-local presentation correction only. No wire/API, stored-data, exported Go API, dependency, or protocol feature/major changes; no coordinated upgrade required.

Configure unordered-list markers and per-level indentation in the shared Glamour theme. Cover all built-in themes, unordered markers, nesting, and narrow wrapping for ordered and unordered lists.

Co-authored-by: Mecatl <[email protected]>
@jbeda
jbeda enabled auto-merge (squash) October 29, 2026 21:27
@jbeda
jbeda merged commit 2b8be42 into main Oct 29, 2026
41 checks passed
@jbeda
jbeda deleted the fix/mecatui-markdown-bullets branch October 29, 2026 21:36
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Nov 18, 2026
2 tasks
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