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
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
Brian Vaughn
89e36e3976
Wrap all calls to localStorage/sessionStorage to avoid potential runtime errors
2019-06-07 10:51:01 -07:00
Brian Vaughn
a987206a36
Fixed an overflow bug. Added mode-specific CSS style for Firefox.
2019-06-06 10:39:07 -07:00
Brian Vaughn
d1a88ffc5c
Re-add plugin-transform-react-jsx-source plugin for tests
2019-06-05 14:36:01 -07:00
Brian Vaughn
dc9b0810f9
Changed react-window alias
2019-06-05 14:33:24 -07:00
Brian Vaughn
9d90189ee3
react-window sync flushes scroll updates
2019-06-05 14:30:43 -07:00
Brian Vaughn
6ff733873c
Vendored react-window
2019-06-05 14:27:57 -07:00
Brian Vaughn
7ef5970b2f
Removed __source info from production builds
2019-06-04 17:03:13 -07:00
Brian Vaughn
1afc83e7cd
Tweaked manifest "version_name" logic
2019-06-04 14:56:36 -07:00
Sarhan Aissi
e158768b16
fix: remove version_name from Firefox WebExtension manifest
2019-06-04 22:34:20 +01:00
Brian Vaughn
7ed3f6815c
Merge pull request #295 from bvaughn/horizontal-compression
...
Components tree changes to improve HOCs and browsing deep trees
2019-06-04 13:59:22 -07:00
Brian Vaughn
2245206c4c
Add source location to debug logging info
2019-06-04 08:56:10 -07:00
Brian Vaughn
5963998fbe
Display density preference updates :root fontSize
...
As a result, paddings and sizes (e.g. tab bar heights) will also be impacted now by this preference. More importantly, Profile charts will also use the line height preference, so the 'comfortable' setting will hopefully make profiling data easier to read.
2019-06-04 07:24:14 -07:00
Brian Vaughn
95a99867f7
Decreased contrast of HOC badges in selected props panel
2019-06-03 12:51:04 -07:00
Brian Vaughn
ef139a1811
Batched tweaks and bug fixes:
...
1. Bugfix: Hide tree grouping/background coloring when inside of collapsed subtree.
2. Bugfix: Don't measure and udpate indentation when Components tab is hidden.
3. Tweak: Lower background color for selected subtree in light theme to increase contrast for text.
4. Tweak: Remove FB-specific displayName check/hack since we will address that by modifying the internal require JS transform.
2019-06-03 12:47:26 -07:00
Brian Vaughn
edfc1bb2b3
Simplified background highlight style now that corner radius has been removed from selected highlight
2019-06-03 10:46:37 -07:00
Brian Vaughn
06b004b5d4
Renamed <Guideline> to <SelectedTreeHighlight>
2019-06-03 09:39:31 -07:00
Brian Vaughn
fbc6e5d68a
Removed outdated comment and Eslint rule ignore
2019-06-03 09:33:48 -07:00
Brian Vaughn
6ac558df2d
Reset max indentation when entering/exiting the owner tree
2019-06-03 09:32:28 -07:00
Brian Vaughn
a173f4eb85
Add HOC component filter
2019-06-03 08:51:50 -07:00
Brian Vaughn
78cf211286
Only shrink indentation. Don't increase it again. This avoids 'jumping'.
2019-06-03 08:01:48 -07:00
Brian Vaughn
f713265a00
Cap indentation increase at a max
2019-06-02 21:01:24 -07:00
Brian Vaughn
8261a3f453
Removed Tree padding
2019-06-02 20:25:57 -07:00
Brian Vaughn
dc08e80037
Cache list rows by Element ID rather than index
...
This is important since we are caching element sizes by DOM (in a WeakMap). Toggling (as well as insertion/deletion) might otherwise break this in some cases.
2019-06-02 20:10:30 -07:00
Brian Vaughn
6b6e571c68
Added HOC badge to owners list dropdown
2019-06-02 10:50:07 -07:00
Brian Vaughn
27d4f0b24d
Fixed box drawing chars comment
2019-06-02 10:40:10 -07:00
Brian Vaughn
dc945f6b81
Fixed a typo in string truncation util
2019-06-02 10:06:05 -07:00
Brian Vaughn
17b04c321c
Cleaned up how we measure children and adjust indentation size
2019-06-02 10:02:22 -07:00
Brian Vaughn
3f0606f3d9
Refactored badges to share code and show +count
2019-06-01 18:48:24 -07:00
Brian Vaughn
6a69a6e991
Added HOC badge to owners stack breadcrumbs
2019-06-01 18:05:59 -07:00
Brian Vaughn
c1989448f4
Disable guide/group highlight in owners tree mode
2019-06-01 17:49:51 -07:00
Brian Vaughn
96dc003a70
Removed debounce+animation from indentation adjustment
2019-06-01 17:48:01 -07:00
Brian Vaughn
b5f8998859
Added debounce and animation for resize
2019-06-01 11:16:18 -07:00
Brian Vaughn
de9fb0a8a2
Tweaked guideline background color style
2019-06-01 09:34:39 -07:00
Brian Vaughn
ab7ae78511
Tweaked a few styles
2019-06-01 09:19:32 -07:00
Brian Vaughn
2845a7883b
Whoops I broke CI (updating snapshots)
2019-06-01 08:44:55 -07:00
Brian Vaughn
aa87b125e7
Lots of tweaks
...
Remove selected guideline in favor of background color for selected subtree.
Add badges in grid format to selected elements prop panel.
Show badges beside owners list.
2019-06-01 08:24:24 -07:00
Brian Vaughn
19d95a1368
Revert "Re-added indent lines"
...
This reverts commit 33432b037f .
2019-05-31 14:41:20 -07:00
Brian Vaughn
33432b037f
Re-added indent lines
2019-05-31 13:34:55 -07:00
Brian Vaughn
5a269e7ced
Initial POC for compressing horizontal offset for wide/deep trees
2019-05-31 11:24:34 -07:00