Skip to content

Commit 2e31e3d

Browse files
committed
fix(web): give release notes their own renderer
The update popover rendered release notes with the chat Markdown component. That component renders raw HTML as live DOM, cannot be mounted in a test (it resolves katex and mermaid workers, so the popover had to stub it and shipped unverified), and pulls katex, mermaid and shiki into a 440px panel. Release notes arrive in one narrow shape we generate ourselves, so render that shape directly: headings, bullets and paragraphs as real elements through Vue interpolation, which cannot contribute markup whatever upstream did to the body. `Built from <url>` leaves the list and becomes a footnote linking the short commit reference, and only when the URL is an actual web page. The scroll region is now a tab stop, since notes that outgrow the panel could not be scrolled without a pointer, and the fade over the last rows appears only when something is actually below it.
1 parent e9ebda6 commit 2e31e3d

102 files changed

Lines changed: 703 additions & 306 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-desktop": patch
3+
---
4+
5+
Lay out the update release notes as a readable list with the build reference as a footnote, and show when there is more to scroll.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"sourceHash": "aa9ad464f74ddd042d5435d29ed27bac364c25274ede0eade5d39cc7593d0eb6",
3-
"sourceFileCount": 404
2+
"sourceHash": "dc4674a73ab1b451eb14a58ba78d954663b5e98dc04ee24b45266716c66a52bb",
3+
"sourceFileCount": 405
44
}

apps/pythinker-code/dist-web/assets/CodeBlockNode-DvVwTcrb.js renamed to apps/pythinker-code/dist-web/assets/CodeBlockNode-C2vsKEwS.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/DesignSystemView-DqkqPAyE.js renamed to apps/pythinker-code/dist-web/assets/DesignSystemView-BxjfRQFt.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/Tooltip-DBHeeCqj.js renamed to apps/pythinker-code/dist-web/assets/Tooltip-DKC-5Acf.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-Aw-KZNRM.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-Cfi81rrz.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/arc-uQkvEBHU.js renamed to apps/pythinker-code/dist-web/assets/arc-Etqrqc_j.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-D6d_uvof.js renamed to apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-B06L70xf.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)