Brian Vaughn
cb10c3d6da
Lintfix
2019-06-12 15:17:29 -07:00
Brian Vaughn
f6ec82553d
Support toggling Suspense from within owners list
2019-06-12 15:13:51 -07:00
Brian Vaughn
f0a29984f4
Merge pull request #320 from gaearon/own
...
Fix owner tree for legacy backend
2019-06-12 09:58:17 -07:00
Dan
4bfabbc32b
Fix owner tree for legacy backend
2019-06-12 17:56:25 +01:00
Brian Vaughn
2e40cc4b18
Merge pull request #319 from gaearon/legacy-fix
...
Fix some legacy backend bugs
2019-06-12 09:36:20 -07:00
Dan
fdf753021e
Distinguish functions and classes
2019-06-12 17:23:29 +01:00
Dan
3137553f6d
State and context are on the public instance
2019-06-12 16:50:15 +01:00
Dan
f352fe2625
Maintain rootID for lazily crawled trees
2019-06-12 16:38:35 +01:00
Dan
b5850fe304
Ignore SSR mounts
2019-06-12 16:15:58 +01:00
Timothy Yung
4d949d7641
[React Native] Replace touch discrepancy errors to warnings ( #15866 )
2019-06-12 11:37:41 +01:00
Dominic Gannaway
45acbdc0ba
[Flare] Unsure root events are removed on contextmenu ( #15862 )
2019-06-12 02:19:02 +01:00
Andrew Clark
198ed661c5
[Suspense] Use !important to hide Suspended nodes ( #15861 )
...
Suspended nodes are hidden using an inline `display: none` style. We do
this instead of removing the nodes from the DOM so that their state is
preserved when they are shown again.
Inline styles have the greatest specificity, but they are superseded by
`!important`. To prevent an external style from overriding React's, this
commit changes the hidden style to `display: none !important`.
MaYBE AnDREw sHOulD JusT LEArn Css
I attempted to write a unit test using `getComputedStyle` but JSDOM
doesn't respect `!important`. I think our existing tests are sufficient
but if we were to decide we need something more robust, I would set up
an e2e test.
2019-06-11 11:40:06 -07:00
Dan Abramov
191920605f
[Fresh] Implement missing features ( #15860 )
...
* Fix existing test
This test included a change in variable name. It wasn't needed, and distracts from the actual thing being tested (the annotation).
* Reset state on edits to initial state argument
* Add a way to check whether there are hot updates
prepareUpdate() now returns null if there are none.
* Add a way to query host nodes for families
2019-06-11 19:37:42 +01:00
Brian Vaughn
6c8ae706ee
Merge pull request #316 from gaearon/lighter
...
Make children selection lighter
2019-06-11 07:13:01 -07:00
Dan Abramov
3bca6b28cd
Make children selection lighter
2019-06-10 20:10:24 -06:00
Brian Vaughn
a08e9279ec
Merge pull request #315 from bvaughn/settings
...
Settings panel inlined
2019-06-10 15:44:23 -07:00
Brian Vaughn
dd748ef574
Moved logic to only send updated filters across Bridge to the Store (and added tests)
2019-06-10 15:36:29 -07:00
Brian Vaughn
91e3f6cd4d
Removed console.log
2019-06-10 15:05:12 -07:00
Brian Vaughn
e2e598c824
Remember last preferences tab via local storage
2019-06-10 15:03:05 -07:00
Brian Vaughn
19ed98d0c2
Removed Settings panel in favor of new shared Settings modal
2019-06-10 14:57:26 -07:00
Brian Vaughn
402a68d816
Fixed minor border bug in Profiling tab toolbar
2019-06-10 11:14:27 -07:00
Dominic Gannaway
c403ae4d35
[Flare] Move Press root event removal till click phase ( #15854 )
2019-06-10 19:08:53 +01:00
Dominic Gannaway
f4cd7a38d2
[Flare] Listen to document.body + add stopPropagation to Press ( #15853 )
2019-06-10 16:51:26 +01:00
Brian Vaughn
37c331533d
Merge pull request #173 from bvaughn/legacy
...
Support legacy React versions
2019-06-09 16:24:00 -07:00
Brian Vaughn
e66fcaf17d
Nit
2019-06-09 16:22:23 -07:00
Brian Vaughn
8f53235017
Fixed regression fixtures
2019-06-09 16:16:06 -07:00
Brian Vaughn
80bf1ba0eb
Merge branch 'master' into legacy
2019-06-09 16:00:12 -07:00
Brian Vaughn
ea03ddd583
Added Flow type coverage for all EventEmitter subclasses
2019-06-09 15:50:17 -07:00
Brian Vaughn
b3046c6e19
Merge pull request #310 from bvaughn/track-changed-props
...
Add profiling option to track why a component rendered
2019-06-08 17:45:46 -07:00
Brian Vaughn
3904d634bb
Added an explicit 'did not render' label
2019-06-08 17:36:17 -07:00
Brian Vaughn
341d1574cb
Tweaked a few inline comments
2019-06-08 17:30:11 -07:00
Brian Vaughn
9047f371e2
Fix minor toolbar border misalignment
2019-06-08 17:18:05 -07:00
Brian Vaughn
4f92af17ea
Only show "rendered at" if selected Fiber committed at least once
2019-06-08 17:17:56 -07:00
Brian Vaughn
7a72ee5ac0
Added context changes to sidebar; fixed a initial-mount detection bug
2019-06-08 17:01:38 -07:00
Brian Vaughn
5672d686dc
Fixed some minor CSS issues
2019-06-08 16:45:38 -07:00
Brian Vaughn
6ab522326d
Added a test for added/removed props
2019-06-08 11:41:39 -07:00
Brian Vaughn
a2f469d742
Fixed an increment bug in sidebar for fiber-commits
2019-06-08 09:22:30 -07:00
Brian Vaughn
2d48401346
Added context support to change description
2019-06-08 09:10:54 -07:00
Dan Abramov
fdc5ca4ba6
Remove dead code
2019-06-07 18:42:12 -07:00
Dan Abramov
90fa0adc0a
Fix lint
2019-06-07 18:37:24 -07:00
Dan Abramov
65ac53bba4
Fixes
2019-06-07 18:33:03 -07:00
Dan Abramov
ad7458bb42
Merge branch 'master' into legacy
2019-06-07 17:54:54 -07:00
Dan Abramov
9243bc194c
Rewrite to make it sturdier
2019-06-07 17:21:30 -07:00
Brian Vaughn
bd5c2e4621
Initial change tracking implemented
...
* User profiling setting
* Background collects changed props/state (not added/removed or hooks yet)
* Tests updated
2019-06-07 15:38:26 -07:00
Brian Vaughn
88e59277e7
Added HOC badges to Jest Store serialization
2019-06-07 14:10:49 -07:00
Brian Vaughn
21bb66a8c7
Added HOC filter test
2019-06-07 14:06:08 -07:00
Brian Vaughn
956935f915
Merge pull request #308 from bvaughn/dependabot/npm_and_yarn/js-yaml-3.13.1
...
Bump js-yaml from 3.12.1 to 3.13.1
2019-06-07 13:15:10 -07:00
dependabot[bot]
c2c3e8e6e5
Bump js-yaml from 3.12.1 to 3.13.1
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.1 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.1...3.13.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-06-07 20:12:54 +00:00
Brian Vaughn
78721bde4c
Backend notifies the frontend of Storage API support. Frontend disables e.g. reload-and-profile based on this.
2019-06-07 13:08:49 -07:00
Brian Vaughn
3e3c83aecd
Updated reload-and-profile temp key to use sessioStorage instead of localStorage
2019-06-07 12:40:59 -07:00