-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[TIP] Add copy to clipboard feature #142675
[TIP] Add copy to clipboard feature #142675
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@PhilippeOberti there is a way to keep a width (240px). And make the indicators ID go to two or even three rows. So we can follow this design. (Sorry for not providing this view before). |
- add to indicators table cellActions using renderCellPopover property - add to barchart context menu - add to flyout
04bccfc
to
91b42e0
Compare
@ferenrigue Done!! |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
- add to indicators table cellActions using renderCellPopover property - add to barchart context menu - add to flyout
- add to indicators table cellActions using renderCellPopover property - add to barchart context menu - add to flyout
Pinging @elastic/security-solution (Team: SecuritySolution) |
Summary
This PR adds the copy to clipboard feature to the Threat Intelligence plugin.
Here are the places the copy capability has been added:
renderCellPopover
(as mentioned in the doc when using a customrenderCellValue
)To guarantee a good user experience, this PR also adds the other features to the Indicators table cellActions popover (see image below).

Similarly to
FilterIn
,FilterOut
andAddToTimeline
components, this PR adds 2 newCopyToClipboard
components: one as anEuiButtonEmpty
and the second as anEuiContextMenu
.Screen.Recording.2022-10-04.at.4.53.16.PM.mov
Fixes https://github.com/elastic/security-team/issues/4548
To do
Checklist
Delete any items that are not applicable to this PR.