Skip to content

Can't copy errors from widgets #37

@DTCurrie

Description

@DTCurrie

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:

  1. 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.
  2. If the error text we are rendering does not change between query loops, we should not re-render the error text

@claude

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions