Commit Graph
810 Commits
Author SHA1 Message Date
Brian Vaughn ee261d3442 Add source location to debug logging info 2019-06-04 08:56:10 -07:00
Brian Vaughn d8f0f83390 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 a9ebd25387 Decreased contrast of HOC badges in selected props panel 2019-06-03 12:51:04 -07:00
Brian Vaughn d8c1ce7a96 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 c6750f5734 Simplified background highlight style now that corner radius has been removed from selected highlight 2019-06-03 10:46:37 -07:00
Brian Vaughn f5f4b76903 Renamed <Guideline> to <SelectedTreeHighlight> 2019-06-03 09:39:31 -07:00
Brian Vaughn 546ff47faf Removed outdated comment and Eslint rule ignore 2019-06-03 09:33:48 -07:00
Brian Vaughn d232f320dd Reset max indentation when entering/exiting the owner tree 2019-06-03 09:32:28 -07:00
Brian Vaughn f124a4708b Add HOC component filter 2019-06-03 08:51:50 -07:00
Brian Vaughn 783bfcc143 Only shrink indentation. Don't increase it again. This avoids 'jumping'. 2019-06-03 08:01:48 -07:00
Brian Vaughn e5af119d74 Cap indentation increase at a max 2019-06-02 21:01:24 -07:00
Brian Vaughn 9c8b714e0a Removed Tree padding 2019-06-02 20:25:57 -07:00
Brian Vaughn bb68b99b3a 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 4c8baf3c7a Added HOC badge to owners list dropdown 2019-06-02 10:50:07 -07:00
Brian Vaughn b02a3253c7 Fixed box drawing chars comment 2019-06-02 10:40:10 -07:00
Brian Vaughn 67df426b2c Fixed a typo in string truncation util 2019-06-02 10:06:05 -07:00
Brian Vaughn b5030bafa7 Cleaned up how we measure children and adjust indentation size 2019-06-02 10:02:22 -07:00
Brian Vaughn 8bfcfa9290 Refactored badges to share code and show +count 2019-06-01 18:48:24 -07:00
Brian Vaughn e09ee96665 Added HOC badge to owners stack breadcrumbs 2019-06-01 18:05:59 -07:00
Brian Vaughn cbf3b81c8e Disable guide/group highlight in owners tree mode 2019-06-01 17:49:51 -07:00
Brian Vaughn 5c8441d21b Removed debounce+animation from indentation adjustment 2019-06-01 17:48:01 -07:00
Brian Vaughn cea79e1c29 Added debounce and animation for resize 2019-06-01 11:16:18 -07:00
Brian Vaughn bcbfafcb22 Tweaked guideline background color style 2019-06-01 09:34:39 -07:00
Brian Vaughn 8695fda994 Tweaked a few styles 2019-06-01 09:19:32 -07:00
Brian Vaughn 0e73b24b3d Whoops I broke CI (updating snapshots) 2019-06-01 08:44:55 -07:00
Brian Vaughn 066d47a2f5 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 4e6e7189bd Revert "Re-added indent lines"
This reverts commit 4d0d100343.
2019-05-31 14:41:20 -07:00
Brian Vaughn 4d0d100343 Re-added indent lines 2019-05-31 13:34:55 -07:00
Brian Vaughn 56cb5b3c22 Initial POC for compressing horizontal offset for wide/deep trees 2019-05-31 11:24:34 -07:00
Brian Vaughn 64b0a45df1 Show indent lines preference 2019-05-30 14:30:17 -07:00
Brian Vaughn e06f5d7f33 Remove hover guideline in favor of showing guidelines for every nesting level 2019-05-30 14:17:12 -07:00
Brian Vaughn 152e4212f5 Fixed bad Bridge disconnections 2019-05-30 09:27:28 -07:00
Brian Vaughn 6d6bf46070 Turn off pointer events for guidelines 2019-05-30 08:43:45 -07:00
Brian Vaughn 4db68a8732 Added selected and hovered guidelines to Components tree 2019-05-30 08:22:06 -07:00
Brian Vaughn fc07d2975a Backed out Bridge shutdown refactor as it seems to have introduced bugs 2019-05-29 14:23:10 -07:00
Brian Vaughn f14177d2b8 Tweaks 2019-05-28 13:57:05 -07:00
Sunil Pai 97b4b36c2b prettier 2019-05-28 20:24:35 +01:00
Sunil Pai 4e11c12896 pass tests and flow 2019-05-28 20:21:55 +01:00
Sunil Pai ac5d0bd53f Merge remote-tracking branch 'upstream/master' into act-async 2019-05-28 20:21:38 +01:00
Brian Vaughn f1de414be1 Updated Chrome installation
1. Removed auto-updates XML (since the feature doens't work for self hosted extensions)
2. Replaced CRX with packed ZIP (since people are having trouble with the CRX, and auto-udpates doesn't work anyway)
2019-05-28 08:52:21 -07:00
Brian Vaughn c39465220f Added and view-source support for Memo components 2019-05-26 10:33:19 -07:00
Brian Vaughn 77eb9ed8f0 Decreased contrast of disabled button icons to look more obviously disabled 2019-05-24 16:00:12 -07:00
Brian Vaughn eef859cc38 Updated profiler overview 2019-05-24 14:43:56 -07:00
Brian Vaughn 75ed05f0d2 Added section about inspecting element to OVERVIEW 2019-05-24 14:31:05 -07:00
Brian VaughnandGitHub 29b5c36230 Merge pull request #289 from bvaughn/cache-inspected-element
Cache inspected element data until it is updated
2019-05-24 09:26:31 -07:00
Brian Vaughn f1d7d7ec7f Reorganize inspected element state vars slightly 2019-05-24 09:17:20 -07:00
Brian Vaughn 93424cf0de Don't (re)serialize inspected elements either unless they have re-rendered since last inspected. 2019-05-24 09:07:15 -07:00
Brian Vaughn 56b861ed06 Cache inspected element data until it is updated 2019-05-24 07:37:46 -07:00
Brian Vaughn b9ae2a8664 Fix potential RTE caused by setting (saved) profiling data while profiling is in progress 2019-05-23 14:49:47 -07:00
Brian Vaughn 672dac7cb7 Handle HTTPS Git clone URLs 2019-05-23 11:55:32 -07:00