processing / processing/p5.js-web-editor

Addition of a Copy Button in the Editor

Open
#3,676 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request On Hold
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

Increasing Access

While copying can be done with keyboard shortcuts, the absence of a copy button is often felt, especially by beginners and users on touch devices. In a lightweight, beginner-friendly editor like the p5.js web editor, a visible copy button is naturally expected by users. On touch devices in particular, a single tap is much simpler than manually selecting text.

Feature request details

This feature was previously in discussion a year ago.

I even made a PR #2462 showing how this would look like in action, but couldn't move forward with it due to it being inactive for a long time. But I'd be happy to pick this up again, if we think this could be a useful addition :)

I also found issue #3460, which notes text selection and copy on touch devices isn't seamless, which I also experienced with my mobile device. Though this issue could be resolved with the move to CM6, I think having a copy button in place would be a good idea.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reviewing the approach shown in PR #2462 and the touch-selection context in issue #3460, then inspect the current editor UI and copy behavior. Done means the editor provides a visible copy button that copies the relevant code with a single tap, including on touch devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.