fix(ui): annotation markdown heading sizes#3502
Merged
forestileao merged 4 commits intomainfrom Mar 24, 2026
Merged
Conversation
Co-authored-by: Pedro Leão <forestileao@users.noreply.github.com>
|
👋 Commands for maintainers:
|
Collaborator
|
/sp start |
|
😢 Failed to migrate the database See Logs: |
Collaborator
Author
|
/sp start |
|
😢 Failed to migrate the database See Logs: |
Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com>
Collaborator
Author
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com>
EtnDiaz
pushed a commit
to EtnDiaz/superplane
that referenced
this pull request
Mar 28, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN --> ## Summary Fixes markdown heading hierarchy in the annotation widget so `#` / `##` / `###` render with clear, consistent sizing and spacing. ## Changes - Updates `ReactMarkdown` heading renderers in `web_src/src/ui/annotationComponent/index.tsx` to use a proper typographic scale (`h1` > `h2` > `h3` > `h4`) and consistent margins/line-height. ## Testing - `npm run build` (TypeScript + Vite) in `web_src` - `npm run test` in `web_src` ## Notes - `make check.build.ui` relies on Docker in this repo; Docker is not available in the current cloud agent environment, so I validated via local `web_src` build/test instead. <!-- CURSOR_AGENT_PR_BODY_END --> <div><a href="https://cursor.com/agents/bc-8d1ae44b-802b-4c5b-a926-4ef9fce84b8e"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-8d1ae44b-802b-4c5b-a926-4ef9fce84b8e"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div> --------- Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Pedro Leão <forestileao@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Fixes markdown heading hierarchy in the annotation widget so
#/##/###render with clear, consistent sizing and spacing.Changes
ReactMarkdownheading renderers inweb_src/src/ui/annotationComponent/index.tsxto use a proper typographic scale (h1>h2>h3>h4) and consistent margins/line-height.Testing
npm run build(TypeScript + Vite) inweb_srcnpm run testinweb_srcNotes
make check.build.uirelies on Docker in this repo; Docker is not available in the current cloud agent environment, so I validated via localweb_srcbuild/test instead.