Brian Vaughn
11c03bf7bc
Merge pull request #120 from gaearon/mutation-index
...
Update selected index after mutation
2019-04-10 09:35:00 -07:00
Brian Vaughn
7263e768e5
Merge pull request #116 from bvaughn/issues/105
...
Add collapse/toggle UI to Tree
2019-04-10 09:31:12 -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
f1a8bd2923
Update selected index after mutation
2019-04-10 17:28:36 +01:00
Brian Vaughn
f89f2b2146
Reverted misguided index/collapsed behavior
2019-04-10 09:23:24 -07:00
Brian Vaughn
ba46f2df0a
Merge pull request #118 from gaearon/required-title
...
Add missing Button titles
2019-04-10 09:10:24 -07:00
Brian Vaughn
98240f18ae
Merge pull request #117 from gaearon/hide-shell
...
Put DevTools in dev shell above the inspector
2019-04-10 09:10:10 -07:00
Brian Vaughn
74c9904e5d
Rewrote weightDelta calculation to be more readable based on PR feedback
2019-04-10 08:59:43 -07:00
Brian Vaughn
dd84e8ff2b
Newly selected components always auto-expand their ancestors
2019-04-10 08:57:42 -07:00
Brian Vaughn
1f7f0ea691
Update Store.getIndexOfElementID to take isCollapsed into account
2019-04-10 07:53:06 -07:00
Brian Vaughn
b004a79415
Reverted some unnecessary changes to TreeContext after Dan's PR 101 was merged
2019-04-10 07:45:45 -07:00
Brian Vaughn
102267b1d6
Renamed _numElements attribute based on PR feedback
2019-04-10 07:42:32 -07:00
Brian Vaughn
61203f77cf
Hide toggle arrows in owners list mode
2019-04-10 07:42:32 -07:00
Brian Vaughn
55b3635f28
Left/right arrow toggles node collapsed state as well
2019-04-10 07:42:32 -07:00
Brian Vaughn
f7212d8035
Upgrade react-window to fix a scroll-to bug
2019-04-10 07:42:32 -07:00
Brian Vaughn
4c522c4c38
Selected search result auto-opens collapsed nodes when necessary.
...
Also fixed an unrelated bug about when we reset search index when text changes.
2019-04-10 07:42:32 -07:00
Brian Vaughn
b6df86c90c
Added toggle button to Tree > Element views
2019-04-10 07:38:40 -07:00
Brian Vaughn
79827c535b
Added isToggled boolean to tree nodes and toggleIsCollapsed() method to Store
2019-04-10 07:38:40 -07:00
Brian Vaughn
0decb17837
Merge pull request #101 from gaearon/find-nit
...
Pressing next forces search to select
2019-04-10 07:38:28 -07:00
Dan Abramov
1102fc5c11
Refactor: extract a variable
2019-04-10 15:25:03 +01:00
Dan Abramov
3eca0bbe61
Use heuristic suggested by @sophiebits
2019-04-10 15:08:13 +01:00
Dan
07299828c9
Pressing next forces search to select
2019-04-10 14:57:39 +01:00
Dan Abramov
75a4312d87
Add missing Button titles
2019-04-10 14:40:41 +01:00
Dan Abramov
84478a41ff
Put DevTools in dev shell above the inspector
2019-04-10 14:26:33 +01:00
Brian Vaughn
6d222080ad
Format logElementToConsole() slightly
2019-04-09 18:13:11 -07:00
Dan Abramov
43bb821f60
Send the bridge sync event lazily
2019-04-09 20:04:33 +01:00
Brian Vaughn
edc598e62a
Fixed Tree minWidth initial case to fill 100% width
2019-04-09 11:43:49 -07:00
Brian Vaughn
1cc219009a
Tweaked owners stack CSS to fix another overflow issue
2019-04-09 11:12:39 -07:00
Brian Vaughn
49f6a22b5b
Remember max Tree width as new nested items are rendered
2019-04-09 10:58:43 -07:00
Brian Vaughn
d6bd3dc503
Fixed owner stack size calculation bug that sometimes caused bad overflow
2019-04-09 10:18:04 -07:00
Brian Vaughn
f1fc4b0331
Merge pull request #108 from bvaughn/reach-ui-menubutton
...
Use @reach MenuButton for owner stack menu [WIP]
2019-04-09 08:58:08 -07:00
Brian Vaughn
dbf6942512
Added (local) fork of @reach/portal to unblock OwnersStack MenuButton PR
2019-04-09 08:54:43 -07:00
Brian Vaughn
a29ab9ab79
Tree arrow navigation respects event.defaultPrevented
...
This prevents Reach MenuButton operations from also changing the tree selection in the background
2019-04-09 08:37:34 -07:00
Brian Vaughn
163bc234df
Disable text selection for OwnersStack buttons
2019-04-09 08:36:54 -07:00
Brian Vaughn
db629fa073
Updated OwnersStack CSS to properly override React styles
2019-04-09 08:30:24 -07:00
Dan Abramov
4bde8f6503
Merge pull request #103 from gaearon/sad-one-way
...
Make DOM selection binding one-way
2019-04-09 13:25:08 +01:00
Dan Abramov
153666b484
Merge pull request #107 from sophiebits/flicker
...
pointer-events: none to fix flicker on Overlay "tip"
2019-04-09 11:40:47 +01:00
Brian Vaughn
ba99444515
Use @reach MenuButton for owner stack menu
2019-04-08 18:34:48 -07:00
Sophie Alpert
a2d84fa613
pointer-events: none to fix flicker on Overlay "tip"
...
If click-to-inspect then hover an element in just the right place, it flickers between two elements because this "tip" element catches the hover. This should fix it.
2019-04-08 18:26:30 -07:00
Dan
72eccb465d
Make DOM selection binding one-way
2019-04-09 01:30:40 +01:00
Dan Abramov
267ab34fbd
Merge pull request #99 from gaearon/sync-tabs
...
Sync DevTools Elements and Components tabs
2019-04-08 23:55:16 +01:00
Dan
3b793953b1
Keep DOM selection if last $0 resolves to same component
2019-04-08 23:46:47 +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
Brian Vaughn
5db5e40bf1
Replaced Agent setInterval with throttle+memoize
2019-04-08 13:50:04 -07:00
Dan Abramov
388677fcbc
Merge branch 'master' into continuous-select
2019-04-08 20:50:58 +01:00
Dan Abramov
4a301bd0e0
Sync DevTools Elements and Components tabs
2019-04-08 20:41:01 +01:00
Brian Vaughn
44ecff31e3
Fixed an unpleasant interaction with owners modal "..." button
2019-04-08 12:20:45 -07:00
Brian Vaughn
e43cfa0239
Don't re-measure owners stack sizes unnecessarily
2019-04-08 12:05:07 -07:00