Skip to content

[P2] Audit: Copy, download, and share success states are not standardized #166

Description

@baixiangcpp

Imported from the byteflow.tools deep audit on 2026-06-22.

Problem: copy, download, export, and share actions appear across most tools, but success, disabled, and error states are not fully standardized. Users should always know what was copied, downloaded, exported, or shared.

Affected components:

  • Copy buttons
  • Download buttons
  • Export JSON
  • Share URL
  • External-request download actions
  • Pipeline Builder actions

Reproduction steps:

  1. Open several tools.
  2. Trigger copy actions with empty output, valid output, and invalid output.
  3. Trigger download/export actions where available.
  4. Compare toast wording, disabled states, focus behavior, and clipboard fallbacks.

Expected behavior: all actions should use consistent status copy, toasts, disabled states, and error recovery.

Actual behavior: feedback works in many places but varies by tool.

Impact: users may not know whether an action succeeded, especially in mobile or keyboard flows.

Proposed fix:

  • Create shared action result states: idle, disabled, pending, success, failed.
  • Standardize toast copy and duration.
  • Show what was copied/downloaded.
  • Add clipboard API fallback handling.
  • Ensure failure states are accessible.

Acceptance criteria:

  • Copy/download/share actions behave consistently across priority tools.
  • Empty output disables actions or explains why unavailable.
  • Success and failure messages are accessible.
  • Regression tests cover clipboard and download behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions