Skip to content

Add copy button for error details#182

Open
sglyon wants to merge 1 commit into
elixir-error-tracker:mainfrom
sglyon:feature/error-copy-button
Open

Add copy button for error details#182
sglyon wants to merge 1 commit into
elixir-error-tracker:mainfrom
sglyon:feature/error-copy-button

Conversation

@sglyon
Copy link
Copy Markdown

@sglyon sglyon commented Jun 2, 2026

Summary

  • add a Copy error button to the error detail header
  • render a clipboard payload with error id, occurrence id, kind, message, source, breadcrumbs, stacktrace, and context
  • add a LiveView copy hook with clipboard fallback and cover the generated copy text with a focused test

Fixes #180.

Tests

  • DB=sqlite MIX_ENV=test mix test
  • mix format --check-formatted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Copy-button for errors

1 participant