If a query backing a test widget returns an error, we render that error as red error text. Every time I try to click copy on the error, it removes my highlight. I believe it is because we are querying on a loop, so the next loop completes and renders a "new" error before I can copy the text.
I would like two things:
- A simple copy icon button to just copy the current error text to my clipboard. We should use the icon button from prime-core with the
content-copy icon.
- If the error text we are rendering does not change between query loops, we should not re-render the error text
@claude
If a query backing a test widget returns an error, we render that error as red error text. Every time I try to click copy on the error, it removes my highlight. I believe it is because we are querying on a loop, so the next loop completes and renders a "new" error before I can copy the text.
I would like two things:
content-copyicon.@claude