Skip to content

Take Polhem.Markdown 0.8.0 in both views, with the expand-table label in ChatStrings - #70

Merged
jeff377 merged 2 commits into
mainfrom
claude/markdown-0.8.0
Dec 1, 2026
Merged

jeff377 merged 2 commits into
mainfrom
claude/markdown-0.8.0

Conversation

@jeff377

@jeff377 jeff377 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Both views move from Polhem.Markdown 0.6.1 to 0.8.0 (Polhem.Markdown.Avalonia, Polhem.Markdown.Blazor, and through their exact pin Polhem.Markdown).

What changes in the views

  • Wide tables: a table wider than a reply shows the viewers' new expand button at its top right corner, which opens the whole table over the window (Avalonia) or the page (Blazor). The viewers label it in English only (ExpandTableLabel), so ChatStrings.ExpandTable is new and both views pass it, as they already pass CopyCode to CopyCodeLabel. It ships in English, Traditional Chinese, Simplified Chinese and Japanese.
  • Blazor table cells keep their text on one line (white-space: nowrap in the viewer's stylesheet), so a wide table scrolls sideways instead of breaking its words.
  • Viewer fixes since 0.6.1: the Avalonia viewer no longer reads a file image that names a Windows network share (0.7.3), and an unchecked task box has enough contrast in both themes.

The editors' changes in 0.8.0 do not reach the chat views, which only use the viewers.

Downstream

The Polhem framework sees one new public member, ChatStrings.ExpandTable. A Blazor host that styles the reply tables through their parent element should point that rule at .pmd-table-frame; the Markdown 0.8.0 release notes say how to get the old wrapping back.

Checked

  • dotnet build and dotnet test (Release): 266 + 74 + 120 tests pass, including a new test on each view that the reply's viewer takes the view's texts for its code and table buttons.
  • Script tests: 24 pass. Markdown links: pass.
  • In the Blazor gallery (Interactive Server) at a narrow width, the button shows once the weather table overflows, and opens the table over the whole page, not inside the chat card.

… in ChatStrings

Wide tables in a reply get the viewers' expand button, labelled by the new
ChatStrings.ExpandTable in English, Traditional Chinese, Simplified Chinese
and Japanese.
@jeff377
jeff377 enabled auto-merge (squash) December 1, 2026 16:36
@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

@jeff377
jeff377 merged commit f49d977 into main Dec 1, 2026
4 checks passed
@jeff377
jeff377 deleted the claude/markdown-0.8.0 branch December 1, 2026 16:41
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