Skip to content

feat: improve markdown rendering in Expert panel#7512

Open
andypalmi wants to merge 2 commits into
mainfrom
438-expert-markdown-heading-styles
Open

feat: improve markdown rendering in Expert panel#7512
andypalmi wants to merge 2 commits into
mainfrom
438-expert-markdown-heading-styles

Conversation

@andypalmi

@andypalmi andypalmi commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add scoped heading styles (h1–h6) for Expert chat messages — compact sizes suitable for the sidebar panel
  • Add table wrapper with copy-to-clipboard button (tab-separated for spreadsheet paste), cell borders, and header styling
  • Add blockquote styling with accent left border
  • Add ordered list styling (was unstyled, numbers were missing)
  • Add GFM task list / checkbox rendering with proper checked/unchecked visual distinction
  • Move code block copy button to the left for consistency

All styles are scoped to StreamableContent.vue — no impact on other FlowFuse pages.

Screenshot 2026-06-15 at 18 50 04

Test plan

  • Verify headings h1–h6 render with visible size hierarchy in Expert chat
  • Verify tables have borders, header background, and working copy button
  • Verify blockquotes show accent left border and subtle text
  • Verify ordered lists show numbers
  • Verify unordered lists still show bullet points
  • Verify GFM checkboxes render checked vs unchecked distinctly
  • Verify code block copy button is on the left (with and without language label)
  • Verify no style regressions on other FlowFuse pages

andypalmi and others added 2 commits June 15, 2026 18:51
Add proper styling for headings, tables, blockquotes, ordered lists,
checkboxes, and copy-to-clipboard for tables — all scoped to the Expert
panel's StreamableContent component.
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.84%. Comparing base (c4552d6) to head (f9629e0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7512   +/-   ##
=======================================
  Coverage   76.84%   76.84%           
=======================================
  Files         410      410           
  Lines       20922    20922           
  Branches     5093     5093           
=======================================
  Hits        16078    16078           
  Misses       4844     4844           
Flag Coverage Δ
backend 76.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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