elastic / elastic/sense

Switch out zeroclipbard for clipboard.js

Open
#43 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
379
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Every browser except safari supports the api's necessary to support the "copy as curl" functionality without requiring flash or zeroclipboard.

[clipboard.js](https://zenorocha.github.io/clipboard.js/) wraps these apis and provides a fallback for safari which focusses an input box in the background and instructs the user to press command+c in order to complete the copy.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing “copy as curl” entry point and its zeroclipboard integration; compare the browser API and clipboard.js behavior described in the issue. Done means the functionality no longer requires Flash or zeroclipboard, uses clipboard.js, and retains the Safari Command+C fallback.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.