Skip to content

UX improvement to banner warnings and errors #3537

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

Merged
merged 4 commits into from
Oct 4, 2022

Conversation

kenzieschmoll
Copy link
Member

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".
Screen Shot 2021-12-13 at 3 56 39 PM
(note: this error screenshot is just to show the styling, and the text here is actually shown as a warning - not an error)
Screen Shot 2021-12-13 at 4 04 44 PM

@InMatrix @cobblest

@InMatrix
Copy link

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.

@kenzieschmoll
Copy link
Member Author

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.

@kenzieschmoll
Copy link
Member Author

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.).

@Hixie
Copy link

Hixie commented Apr 26, 2022

Is there an issue # for creating those docs?

@kenzieschmoll
Copy link
Member Author

@InMatrix are you opposed to landing this?

@InMatrix
Copy link

I have no problem with merging this change.

@kenzieschmoll kenzieschmoll merged commit 2533bee into flutter:master Oct 4, 2022
@kenzieschmoll kenzieschmoll deleted the warning branch October 4, 2022 19:50
CoderDake added a commit to CoderDake/devtools that referenced this pull request Oct 10, 2022
rename release_note_helper

First step towards an official verify :D

add verify command

add ability to print markdown

make it just for a single release

plural urls
and add urls

try the stuff

Use PointerInterceptor in dialogs to allow clicks over an iFrame (flutter#4578)

UX improvement to banner warnings and errors (flutter#3537)

* UX improvement to banner warnings and errors

* review comments

* update goldens

Add Use Legacy Trace Viewer setting to the Performance page (flutter#4579)

Add button to toggle visibility of the Flutter frames chart (flutter#4577)

Bump actions/checkout from 3.0.2 to 3.1.0 (flutter#4574)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@2541b12...93ea575)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Simplify loading data into perfetto iFrame (flutter#4580)

Add --update-perfetto option to build scripts (flutter#4581)

Add details to diff. (flutter#4549)

Include the full path for Perfetto assets (flutter#4585)

* Include the full path for Perfetto assets

* fix

* review comments

Improvements for release documentation (flutter#4575)

Update feature_flags.dart (flutter#4584)

try clone repo

try new paths

Add case study for memory diffing. (flutter#4589)

Build and test DevTools from the latest flutter candidate branch (flutter#4582)

Update version tool logic for `dev` versions (flutter#4536)

Update CONTRIBUTING.md (flutter#4588)

Bump to dev version 2.19.0-dev.0 (flutter#4594)

Clicking on file name selects file (flutter#4409)

oops cd order

this has a higher likelyhood to do the trikc

uses seperate  :D
CoderDake pushed a commit to CoderDake/devtools that referenced this pull request Oct 10, 2022
* UX improvement to banner warnings and errors

* review comments

* update goldens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants