-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Expose DEV-mode warnings in devtools UI #20463
Expose DEV-mode warnings in devtools UI #20463
Commits on Dec 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 443831b - Browse repository at this point
Copy the full SHA 443831bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a34269 - Browse repository at this point
Copy the full SHA 1a34269View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cc7fdb - Browse repository at this point
Copy the full SHA 6cc7fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59ddad1 - Browse repository at this point
Copy the full SHA 59ddad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9372221 - Browse repository at this point
Copy the full SHA 9372221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34500ea - Browse repository at this point
Copy the full SHA 34500eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 962f08c - Browse repository at this point
Copy the full SHA 962f08cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3104b1e - Browse repository at this point
Copy the full SHA 3104b1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf3f212 - Browse repository at this point
Copy the full SHA cf3f212View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b3fb89 - Browse repository at this point
Copy the full SHA 5b3fb89View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2c8e33 - Browse repository at this point
Copy the full SHA d2c8e33View commit details -
Before we had to vertically and horizontally scan. By coloring the rows, vertically is sufficient. Though I'm having a hard time in light mode. Dark mode is better.
Configuration menu - View commit details
-
Copy full SHA for dc92fef - Browse repository at this point
Copy the full SHA dc92fefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1533583 - Browse repository at this point
Copy the full SHA 1533583View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b46d94 - Browse repository at this point
Copy the full SHA 4b46d94View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae89ee8 - Browse repository at this point
Copy the full SHA ae89ee8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e41fc1 - Browse repository at this point
Copy the full SHA 6e41fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8de25ff - Browse repository at this point
Copy the full SHA 8de25ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3560c40 - Browse repository at this point
Copy the full SHA 3560c40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45f7562 - Browse repository at this point
Copy the full SHA 45f7562View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dafc3b - Browse repository at this point
Copy the full SHA 1dafc3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3e95fb - Browse repository at this point
Copy the full SHA e3e95fbView commit details
Commits on Dec 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2aafbdf - Browse repository at this point
Copy the full SHA 2aafbdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ad2e2 - Browse repository at this point
Copy the full SHA 64ad2e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 826993e - Browse repository at this point
Copy the full SHA 826993eView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb9c4ec - Browse repository at this point
Copy the full SHA eb9c4ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0a3ab3 - Browse repository at this point
Copy the full SHA f0a3ab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b59bbc - Browse repository at this point
Copy the full SHA 5b59bbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ef80bc - Browse repository at this point
Copy the full SHA 0ef80bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6192477 - Browse repository at this point
Copy the full SHA 6192477View commit details -
Tweaked inline element style for warning/error icons
Brian Vaughn committedDec 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 6e57b4d - Browse repository at this point
Copy the full SHA 6e57b4dView commit details -
Fixed minor regression in Element styles
Brian Vaughn committedDec 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 2df0740 - Browse repository at this point
Copy the full SHA 2df0740View commit details -
Split errors and warnings into separate panels
Brian Vaughn committedDec 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 52f0494 - Browse repository at this point
Copy the full SHA 52f0494View commit details
Commits on Dec 16, 2020
-
When flushing messages we use a new type of operation instead that only contains the number of warnings/errors. The messages itself are only sent as part of the inspectElement event. Already implemented a mapping from the message to a unique id. Though I'm not quite sure why we wanted to do that. Did we want to send the message only once and then ids if it repeats?
Configuration menu - View commit details
-
Copy full SHA for d64023c - Browse repository at this point
Copy the full SHA d64023cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bb99d9 - Browse repository at this point
Copy the full SHA 1bb99d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c197030 - Browse repository at this point
Copy the full SHA c197030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a3423f - Browse repository at this point
Copy the full SHA 2a3423fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9df59c6 - Browse repository at this point
Copy the full SHA 9df59c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdf5d0e - Browse repository at this point
Copy the full SHA bdf5d0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a37795 - Browse repository at this point
Copy the full SHA 3a37795View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91366be - Browse repository at this point
Copy the full SHA 91366beView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc59c71 - Browse repository at this point
Copy the full SHA cc59c71View commit details -
Cleaned up CSS colors and made some other small UI tweaks
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for d164fac - Browse repository at this point
Copy the full SHA d164facView commit details -
Only show search controls when there is search text entered. Don't show error overlay in the owners view. (We also hide search controls in this view as well, to make more room for breadcrumbs
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 860d0e7 - Browse repository at this point
Copy the full SHA 860d0e7View commit details -
Add new debug setting for showing inline warnings and errors
Refactored console patching logic to account for this new setting.
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 5cb19ac - Browse repository at this point
Copy the full SHA 5cb19acView commit details -
Strip component stacks from errors/warnings before passing them to fr…
…ontend
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 674e287 - Browse repository at this point
Copy the full SHA 674e287View commit details -
Fixed a spot I missed with new inline warnings setting
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 0e0b8c7 - Browse repository at this point
Copy the full SHA 0e0b8c7View commit details -
De-dupe warnings and errors and show badge count for duplciate entries
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 5073d81 - Browse repository at this point
Copy the full SHA 5073d81View commit details -
Fixed dedupe badge text contrast
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 99de4ff - Browse repository at this point
Copy the full SHA 99de4ffView commit details -
Oops I left a console log statement in
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 095c118 - Browse repository at this point
Copy the full SHA 095c118View commit details -
Brian Vaughn committed
Dec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for e8b7dc5 - Browse repository at this point
Copy the full SHA e8b7dc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ab78da - Browse repository at this point
Copy the full SHA 3ab78daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15122d2 - Browse repository at this point
Copy the full SHA 15122d2View commit details -
Fixed bug when calculating total error/warning count
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 26cecfa - Browse repository at this point
Copy the full SHA 26cecfaView commit details -
Merge branch 'devtools-show-warnings-in-tree' of github.com:eps1lon/r…
…eact into devtools-show-warnings-in-tree
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 1f1a161 - Browse repository at this point
Copy the full SHA 1f1a161View commit details -
Configuration menu - View commit details
-
Copy full SHA for caf8678 - Browse repository at this point
Copy the full SHA caf8678View commit details -
Fix test harness to avoid double logging
Component stack generation relies on intentionally triggering common sources of errors when shallow-rendering a component. Our inline error test harness didn't trip these paths for most components, and so it appeared to double log most of its warnings/errors. This commit fixes that.
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for a4f0059 - Browse repository at this point
Copy the full SHA a4f0059View commit details -
Added a few more test cases to the inline error test harness
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 5719f31 - Browse repository at this point
Copy the full SHA 5719f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92ebd81 - Browse repository at this point
Copy the full SHA 92ebd81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70099e5 - Browse repository at this point
Copy the full SHA 70099e5View commit details -
Show full error/warning text as tooltip on hover
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 1b6e292 - Browse repository at this point
Copy the full SHA 1b6e292View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61bf6a3 - Browse repository at this point
Copy the full SHA 61bf6a3View commit details -
Brian Vaughn committed
Dec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 46cea44 - Browse repository at this point
Copy the full SHA 46cea44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b5c8d9 - Browse repository at this point
Copy the full SHA 8b5c8d9View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 0146bc3 - Browse repository at this point
Copy the full SHA 0146bc3View commit details -
Added some basic tests for inline errors/warnings
Brian Vaughn committedDec 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 04ffb01 - Browse repository at this point
Copy the full SHA 04ffb01View commit details
Commits on Dec 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9380545 - Browse repository at this point
Copy the full SHA 9380545View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ff2c7b - Browse repository at this point
Copy the full SHA 8ff2c7bView commit details -
Brian Vaughn committed
Dec 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 5824f48 - Browse repository at this point
Copy the full SHA 5824f48View commit details -
Refactored error/warning message queueing and bundling
Brian Vaughn committedDec 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 8fc6249 - Browse repository at this point
Copy the full SHA 8fc6249View commit details -
Fixed Store tests by updating to inline snapshots
Brian Vaughn committedDec 17, 2020 Configuration menu - View commit details
-
Copy full SHA for f0ceff6 - Browse repository at this point
Copy the full SHA f0ceff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c1874c - Browse repository at this point
Copy the full SHA 1c1874cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef149c9 - Browse repository at this point
Copy the full SHA ef149c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c892ac - Browse repository at this point
Copy the full SHA 5c892acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8953cdc - Browse repository at this point
Copy the full SHA 8953cdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 268a25b - Browse repository at this point
Copy the full SHA 268a25bView commit details -
Revert "Run the minimal amount of timer necessary"
This reverts commit 268a25b.
Configuration menu - View commit details
-
Copy full SHA for 6e167a3 - Browse repository at this point
Copy the full SHA 6e167a3View commit details -
Added tests (and bug fix) for select next/prev error
Brian Vaughn committedDec 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 69410ac - Browse repository at this point
Copy the full SHA 69410acView commit details -
Fixed an error (but left a TODO for a better future fix)
Brian Vaughn committedDec 17, 2020 Configuration menu - View commit details
-
Copy full SHA for 6feb404 - Browse repository at this point
Copy the full SHA 6feb404View commit details -
Added two (failing) tests that we should fix
Brian Vaughn committedDec 17, 2020 Configuration menu - View commit details
-
Copy full SHA for da0aad2 - Browse repository at this point
Copy the full SHA da0aad2View commit details
Commits on Dec 18, 2020
-
select(Prev|Next)Error -> select(Prev|Next)ErrorOrWarning
Maybe we should've called it "Issues" instead but now that we've written it so often we might as well keep it?! Or just avoid the bikeshedding altogether...
Configuration menu - View commit details
-
Copy full SHA for 35b16ce - Browse repository at this point
Copy the full SHA 35b16ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for af1c54e - Browse repository at this point
Copy the full SHA af1c54eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a8e06 - Browse repository at this point
Copy the full SHA a0a8e06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b5d2c5 - Browse repository at this point
Copy the full SHA 5b5d2c5View commit details -
Refactored treeContext tests to use inline snapshots and Jest serializer
Brian Vaughn committedDec 18, 2020 Configuration menu - View commit details
-
Copy full SHA for 4a87383 - Browse repository at this point
Copy the full SHA 4a87383View commit details -
Inline warnings/errors should respect component filters
Adjusting filters should also update errors/warnings. Also optimized the filter update flow by adding a REMOVE_ALL operation. Lots of new tests added.
Brian Vaughn committedDec 18, 2020 Configuration menu - View commit details
-
Copy full SHA for 781d8b7 - Browse repository at this point
Copy the full SHA 781d8b7View commit details -
Add error/warning counts to serialized store snapshot
This lets us remove ugly expect-map-to-be statements
Brian Vaughn committedDec 18, 2020 Configuration menu - View commit details
-
Copy full SHA for e69c0b4 - Browse repository at this point
Copy the full SHA e69c0b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc788d8 - Browse repository at this point
Copy the full SHA bc788d8View commit details -
Don't send errors/warnings for suspended or errored subtrees
Brian Vaughn committedDec 18, 2020 1Configuration menu - View commit details
-
Copy full SHA for 22c3f4b - Browse repository at this point
Copy the full SHA 22c3f4bView commit details -
Wait to flush errors/warnings until the next commit; it's safer
Brian Vaughn committedDec 18, 2020 Configuration menu - View commit details
-
Copy full SHA for b9fa573 - Browse repository at this point
Copy the full SHA b9fa573View commit details -
Remove separate 'errorsAndWarnings' event in favor of 'mutations'
This avoids the case of one being updated without the other.
Brian Vaughn committedDec 18, 2020 Configuration menu - View commit details
-
Copy full SHA for 4c9bf65 - Browse repository at this point
Copy the full SHA 4c9bf65View commit details -
Refactored next/prev index calculation and memoized error/warning count
Brian Vaughn committedDec 18, 2020 1Configuration menu - View commit details
-
Copy full SHA for a27fc21 - Browse repository at this point
Copy the full SHA a27fc21View commit details
Commits on Dec 20, 2020
-
Serialize warn/error tally above roots
They're not counted by root currently so displaying them next to a root is misleading
Configuration menu - View commit details
-
Copy full SHA for 83991b1 - Browse repository at this point
Copy the full SHA 83991b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca5f050 - Browse repository at this point
Copy the full SHA ca5f050View commit details -
Brian Vaughn committed
Dec 20, 2020 Configuration menu - View commit details
-
Copy full SHA for 51d3cac - Browse repository at this point
Copy the full SHA 51d3cacView commit details
Commits on Dec 21, 2020
-
Added multi-root tests for tree context wrapping
Brian Vaughn committedDec 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 4174fbd - Browse repository at this point
Copy the full SHA 4174fbdView commit details -
Brian Vaughn committed
Dec 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 85ed51d - Browse repository at this point
Copy the full SHA 85ed51dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b79d1d9 - Browse repository at this point
Copy the full SHA b79d1d9View commit details -
Misc small things: Updated OVERVIEW, TODO, debug log, and minor forma…
…tting changes
Brian Vaughn committedDec 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 6f15c87 - Browse repository at this point
Copy the full SHA 6f15c87View commit details -
Cleanup after unmounted/never-mounted Fibers that have errors/warning…
…s logged
Brian Vaughn committedDec 21, 2020 Configuration menu - View commit details
-
Copy full SHA for fa41522 - Browse repository at this point
Copy the full SHA fa41522View commit details -
Auto-refresh inspected element right after cleaning warings/errors
This makes the UI feel more responsive. Ideally, we'd disable the button and wait until the update came through via something like useTransition, but implementing that would be complicated with the way DevTools is currently implemented so I chose to do it this way instead for now.
Brian Vaughn committedDec 21, 2020 Configuration menu - View commit details
-
Copy full SHA for aa5f89d - Browse repository at this point
Copy the full SHA aa5f89dView commit details -
Auto-refresh inspected element right after cleaning warings/errors
This is a temporary solution until we are using a more modern Cache in DevTools.
Brian Vaughn committedDec 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 5d10e41 - Browse repository at this point
Copy the full SHA 5d10e41View commit details
Commits on Dec 22, 2020
-
Standalone CSS style fix for warning/error count font size
Brian Vaughn committedDec 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 05a2825 - Browse repository at this point
Copy the full SHA 05a2825View commit details -
Pre-compute and cache the error/warning id-and-index tuples
Brian Vaughn committedDec 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 7e149e8 - Browse repository at this point
Copy the full SHA 7e149e8View commit details -
Small variable naming cleanup in Store
Brian Vaughn committedDec 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 5a3ae6c - Browse repository at this point
Copy the full SHA 5a3ae6cView commit details