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
Brian Vaughn
ea03ddd583
Added Flow type coverage for all EventEmitter subclasses
2019-06-09 15:50:17 -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
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
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
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
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
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
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
Brian Vaughn
c0f686eed9
Show indent lines preference
2019-05-30 14:30:17 -07:00
Brian Vaughn
a2a468743f
Remove hover guideline in favor of showing guidelines for every nesting level
2019-05-30 14:17:12 -07:00
Brian Vaughn
8f8ac358c6
Turn off pointer events for guidelines
2019-05-30 08:43:45 -07:00
Brian Vaughn
ec421355bd
Added selected and hovered guidelines to Components tree
2019-05-30 08:22:06 -07:00
Brian Vaughn
bda8a0aa98
Decreased contrast of disabled button icons to look more obviously disabled
2019-05-24 16:00:12 -07:00
Brian Vaughn
f580d0ece7
Don't (re)serialize inspected elements either unless they have re-rendered since last inspected.
2019-05-24 09:07:15 -07:00