react/packages/react-devtools-extensions/src
Ruslan Lesiutin 21021fb0f0
refactor[devtools]: copy to clipboard only on frontend side (#26604)
Fixes https://github.com/facebook/react/issues/26500

## Summary
- No more using `clipboard-js` from the backend side, now emitting
custom `saveToClipboard` event, also adding corresponding listener in
`store.js`
- Not migrating to `navigator.clipboard` api yet, there were some issues
with using it on Chrome, will add more details to
https://github.com/facebook/react/pull/26539

## How did you test this change?
- Tested on Chrome, Firefox, Edge
- Tested on standalone electron app: seems like context menu is not
expected to work there (cannot right-click on value, the menu is not
appearing), other logic (pressing on copy icon) was not changed
2023-04-12 16:12:03 +01:00
..
contentScripts refactor[devtools]: copy to clipboard only on frontend side (#26604) 2023-04-12 16:12:03 +01:00
backend.js Upgrade Flow to 0.201 (#26326) 2023-03-06 10:33:22 -05:00
background.js [DevTools] remove backend dependency from the global hook (#26563) 2023-04-07 03:35:36 -04:00
main.js Provide icon to edge devtools. (#26543) 2023-04-11 14:42:13 -04:00
panel.js Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
utils.js [DevTools] upgrade to Manifest V3 (#25145) 2022-10-21 22:52:18 -04:00