Hristo Kanchev
709baf1fec
[DevTools] Support for adding props | Improved state/props value editing ( #16700 )
...
* Extracted sanitizeForParse
* Added canAddEntries flag to InspectedElementTree
* Added EditableKey component.
* Added support to add an additional entry.
* Added support to add more complex data structures in the EditableValue component. Added support to change the dataType of the value that is being changed.
* Fixed flow error.
* Removed unneeded fragment.
* Renamed EditableKey -> EditableName
* Removed unneeded dependency
* Removed problematic props to state hook.
* Prettified changes.
* Removed unused import.
* Fixed shouldStringify check.
* Removed testing props from EditableProps.
* Made some inline tweaks
2019-09-10 13:30:43 -07:00
Hristo Kanchev
4ef6387d6e
[DevTools] [Context] Legacy Context ( #16617 )
...
* Added hasLegacyContext check.
* Passed hasLegacyContext as prop to SelectedElement
* Changing context labels based on hasLegacyContext
* Fixed flow types.
* Fixed typos.
* Added tests for hasLegacyContext.
* Renamed test.
* Removed test imports.
2019-09-10 13:30:20 -07:00
Hristo Kanchev
4905590e1e
Fixed font family issue in FF. ( #16701 )
2019-09-09 16:21:04 -07:00
Daniel Lo Nigro
35f447ddbf
Remove console.log from copyWithSet ( #16716 )
2019-09-09 16:18:09 -07:00
Alex Rohleder
206d61f722
fix typos on react-devtools comments ( #16681 )
2019-09-06 07:47:44 -07:00
Hristo Kanchev
77bb102398
[DevTools] [Profiler]: Save profile now working in Firefox ( #16612 )
...
* Added anchor dom element in order to successfully download profiling data.
* Reworked downloadFile to accept a DOMElement in order for FF to successfully download profiling data.
* Prettify downloadFile changes.
2019-09-03 08:35:12 -07:00
Brian Vaughn
7153dd516f
Fixed a StyleEditor variable resolution regression
2019-08-27 12:53:38 -07:00
Brian Vaughn
8e1434e80e
Added FB copyright header
2019-08-27 10:54:01 -07:00
Brian Vaughn
49b0f87d10
Suppress act/renderer warning for DevTools tests
2019-08-27 10:46:27 -07:00
Brian Vaughn
8c684bf7e1
Removed forked DevTools Flow types
2019-08-27 10:42:02 -07:00
Brian Vaughn
9a016c0c2b
Removed outdated snapshot
2019-08-27 10:31:36 -07:00
Brian Vaughn
896c993ada
Fixed remaining DevTools broken tests by fixing a hydration/spread bug
2019-08-27 08:50:36 -07:00
Brian Vaughn
e3cc42be97
Fix Console patching test by resetting modules
2019-08-26 13:53:29 -07:00
Brian Vaughn
177f357d9d
Updated DevTools test setup to no longer mock test renerer
2019-08-26 13:46:00 -07:00
Brian Vaughn
a48593a8d3
Iterating on DevTools tests: Trying to run tests against pre-build react-dom and react-test-renderers
2019-08-26 13:43:09 -07:00
Brian Vaughn
ee4806f47a
Fixed flushing problem with tests
2019-08-26 13:08:35 -07:00
Brian Vaughn
9d4fd7a249
Merged changes from 4.0.5 -> 4.0.6 from DevTools fork
2019-08-26 10:12:18 -07:00
Brian Vaughn
66c9fedc34
Flow fixes
2019-08-20 13:33:33 -07:00
Brian Vaughn
4da836af71
Merged changes from 4.0.0 -> 4.0.5 from DevTools fork
2019-08-20 11:34:51 -07:00
Brian Vaughn
7ce229d3b0
Made some incremental progress on Jest tests
2019-08-15 09:53:22 -07:00
Brian Vaughn
4078167255
Removed (no longer necessary) node->node-events mapping
2019-08-14 11:43:59 -07:00
Brian Vaughn
30b8ef3756
Iterated on Webpack configs until I got the inline and shell packages seemingly working
2019-08-14 09:24:35 -07:00
Brian Vaughn
ac2e861fbe
Fixed a bunch of Lint issues
2019-08-13 21:59:07 -07:00
Brian Vaughn
183f96f2ac
Prettier
2019-08-13 17:58:03 -07:00
Brian Vaughn
edc46d7be7
Misc Flow and import fixes
...
1. Fixed all reported Flow errors
2. Added a few missing package declarations
3. Deleted ReactDebugHooks fork in favor of react-debug-tools
2019-08-13 17:53:28 -07:00
Brian Vaughn
08743b1a8e
Reorganized folders into packages/*
2019-08-13 15:59:43 -07:00
Brian Vaughn
ec7ef50e8b
Reorganized things again into packages
2019-08-13 11:37:25 -07:00