Skip to content

Markdown renderer flattens nested lists (indentation ignored) #18

Description

@aasis21

Problem

The list parser in Markdown.tsx strips leading whitespace (/^\s*([-*]|\d+\.)\s+/) and pushes every item into a single flat <ul>/<ol>. Nested/indented lists (very common in agent output: plans, sub-bullets) collapse to one level and ordered/unordered nesting is lost.

Suggested fix

Track indentation depth and build nested list elements.

Where

mobile/src/components/Markdown.tsx (list branch, lines ~112–124).


Filed from a UI research sweep of the Helm mobile app (landing + live demo session) using Playwright + full source review, cross-referenced against Claude, ChatGPT, GitHub Copilot Chat, and Codex/Claude Code UIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmarkdownMarkdown / code renderinguiUser interface

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions