Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduling profiler UX changes #22004

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Aug 2, 2021

Builds on top of #21990

  • Add a vertical scrollbar to right side when sum of view heights is larger than the canvas.
  • Fix "nested update during layout" warning to only show if the update was long.

Brian Vaughn added 22 commits July 30, 2021 19:33
Also refactored text logic into a drawText helper.
Double click on a resize view to toggle expand/collapse.

Resize bar has border and ellipsis like Chrome bar.
Vertical wheel now zooms. Horizontal wheel pans. (Vertical wheel with shift zooms.)

Wheel events of any kind clear the current tooltip as well.
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Aug 2, 2021
@bvaughn bvaughn closed this Aug 2, 2021
@bvaughn bvaughn deleted the devtools-scheduling-profiler-vertical-scroll branch August 2, 2021 13:27
@sizebot
Copy link

sizebot commented Aug 2, 2021

Comparing: b537247...eaa8c2c

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 127.58 kB 127.58 kB = 40.72 kB 40.71 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 130.40 kB 130.40 kB = 41.64 kB 41.64 kB
facebook-www/ReactDOM-prod.classic.js = 406.43 kB 406.43 kB = 75.25 kB 75.24 kB
facebook-www/ReactDOM-prod.modern.js = 394.79 kB 394.79 kB = 73.52 kB 73.52 kB
facebook-www/ReactDOMForked-prod.classic.js = 406.43 kB 406.43 kB = 75.25 kB 75.25 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against eaa8c2c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants