Copiable errors and one-tap "File bug" link everywhere
Copiable errors and one-tap “File bug” link everywhere
Status: Delivered
CAS: CAS-2534
Delivered: 2026-05-13
PRs: #686
What’s new
Every error message in the app is now selectable and has a one-tap Copy button. Alongside it, a File bug link opens the Astrid bug-report chat with the exact error already pre-loaded into Astrid’s context — no retyping required. Error notifications no longer auto-dismiss, so the affordances are still there when you’re ready to act.
How to use it
When any error appears — in a toast notification, in the chat panel, in the bug-report submission banner, or in the fallback error screen — you will see:
- A copy icon next to the error text. One tap copies the full error string to the clipboard.
- A “File bug” link below or alongside the error. Tapping it opens the Astrid bug-report sheet with a pre-filled context: Astrid greets you by acknowledging the specific error, so you can continue the conversation from there without pasting anything.
Error toasts stay on screen until you dismiss them manually (no 5-second auto-close).
What changed under the hood
CopyableError.tsx— new component: selectable text + MantineCopyButtonicon; works on iOS WKWebView, macOS, and WindowsFileBugButton.tsx— new component: opensReportSheetwithopenWithError(error, ctx?)and an optional context structuseReportIssueStore— addedErrorContexttype,prefilledErrorstate,openWithError()action, andisErrorflag onChatMessage;buildBootstrapPromptinjects the error so Astrid’s first turn acknowledges iterrorNotification.ts— new Mantine notification helper that centralises error styling and enforcesautoClose: false; five call sites migrated
Why we built it
The regent was iterating on Astrid bug-reports from an iPhone and kept having to screenshot errors and paste them back into a separate chat to diagnose problems. The copy affordance removes that friction in one tap; the “File bug” link collapses the whole screenshot-copy-paste loop into a single touch that lands directly in Astrid with full context.
Known limitations / follow-on work
- On-device verification that Astrid acknowledges the specific error string in turn 1 is deferred to TestFlight testing (CAS-2369 grounding applies).