Skip to content

Name the copy keys in the copy failure message #52

Description

Priority: Low
Effort: Small
Requested issue type: Feature

Current behavior

When both copy methods fail, Sitenalyzer shows this status message:

Couldn't copy the ID. Select the displayed ID and copy it manually.

The message says what happened, but "copy it manually" doesn't tell people what to press. The ID is already shown beside the button, so the message can name the keys.

Suggested scope

Acceptance criteria

  • After a failed copy, the status message names Ctrl+C and Cmd+C.
  • Successful copies still show the same message, such as "List ID copied!".
  • Update COPY_FAILURE_MESSAGE in tests/sitenalyzer.spec.js so the clipboard tests expect the new message.
  • Update the copy sentence in docs/usage.md, which says the message tells you to "select the displayed ID and copy it manually."

Starting points

Contributor notes

Read AGENTS.md, SKILLS.md, and the project-preferences skill first. Edit src/, then rebuild dist/ with bash build.sh or .\build.ps1. Run the browser tests from tests/, and update docs/usage.md. Use synthetic examples and preserve SharePoint Content Security Policy support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions