Skip to content

fix(ui): annotation markdown heading sizes#3502

Merged
forestileao merged 4 commits intomainfrom
cursor/annotation-heading-sizes-9a17
Mar 24, 2026
Merged

fix(ui): annotation markdown heading sizes#3502
forestileao merged 4 commits intomainfrom
cursor/annotation-heading-sizes-9a17

Conversation

@forestileao
Copy link
Copy Markdown
Collaborator

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.
Open in Web Open in Cursor 

Co-authored-by: Pedro Leão <forestileao@users.noreply.github.com>
@superplanehq-integration
Copy link
Copy Markdown

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes ~30s)
  • /sp stop - Stop a running machine (auto-executed on pr close)

@cursor cursor bot changed the title Fix annotation markdown heading sizes fix(ui): annotation markdown heading sizes Mar 17, 2026
@forestileao forestileao marked this pull request as ready for review March 18, 2026 01:46
@AleksandarCole
Copy link
Copy Markdown
Collaborator

/sp start

@superplanehq-integration
Copy link
Copy Markdown

😢 Failed to migrate the database

See Logs:

ssh -o StrictHostKeyChecking=no app@46.225.237.163 tail -n 100 /tmp/dev-start.log

@forestileao forestileao reopened this Mar 24, 2026
@forestileao
Copy link
Copy Markdown
Collaborator Author

/sp start

@superplanehq-integration
Copy link
Copy Markdown

😢 Failed to migrate the database

See Logs:

ssh -o StrictHostKeyChecking=no app@178.104.28.255 tail -n 100 /tmp/dev-start.log

forestileao and others added 2 commits March 24, 2026 20:28
Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com>
@forestileao
Copy link
Copy Markdown
Collaborator Author

image Updated manually

Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread web_src/src/ui/annotationComponent/index.tsx Outdated
Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com>
@forestileao forestileao merged commit ec8f193 into main Mar 24, 2026
4 checks passed
@forestileao forestileao deleted the cursor/annotation-heading-sizes-9a17 branch March 24, 2026 23:51
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>&nbsp;<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>&nbsp;</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>
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.

3 participants