thunderbird / thunderbird/services-ui

Read and store clipboard permissions for Copy to clipboard pattern

Open
#253 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Vue
Stars
9
Forks
1
Avg merge
6h 58m
Merged PRs (30d)
6

Description

For our copy to clipboard pattern we should read and store the clipboard api's write permission using the permissions api.

Is the user's browser doesn't allow permission then we should disable the copy button and and some sort of alternative way to allow the user to manually copy the link. Perhaps when they click copy to clipboard we show the text in an alert() for the user to copy.

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 from the copy to clipboard pattern in the services-ui repository and review the linked Clipboard API and Permissions API documentation. The work is done when the write permission is stored, the copy button is disabled when permission is unavailable, and users have a manual way to copy the link.

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
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.