Brian Vaughn
8585ee37db
Renamed assertOneMap -> assertEmptyMap
2019-05-03 09:30:48 -07:00
Brian Vaughn
8850a9a64a
Merge branch '232-clear-profiling-data-for-unmounted-root' of https://github.com/sompylasar/react-devtools-experimental into sompylasar-232-clear-profiling-data-for-unmounted-root
2019-05-03 09:24:58 -07:00
Brian Vaughn
e71bda5257
Right-align flame graph children
2019-05-03 09:21:26 -07:00
Brian Vaughn
435e22ad1b
Fixed deploy script
2019-05-03 08:55:31 -07:00
Brian Vaughn
07281993d1
Merge pull request #242 from sompylasar/improve-flow-coverage-any
...
Improve Flow coverage by reducing typecasts through `any`
2019-05-03 08:00:47 -07:00
Brian Vaughn
868cf67aa4
Removed findCurrentFiberUsingSlowPath() in favor of findCurrentFiberUsingSlowPathById()
2019-05-03 07:56:24 -07:00
Brian Vaughn
7f4482e438
Removed optional_chaining from Flow config
2019-05-03 07:48:30 -07:00
Brian Vaughn
40ed0ca839
Merge branch '165-add-flow-types-for-fiber' of https://github.com/sompylasar/react-devtools-experimental into sompylasar-165-add-flow-types-for-fiber
2019-05-03 07:48:21 -07:00
Brian Vaughn
4bf3ac1910
Fixed broken path-selection after filter changes
2019-05-02 15:21:29 -07:00
Brian Vaughn
d7447a8458
Fixed bug in Store.getIndexOfElementID() that caused roots with multiple top-level children to return an incorrect item index
2019-05-02 15:12:57 -07:00
Brian Vaughn
4e04907d13
Added badge for enabled filter count
2019-05-02 10:53:40 -07:00
Brian Vaughn
ef596be1ef
Merge pull request #207 from sompylasar/131-highlight-all-children
...
Support highlighting of all DOM elements of Fragments, not just first
2019-05-02 08:31:22 -07:00
Brian Vaughn
1473e9efc8
Merge pull request #245 from bvaughn/custom-filtering
...
Add configurable component filters
2019-05-01 17:52:27 -07:00
Brian Vaughn
83b521c7b4
Updated Flamechart to support multiple nodes at root
2019-05-01 17:44:38 -07:00
Brian Vaughn
4a4786ac2f
Misc cleanup
2019-05-01 14:18:20 -07:00
Brian Vaughn
e6da4b9058
Renamed FilterType -> ComponentFilterType
2019-05-01 14:01:03 -07:00
Brian Vaughn
e45deb5471
Removed $FlowFixMe comments
2019-05-01 13:59:54 -07:00
Brian Vaughn
540207901d
Added some component filtering tests
2019-05-01 13:31:55 -07:00
Brian Vaughn
8429220164
Added filter UI (but with a lot of $FlowFixMe comments)
2019-05-01 10:45:18 -07:00
Brian Vaughn
0b4bfbc98f
Add support for hide-by-name and hide-by-path component filter regexps
2019-05-01 10:45:18 -07:00
Brian Vaughn
a2ba90bf96
Fixed a path selection bug when filter pereferences are updated
2019-05-01 10:45:18 -07:00
Brian Vaughn
c4c51c0821
Prevent filter preference changes while profiling is active
2019-05-01 10:45:18 -07:00
Brian Vaughn
eb9705abc8
Removed FilterList UI for now (collapsed into Settings component)
2019-05-01 10:45:18 -07:00
Brian Vaughn
a241780dc2
Filter changes are applied to the renderer without reloading
2019-05-01 10:45:18 -07:00
Brian Vaughn
27a1820039
Refactored filter preferences a bit more to be stored in the Store
2019-05-01 10:45:18 -07:00
Brian Vaughn
ee1b38e4db
Added filter preference types and plugged into renderer partly. Lots of work to do still.
2019-05-01 10:45:18 -07:00
Brian Vaughn
9db209ee64
Initial pass at adding filter-by-type Flow types and support to renderer
2019-05-01 10:45:18 -07:00
Brian Vaughn
17c5feb66a
Reorganized types shared between backend and frontend slightly.
2019-05-01 10:45:18 -07:00
Brian Vaughn
18b34b4926
Rearranged Settings UI in prep for custom filter controls
2019-05-01 10:45:18 -07:00
Brian Vaughn
a9aa9f2106
Merge pull request #251 from gaearon/devserver
...
Use WebpackDevServer for local testing
2019-05-01 09:29:43 -07:00
Dan Abramov
b9ae9393b9
Use WebpackDevServer for local testing
2019-05-01 17:19:26 +01:00
Ivan Babak
cd89c0d75f
Clear profiling data for root when the root is unmounted
...
Fixes https://github.com/bvaughn/react-devtools-experimental/issues/232
2019-05-01 01:46:47 -07:00
Ivan Babak
c6c71ef8f9
Fix profiling screenshots data structure to map rootID to commitIndex
...
Propagate `rootID` throughout the code for `captureScreenshot`.
Rename private profiling maps of `store` to make relations more clear.
Fix missing cleanup for screenshots data in `set importedProfilingData` of `store`.
2019-05-01 01:07:36 -07:00
Ivan Babak
d1f6e762e4
Improve Flow coverage by reducing typecasts through any
...
There are many unnecessary typecasts through `any` which
break the Flow of types across the program.
It's more bulletproof to avoid lying to ourselves about types.
Also fixed sketchy null check where zero ID would be skipped:
```diff
- } else if (selectedElementID) {
+ } else if (selectedElementID !== null) {
```
2019-05-01 00:31:13 -07:00
Dominic Gannaway
ec6691a687
Event API: remove isTargetDirectlyWithinEventComponent ( #15546 )
2019-04-30 17:38:48 +01:00
Brian Vaughn
abcb613223
Minor Bridge code tweaks:
...
1. Renamed a variable
2. Coerced undefined to null
3. Added a couple of console.warn() for unexpected paths
2019-04-30 09:23:11 -07:00
Brian Vaughn
5204ae87bc
Merge pull request #229 from sompylasar/217-workaround-disconnected-port-error
...
Fix for 'Attempting to use a disconnected port object'
2019-04-30 09:15:52 -07:00
Brian Vaughn
b24216a7b1
Merge pull request #234 from gaearon/nested-suspense-test
...
Add test coverage for nested Suspense
2019-04-30 08:51:58 -07:00
Brian Vaughn
9e1b1e8c91
Merge pull request #233 from gaearon/preset-env
...
Start using @babel/preset-env
2019-04-30 08:50:17 -07:00
Brian Vaughn
da951ec9bb
Merge pull request #243 from sompylasar/rename-profiler-types-to-frontend-backend-to-disambiguate
...
Rename Profiler types to disambiguate which is Frontend and Backend
2019-04-30 08:47:05 -07:00
Brian Vaughn
44205f16d9
Merge pull request #247 from sompylasar/fix-flow-on-circleci
...
Fix Flow failure on CircleCI due to the number of workers
2019-04-30 08:32:37 -07:00
Dominic Gannaway
a6e30001fb
Delete duplicate Focus.js ( #15540 )
...
This file was renamed to the lower case version, but as Mac filesystems are typically case insensitive, it was never removed.
2019-04-30 12:20:44 +01:00
Dominic Gannaway
f7993d5477
Delete duplicate Hover.js ( #15539 )
...
This file was renamed to the lower case version, but as Mac filesystems are typically case insensitive, it was never removed.
2019-04-30 12:13:07 +01:00
Dominic Gannaway
c8ee10037a
Delete duplicate Swipe.js ( #15541 )
...
This file was renamed to the lower case version, but as Mac filesystems are typically case insensitive, it was never removed.
2019-04-30 12:11:26 +01:00
Dominic Gannaway
494716c9b4
Delete duplicate Drag.js ( #15537 )
...
This file was renamed to the lower case version, but as Mac filesystems are typically case insensitive, it was never removed.
2019-04-30 12:07:24 +01:00
Dominic Gannaway
377846fef8
Delete duplicate Press.js ( #15538 )
...
This file was renamed to the lower case version, but as Mac filesystems are typically case insensitive, it was never removed.
2019-04-30 12:06:44 +01:00
Dominic Gannaway
379515e83e
Follow up to 15535 ( #15536 )
2019-04-30 12:04:19 +01:00
Dominic Gannaway
bd88982fbf
Event API: use capture for all event listeners using experimental responder system ( #15526 )
2019-04-30 11:40:45 +01:00
Ivan Babak
bfbde71657
Fix Flow failure on CircleCI due to the number of workers
...
https://github.com/flowtype/flow-bin/issues/138#issuecomment-448416874
https://github.com/flowtype/flow-bin/issues/138#issuecomment-450367472
> This will stop flow from trying to consume too many virtual CPUs (which CircleCI doesn't actually provide), letting it run to completion without first running out of memory and killing its sub processes.
The log output in CircleCI was:
https://circleci.com/gh/bvaughn/react-devtools-experimental/201
```
#!/bin/bash -eo pipefail
yarn flow
yarn run v1.10.1
$ /home/circleci/repo/node_modules/.bin/flow
Launching Flow server for /home/circleci/repo
Spawned flow server (pid=259)
Logs will go to /tmp/flow/zShomezScirclecizSrepo.log
Monitor logs will go to /tmp/flow/zShomezScirclecizSrepo.monitor_log
Launching Flow server for /home/circleci/repo
Spawned flow server (pid=361)
Logs will go to /tmp/flow/zShomezScirclecizSrepo.log
Monitor logs will go to /tmp/flow/zShomezScirclecizSrepo.monitor_log
Launching Flow server for /home/circleci/repo
Spawned flow server (pid=464)
Logs will go to /tmp/flow/zShomezScirclecizSrepo.log
Monitor logs will go to /tmp/flow/zShomezScirclecizSrepo.monitor_log
Launching Flow server for /home/circleci/repo
Spawned flow server (pid=567)
Logs will go to /tmp/flow/zShomezScirclecizSrepo.log
Monitor logs will go to /tmp/flow/zShomezScirclecizSrepo.monitor_log
Lost connection to the flow server (0 retries remaining): -Out of retries, exiting!
error Command failed with exit code 7.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Exited with code 1
```
2019-04-29 21:56:53 -07:00
Andrew Clark
72ca3c60e7
Bump scheduler version to 0.14.0 ( #15395 )
2019-04-29 18:10:11 -07:00