devtools
devtools copied to clipboard
UX improvement to banner warnings and errors
This changes the message on the performance page and cpu profiler page from an "error" to a "warning", and it tweaks the wording of this message. This PR also changes the message style a little bit by using an error/warning icon instead of the words "ERROR" and "WARNING".
(note: this error screenshot is just to show the styling, and the text here is actually shown as a warning - not an error)

@InMatrix @cobblest
Thanks for turning this into a PR. At the moment, there is a bit of a gap between what we tell users what they can do in debug mode and what they would find easy to do. In addition to UI improvements we might make to the perf page, I'm hoping to turn each task mentioned in the warning message (e.g., "building widgets") into a link to a how-to guide.
I'm hoping to turn each task mentioned in the warning message (e.g., "building widgets") into a link to a how-to guide.
We may be able to do this fairly soon. I know @johnpryan has been looking into writing some documentation for these features.
We will hold off on landing this PR until we have more actionable information we can point users to (flutter.dev documentation, debugging guides, etc.).
Is there an issue # for creating those docs?
@InMatrix are you opposed to landing this?
I have no problem with merging this change.