Add a Copy results action to the coding test panel

Open
#598 4 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@seallllllllll is already working on this.

Since Nov 6, 2026.

  • #698 by @seallllllllll — open
  • #875 by @seallllllllll — open

Assessment

This issue has not been assessed yet.

Description

Motivation

Candidates running coding tests may need to reuse compiler diagnostics or failed test results while debugging their solutions. Currently, copying the output requires manually selecting text in the test results panel.

A dedicated Copy results action would make it easier to preserve diagnostic information without changing the test execution workflow.

Desired behavior

Add a Copy results action to the existing Test results panel.

The action should:

  • Copy the current test results as plain text, preserving line breaks and diagnostic messages.
  • Display brief confirmation after a successful copy.
  • Display an accessible error message when clipboard access fails.
  • Be unavailable when no test results exist.
  • Avoid changing test execution, result filtering, candidate code, or interview state.

Scope

The first version would be limited to the coding test results panel. It would not introduce downloads, persistent test history, new test execution behavior, or changes to the final report.

The implementation would reuse existing UI conventions and include browser tests covering successful copying, clipboard failure, and unavailable results.

Acceptance criteria

  1. A candidate can copy the displayed test results with one action.
  2. The copied text preserves the relevant diagnostic information and line breaks.
  3. Clipboard failures do not clear or modify existing results.
  4. The action is unavailable before results exist.
  5. Existing test execution and result filtering remain unchanged.
  6. Automated browser tests cover the new behavior.
Dominant language
Rust
Stars
236
Forks
153
Avg merge
1d 9h
Merged PRs (30d)
187

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sysprog21/codetrial

All issues in sysprog21/codetrial

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.