Commit 2e31e3d
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
- .changeset
- apps
- pythinker-code/dist-web
- assets
- pythinker-web
- src
- components
- i18n/locales/en
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments