Brian Vaughn
d0dcbe5594
Changed version name string to show version and date. Moved commit number into description string.
2019-08-15 14:38:16 -07:00
Brian Vaughn
0763c48ed8
Bumped all versions to 4.0.0
2019-08-15 14:28:09 -07:00
Brian Vaughn
732f3a6ef1
4.0.0-alpha.9 -> 4.0.0-alpha.10
2019-08-15 11:26:04 -07:00
Brian Vaughn
db9e5c9715
Updated all GitHub links to point to React repo
2019-08-15 11:17:59 -07:00
Brian Vaughn
a6aba5a587
Add explicit MIT license file (previously only in package.json)
2019-08-14 17:04:05 -07:00
Brian Vaughn
6eb04b2b16
4.0.0-alpha.8 -> 4.0.0-alpha.9
2019-08-12 11:34:00 -07:00
Brian Vaughn
2f1c100e7c
Misc. Profiler tweaks
...
* Disabled (with a follow up TODO) the call in the reload-and-profile toggle.
* Disabled reload-and-profile in Firefox extension for now, since it was triggering a disconnected port error.
* Fixed Safari layout bug that caused profiler charts to be hidden.
2019-08-12 11:13:38 -07:00
Brian Vaughn
8fa608d9ab
Fixed a selection-sync edge case for Elements/Components tabs
2019-08-12 10:31:50 -07:00
Brian Vaughn
8001b6432c
Fixed raw-loader + Jest problem
2019-08-12 08:49:26 -07:00
Brian Vaughn
b5195a5f16
Fixed a couple of edge case styling and layout issues I noticed while testing the inline target
2019-08-12 08:26:48 -07:00
Brian Vaughn
2eb3f4e9b8
README typofix
2019-08-06 10:45:16 -07:00
Brian Vaughn
2015a39c2e
4.0.0-alpha.7 -> 4.0.0-alpha.8
2019-08-06 10:22:12 -07:00
Brian Vaughn
e015e3d937
Added not about sync/batched root API being required
2019-08-06 08:57:34 -07:00
Brian Vaughn
2349f04478
Handle case where :root styles aren't (yet) applied when SettingsContext mounts
...
This fixes a possible bug in the inline shell where line-heights are NaN so the Tree (react-window List) gets created with a itemSize of NaN
2019-08-06 08:46:42 -07:00
Brian Vaughn
baac1dcc52
Inline package tweaks:
...
* Ignore messages from the DevTools browser extension.
* Cleanup/clarify README
2019-08-05 14:00:18 -07:00
Brian Vaughn
dc8580e64d
New NPM package react-devtools-inline ( #363 )
2019-08-05 10:09:26 -07:00
Sam Horton
6f1e283b76
feat: match HOC display names during search ( #360 )
...
* feat: match HOC display names during search
* chore: update tests for new search logic
2019-08-05 09:44:48 -07:00
Brian Vaughn
6b3ae64598
Suppress known/expected warnings and errors in local DEV shell
2019-08-04 14:33:38 -07:00
Brian Vaughn
db8542ad97
Refactor inspect/select logic so that $r contains hooks data ( #364 )
...
* Refactor inspect/select logic so that var contains hooks data
* Legacy renderer resets $r to null when inspecting non class/function element
2019-08-03 17:59:35 -07:00
Dominic Gannaway
644c9c4e1c
[Flare] useListener -> useResponder ( #362 )
2019-08-02 10:14:25 -07:00
Brian Vaughn
9727f4e88f
Don't let a DevTools or React internal error interfere with logging.
2019-08-02 09:39:39 -07:00
Brian Vaughn
abbaedd264
Updated Flow type for DevTools tab id
2019-08-02 09:27:13 -07:00
Brian Vaughn
62e5fd57a1
NPM package versions 4.0.0-alpha.5 -> 4.0.0-alpha.6
2019-08-01 08:26:32 -07:00
Brian Vaughn
51a15e0e4d
Added CHANGELOG entries for HOC badges and no in-line props
2019-08-01 07:56:10 -07:00
Brian Vaughn
aed31fdf12
Element keys are selectable text
...
Changed truncation to be CSS-driven, and enabled double-click selection of text, so that long keys could be copied from within the tree.
2019-07-31 14:48:39 -07:00
Brian Vaughn
11e7b1d290
Updated OVERVIEW doc
2019-07-31 14:22:43 -07:00
Brian Vaughn
e4ccafc099
Updated CHANGELOG based on Dan's feedback
2019-07-31 14:08:44 -07:00
Brian Vaughn
52b0c20a62
Added dynamic indentation to change log
2019-07-31 13:44:32 -07:00
Brian Vaughn
271aa75cf2
Removed the Profiler screenshot capture feature
...
This wasn't reliable because of browser extension API limitations and required serious throttling to avoid harming performance, so I've decided to just remove it entirely for now.
2019-07-31 11:36:01 -07:00
Brian Vaughn
4f8b7864ee
Add "Welcome to the new DevTools" notification
...
This dialog is shown in the browser extension the first time a user views v4. It is off by default for the standalone extension, but can be enabled via a public API.
2019-07-31 11:22:51 -07:00
Brian Vaughn
c57d2a2901
Added CHANGELOG
2019-07-31 10:50:56 -07:00
Brian Vaughn
9a36e56d34
Added missing Flow header
2019-07-28 17:21:00 -07:00
Brian Vaughn
8e2134beee
Re-add try/catch inside Agent's getIDForNode()
2019-07-28 08:42:21 -07:00
Philipp Spiess
82881ab261
Allow Inspecting Elements Within Iframes ( #355 )
...
This change adds support for element inspecting within `<iframe/>`s.
The iframes are kept in a Set so that we only append listeners once and
clean them up properly. I’ve run a few tests and it seems to behave as
expected.
The fixture includes a cross-origin iframe to make sure we do not error
in this case.
2019-07-28 08:40:02 -07:00
Brian Vaughn
50512a223b
Reverted a Webpack config change that broke browser extension styles
2019-07-27 09:30:23 -07:00
Brian Vaughn
ca4aac5014
Tweaked recent search changes
...
1. Compare element indices rather than ids (since these don't necessarily correlate)
2. Restored previous behaior when new search text reduces the number of results past the currently-selected element.
2019-07-27 09:15:53 -07:00
Fanny
29a6bf2a7b
Feature: tweak search behaviour ( #353 )
...
Merge PR #353 from @fanny
This change changes search beahvior to initially select the result nearest the currently selected element (rather than selecting the first result in the set).
2019-07-27 09:04:20 -07:00
Brian Vaughn
3b2905b690
NPM package versions 4.0.0-alpha.4 -> 4.0.0-alpha.5
2019-07-26 10:13:52 -07:00
Brian Vaughn
7385de9fc2
react-devtools-core standalone bugfix: prevent electron crash
...
CSS source maps require the style-loader to use URL.createObjectURL (rather than just a <style> tag). For some reason, this crashes Electron's webview process, which completely breaks the embedded extension inside of Nuclide and other Electron apps. This commit turns (CSS) source maps off for production builds to avoid this crash.
2019-07-26 10:13:07 -07:00
Brian Vaughn
76c67399db
Re-enabled packages backend build to be production mode (whoops)
2019-07-25 15:10:30 -07:00
Brian Vaughn
050cb8452d
4.0.0-alpha.3 -> 4.0.0-alpha.4
2019-07-25 10:26:52 -07:00
Brian Vaughn
1e8aa8105a
Re-enable "view source" button for standalone shell
...
But only do this if we can verify the element file path. This hopefully avoids the case where clicking the button does nothing because of an invalid/incomplete path.
2019-07-25 09:28:45 -07:00
Brian Vaughn
c6fb743910
Flow type cleanup
2019-07-25 09:13:45 -07:00
Dominic Gannaway
a7948e8342
[Flare] Remove the old EventComponent/EventTarget system ( #354 )
2019-07-25 08:45:59 -07:00
Brian Vaughn
270f34f7f0
Support new Flare hook, unstable_useListener
2019-07-25 08:21:41 -07:00
Brian Vaughn
8d1c829019
Reverted style-prop hiding change because it caused a regression in the browser extension
2019-07-24 15:48:48 -07:00
Brian Vaughn
c7aff5503f
4.0.0-alpha.2 -> 4.0.0-alpha.3
2019-07-24 14:46:53 -07:00
Brian Vaughn
2e8b9fad36
Make style editor inputs more obvious resemble inputs
2019-07-24 14:43:29 -07:00
Brian Vaughn
4c610950a4
Hide "style" prop if we are showing the style editor
...
Also add react-native-web to test harness
2019-07-24 14:05:56 -07:00
Brian Vaughn
9a05e0b600
Disable view-source button in standalone mode if no project roots are provided
2019-07-24 13:36:51 -07:00