thunderbird / thunderbird/services-ui
Read and store clipboard permissions for Copy to clipboard pattern
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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