Ivan Babak
0b817777b4
Remove Agent addBridge: there can only be one bridge, add in constructor
...
Let's make impossible states truly impossible, and fix Flow types, too.
All three usages of Agent called addBridge right after constructing it.
Agent has one field `_bridge` which is force-typed as not-null despite
there's a temporary zone between the constructor end and addBridge start
where `_bridge` is null.
2019-04-28 04:03:28 -07:00
Wellington Cordeiro
2d8c28733d
fix: correct permissions for Firefox
...
remove the `background` permissions as it's not used by Firefox, but `activeTab` is and we needed
it.
fix #136
2019-04-22 15:12:33 -06:00
Brian Vaughn
129466ed91
Yarn deploy sets production NODE_ENV
2019-04-21 09:05:55 -07:00
Brian Vaughn
c0b414d581
Node scripts should fail if not NODE_ENV specified
2019-04-18 18:13:34 -07:00
Brian Vaughn
7930bad8c6
Deploy production extension builds
2019-04-18 14:45:24 -07:00
Dan Abramov
947e3c2c04
Add production mode to dev shell
2019-04-15 15:39:25 +01:00
Brian Vaughn
7f6fdfea95
Add package commands for creating dev builds for easier debugging
2019-04-13 18:25:56 -07:00
Dan
ce335b8975
View DOM button opens Elements tab
2019-04-13 18:59:47 +01:00
Brian Vaughn
1e08261975
Added missing instruction to Chrome install steps
2019-04-12 15:08:14 -07:00
Brian Vaughn
801bb5e33a
Udpated Firefox installation instructions
2019-04-12 14:45:39 -07:00
Brian Vaughn
670d1348f1
Chrome build+deploy script auto-increment a prerelease version
2019-04-12 14:42:34 -07:00
Brian Vaughn
26361427ae
Auto-update Chrome extension
2019-04-12 13:46:05 -07:00
Brian Vaughn
dbd1d6b0bd
Firefox only supports peristent background extensions so I've removed the persistent:false flag
2019-04-12 10:20:23 -07:00
Brian Vaughn
5d6a2082cc
Updated React test utils for newer version of act()
2019-04-12 08:55:29 -07:00
Brian Vaughn
94810b2b5a
Add Git revision to extension manifests
2019-04-11 19:06:07 -07:00
Brian Vaughn
9a0cf68a4d
Add Git revision to build version
2019-04-11 18:44:44 -07:00
Brian Vaughn
9642d26674
Added ErrorBoundary with GitHub bug link
2019-04-11 17:19:16 -07:00
Brian Vaughn
56be358847
Merge pull request #114 from gaearon/lazy-sync
...
Send the bridge sync event lazily
2019-04-10 09:28:54 -07:00
Dan Abramov
84478a41ff
Put DevTools in dev shell above the inspector
2019-04-10 14:26:33 +01:00
Dan Abramov
43bb821f60
Send the bridge sync event lazily
2019-04-09 20:04:33 +01:00
Dan
72eccb465d
Make DOM selection binding one-way
2019-04-09 01:30:40 +01:00
Dan
436912ab2d
Remove unnecessary logic
2019-04-08 23:35:01 +01:00
Dan
7aecd58d81
Nits
2019-04-08 23:28:31 +01:00
Dan
c91676b557
Don't change browser selection unless React selection changed
2019-04-08 21:57:13 +01:00
Dan Abramov
4a301bd0e0
Sync DevTools Elements and Components tabs
2019-04-08 20:41:01 +01:00
Dan Abramov
132529da79
Preserve state when switching tabs
2019-04-08 15:29:51 +01:00
Dan
80d9d8d841
Fix profiler and nits
2019-04-05 23:34:27 +01:00
Dan Abramov
d6257d382d
Expand the test fixture
2019-04-05 21:49:37 +01:00
Dan
9bcd5b2576
Fix Suspense fragment edge cases
2019-04-05 21:49:37 +01:00
Dan Abramov
9170e5695a
Fix double-adding fibers when traversing
2019-04-05 18:18:39 +01:00
Brian Vaughn
8d435595cd
Added truncation UI indicator for hooks. Addressed lint rule violations.
2019-04-04 14:09:10 -07:00
Dan Abramov
8478a526e6
Don't crash for deeply nested Hooks
2019-04-04 19:28:42 +01:00
Brian Vaughn
99f2e0da6f
Hardened background script against potential errors
2019-04-03 18:16:00 -07:00
Brian Vaughn
ed6e34da8e
Added option to disable screenshot capturing while profiling
2019-04-03 14:32:16 -07:00
Brian Vaughn
07bf8e53c1
Renamed GlobalHook content script references to injectGlobalHook to avoid confusion
2019-04-03 11:01:28 -07:00
Brian Vaughn
f92d2bbf83
Fixed editing props for memo and forwardRef components
2019-04-03 09:29:33 -07:00
Brian Vaughn
d1a68c4b14
Merge pull request #45 from gaearon/rename
...
Tab name: "Elements" -> "Components"
2019-04-02 17:55:01 -07:00
Brian Vaughn
c111288c54
Store screenshots after each commit when profiling
2019-04-02 15:04:04 -07:00
Dan Abramov
83bd211c9e
Elements -> Components (naming)
2019-04-02 19:58:18 +01:00
Dan Abramov
de730da230
Elements -> Components (label)
2019-04-02 19:54:22 +01:00
Brian Vaughn
2a80f8ca9c
Show is-recording indicator earlier after a reload-and-profile
2019-04-01 14:43:46 -07:00
Brian Vaughn
74cd1a5d29
Misc cleanup of comments and localStorage key names
2019-04-01 09:05:40 -07:00
Brian Vaughn
2c14f3e88e
Inject early on when reloading-and-profiling
2019-04-01 07:48:14 -07:00
Lucas Cordeiro
e634777027
Fix casing on store import
2019-04-01 10:25:57 -03:00
Brian Vaughn
628c1b2f08
Disable export profiling data option in Firefox. (downloads.download seems to just fail silently.)
2019-03-31 19:18:06 -07:00
Brian Vaughn
bfb152f160
Import/export feature
2019-03-31 17:02:30 -07:00
Brian Vaughn
e5400f76f0
Added save profiling data button to Profiler
2019-03-30 14:16:34 -07:00
Brian Vaughn
7d24e83989
Implemented reload-and-profile. Also fixed an couple of minor profiling bugs along the way
2019-03-27 09:41:12 -07:00
Brian Vaughn
ea5f310fe1
Webpack config injects a __DEV_ constant
2019-03-26 13:22:55 -07:00
Brian Vaughn
894990919c
Fixed a tab restoration bug in browser extension
2019-03-26 11:13:40 -07:00