Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use kDebugMode in error_widget.0.dart example #93408

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 2 commits into from
Apr 12, 2022

Conversation

maxzod
Copy link
Contributor

@maxzod maxzod commented Nov 10, 2021

Fixes #97479

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

@flutter-dashboard flutter-dashboard bot added d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos documentation c: contributor-productivity Team-specific productivity, code health, technical debt. labels Nov 10, 2021
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@google-cla google-cla bot added the cla: yes label Nov 10, 2021
Copy link

@ZED-Magdy ZED-Magdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I see it's a better approach

@Hixie
Copy link
Contributor

Hixie commented Jan 26, 2022

@maxzod This looks great, would you mind fixing the import order to be alphabetical? Then we can land it!

@maxzod
Copy link
Contributor Author

maxzod commented Jan 26, 2022

@maxzod This looks great, would you mind fixing the import order to be alphabetical? Then we can land it!

done .👍

Copy link
Contributor

@Hixie Hixie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ditman
Copy link
Member

ditman commented Jan 26, 2022

I think I understand what this review does, but I'm missing a better description of the change; in particular:

I listed at least one issue that this PR fixes in the description above.

Is checked in the pre-launch checklist, but there's no issue linked (or information about what this does, really).

@maxzod can you provide more context, and maybe an issue? If the problem is maybe too trivial to open a new issue in flutter/flutter, can the description of this PR be updated to provide said context/extra information?

When we go back to this PR in X months (or to maybe auto-generate a cool changelog), it should be easy to understand what this fixed, and why this needed to be done.

Thanks for the contribution!

@Hixie
Copy link
Contributor

Hixie commented Jan 26, 2022

@maxzod also if you wouldn't mind rebasing the change to tip of tree, that should unblock the tests (unfortunately your PR is branched from before a point where we had to change our tokens, so the tests are failing on old tokens).

@maxzod
Copy link
Contributor Author

maxzod commented Jan 29, 2022

@Hixie , the branch has the latest changes in the master until this comment
@ditman , i have opened a issue and listen it in the PR (#97479)

@ditman
Copy link
Member

ditman commented Feb 1, 2022

Thanks @maxzod! Note that if you list the PR as "Fixes #ISSUE_NUMBER_OR_LINK", Github will automatically link the issue and this PR, so the issue will get closed when this PR lands! (see this Github docs, very handy!).

I've done it for this PR (check the description above).

@ditman
Copy link
Member

ditman commented Feb 1, 2022

ERROR: One or more tests from rainbowmonkey failed.
Deleting temporary directory...
Contact: @Hixie

@Hixie, are the customer_testing-linux tests safe to restart? Maybe this PR needs a merge from master for CI to pass again?

@maxzod maxzod changed the title Update error_widget.0.dart Fixes #97479 Feb 1, 2022
@maxzod
Copy link
Contributor Author

maxzod commented Apr 9, 2022

when will this be merged 🤔

@ditman ditman changed the title Fixes #97479 Use kDebugMode in error_widget.0.dart example Apr 11, 2022
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@ditman
Copy link
Member

ditman commented Apr 11, 2022

Apologies @maxzod, I have been busy with other stuff and didn't see this notification. I've approved your change, and merged this with the latest master.

I've also applied the 'waiting for tree to go green' tag, so it lands as soon as all tests pass (and flutter/flutter is ready to accept new changes!)

Thanks for your contribution, keep them coming!

@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite customer_testing-linux has failed. Please fix the issues identified (or deflake) before re-applying this label.

@ditman
Copy link
Member

ditman commented Apr 11, 2022

Hey team, this very innocent-looking PR is breaking several customer tests: rfw, flutter_svg and rainbowmonkey... How come?

(Pinging owners: @goderbauer, @Hixie, @dnfield (?))

@goderbauer
Copy link
Member

This PR probably just needs to be rebased to the current master to make those errors go away.

@ditman
Copy link
Member

ditman commented Apr 11, 2022

This PR probably just needs to be rebased to the current master to make those errors go away.

@goderbauer tried that already, this branch is at the tip of master, if git is to be believed.

@ditman
Copy link
Member

ditman commented Apr 11, 2022

@dnfield might have a point (from Discord): "Make sure to explicitly use git rebase, not git merge, since rebase is the only way to get the script to find the right branch point to pick for updates to customer testing"

@ditman
Copy link
Member

ditman commented Apr 11, 2022

(Rebasing and push-forcing the branch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: contributor-productivity Team-specific productivity, code health, technical debt. d: api docs Issues with https://api.flutter.dev/ d: examples Sample code and demos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update examples/api/lib/widgets/framework/error_widget.0.dart example
6 participants