-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat: Update "copy to clipboard" pattern to be more discoverable. #67305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7c8e084
4ad7ec6
4e9da43
7522cfe
65aaf21
f6e7b94
6c2ed73
40c6d58
1d32b23
6b43e24
c857519
c6afea3
4eed3c2
b466e26
ee553aa
336b074
0a908ca
e265a18
c7a5a9b
2d435c1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -737,6 +737,8 @@ | |
| "zoneinfo", | ||
| "zxcv", | ||
| "zxldvw", | ||
| "inputmethod", | ||
| "copyable", | ||
| "مثال" | ||
| ], | ||
| "ignorePaths": [ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -881,13 +881,15 @@ function ReportDetailsPage({policy, report, route, reportMetadata}: ReportDetail | |
| copyValue={base62ReportID} | ||
| interactive={false} | ||
| shouldBlockSelection | ||
| copyable | ||
| /> | ||
| <MenuItemWithTopDescription | ||
| title={report.reportID} | ||
| description={translate('common.longID')} | ||
| copyValue={report.reportID} | ||
| interactive={false} | ||
| shouldBlockSelection | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you investigate if we need
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can't reproduce it either but if it was happening before, we can add that for safety. We can destructure props like: copiable = false,
shouldBlockSelection = copiable,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No need. Let's see if QA could reproduce this on staging. |
||
| copyable | ||
| /> | ||
| </> | ||
| )} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.