dfe-analytical-services / dfe-analytical-services/mp-lookup-postcode-search

Add "copy to clipboard" buttons

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
R
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
To improve useability it would be great to have a way of copying key MP information to use in emails, subs, or any written text, reducing potential spelling errors, improving the accuracy of how MPs are addressed.

**Describe the solution you'd like**
I would like to see a "copy to clipboard" feature, where you can choose to copy frequently used information (e.g. MP names, titles, and email addresses)

**Describe alternatives you've considered**
An alternative could be to not add the functionality and advise users to manually copy and paste information from the table. While this may add freedom to what the user can copy to their clipboard, manually copying text may not be intuitive to all users, and a button that does this instead will save users time.

Another alternative could be downloading key information in a table or csv file, which is not my preferred solution as this will quickly create lots of files in user's OneDrives that may be only used once or twice. Not having this as an option will also deter users from referring back to past downloads which is good as the Parliamentary API may have updated since the last time the information as downloaded, making past downloads now incorrect.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.