fix(devtools): render nested error messages with HotlinkedText (#93620)
### What? The primary error description renders its message through `HotlinkedText`, so `Learn more: https://...` URLs become real links. The nested overlay surfaces — `Caused by` (`error-cause.tsx`) and aggregate-error rows (`error-aggregate-errors.tsx`) — still rendered the trimmed message as plain `<p>` text, leaving those URLs unclickable. ### How? Wrap `{trimmedMessage}` in `<HotlinkedText>` on both surfaces. Default browser link color (blue) is left intact so the URLs stand out against the red message text. Before: <img width="1332" height="1234" alt="CleanShot 2026-05-08 at 00 15 42@2x" src="https://github.com/user-attachments/assets/88cf519d-3b7e-47a8-a963-429d480b3229" /> After: <img width="1100" height="1098" alt="CleanShot 2026-05-08 at 00 15 14@2x" src="https://github.com/user-attachments/assets/91bcb1fd-a446-4969-b3f1-77df9659613d" /> --------- Co-authored-by:Cursor <cursoragent@cursor.com>
Showing
Please
register
or
sign in
to comment