Uh oh!
There was an error while loading. Please reload this page.
feat(web): scrollable and copayable error alerts - #2263
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
leomosley
commented
Apr 21, 2026
ApprovabilityVerdict: Approved This PR extracts error alert rendering into a reusable component with scrollable content and copy-to-clipboard functionality. The changes are purely presentational UI enhancements with no business logic or runtime behavior changes. You can customize Macroscope's approvability policy. Learn more. |
juliusmarminge
commented
Apr 21, 2026
just revamped the toasts a lot in #2023. see if that solves your issues |
leomosley
commented
Apr 21, 2026
Will check it out when I'm back at my machine thanks. Just from skimming I do think my PR is separate - it's changing the Alerts not the Toasts. |
leomosley
commented
Apr 21, 2026
Yeah I've confirmed there's no overlap with #2023. |
juliusmarminge
commented
Apr 21, 2026
Og sorry i didn't read properly 🙃 |
leomosley
commented
Apr 21, 2026
All good 😁 |
Head branch was pushed to by a user without write access
64fede5 to
dd48cadCompareDismissing prior approval to re-evaluate dd48cad
juliusmarminge
commented
Jun 16, 2026
Closing as mostly superseded: current error banners expose full error details. A copy action can be proposed separately as a small current-code change. |
What Changed
ErrorAlertcomponent to standardise the behaviour of error alertsScrollAreato handle overflowWhy
Currently the error alert does not allow you to view the whole error message if it is long. Making it harder to debug.
Also copying error messages has to be done manually, which creates friction when debugging.
UI Changes
Before:

After:

Screen.Recording.2026-04-21.at.16.14.50.mov
Checklist
Note
Low Risk
Low risk UI refactor that centralizes alert rendering; main risk is minor layout/interaction regressions in error/warning banners and new clipboard behavior.
Overview
Introduces a reusable
ErrorAlertcomponent that standardizes error/warning banner UI, makes long messages scrollable, and adds one-click copy (with tooltip feedback) plus optional dismiss.Updates chat banners (
ProviderStatusBanner,ThreadErrorBanner) to useErrorAlert, removing duplicatedAlert/icon/action markup while preserving existing conditional rendering and error vs warning variants.Reviewed by Cursor Bugbot for commit 6baaa70ff3a01f81a4938fa75029f664ac715e6f. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add scrollable and copyable error alerts to chat banners
ErrorAlertcomponent that composesAlert,ScrollArea, andTooltipto display scrollable error/warning messages with a copy-to-clipboard button (with animated icon feedback) and an optional dismiss button.ProviderStatusBannerandThreadErrorBannerto useErrorAlert, replacing static clamped text with the scrollable, copyable layout.Macroscope summarized dd48cad.