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

[2.19] Add runZonedGuarded to Zones page #4403

Merged
merged 14 commits into from
Dec 20, 2022
Merged

[2.19] Add runZonedGuarded to Zones page #4403

merged 14 commits into from
Dec 20, 2022

Conversation

MaryaBelanger
Copy link
Contributor

@MaryaBelanger MaryaBelanger commented Nov 29, 2022

This page obviously needs a lot of work, so I didn't update any of the conceptual content or any other dart syntax stuff except what is directly related to changing the examples to using runZonedGuarded.

Full page update is tracked here: #4348

Closes #4224

@MaryaBelanger MaryaBelanger changed the title Add runZonedGuarded to Zones page Add runZonedGuarded to Zones page Nov 29, 2022
@MaryaBelanger MaryaBelanger changed the title Add runZonedGuarded to Zones page [2.19] Add runZonedGuarded to Zones page Nov 29, 2022
@MaryaBelanger MaryaBelanger self-assigned this Nov 29, 2022
@github-actions
Copy link

github-actions bot commented Nov 29, 2022

Visit the preview URL for this PR (updated for commit 0fc00a6):

https://dart-dev--pr4403-zones-onerror-0aw72vy3.web.app

(expires Wed, 21 Dec 2022 05:06:03 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d851bc446d3c4d7394c5406c6f07255afc7075f3

@parlough
Copy link
Member

parlough commented Nov 30, 2022

You're right, the code examples aren't currently linked to anything or tested. I'm assuming some of them don't even compile anymore or are incorrect. Adjusting the code in the Markdown should be sufficient for this change. I haven't had a chance to add code excerpts yet but I'm tracking the work in #4348. If you want me to prioritize the code excerpts, updating the code, and testing, let me know.

@atsansone atsansone changed the base branch from main to v2.19 November 30, 2022 05:26
@atsansone atsansone changed the base branch from v2.19 to main November 30, 2022 05:26
Copy link
Contributor

@atsansone atsansone left a comment

Choose a reason for hiding this comment

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

@MaryaBelanger : I noted some readability issues. Have a look. I leave most as suggestions in that what I added is a possibility, but consider working with the language in each comment.

@MaryaBelanger
Copy link
Contributor Author

Visit the preview URL for this PR (updated for commit cf8f4d5):

https://dart-dev--pr4403-zones-onerror-0aw72vy3.web.app

(expires Tue, 06 Dec 2022 19:42:38 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d851bc446d3c4d7394c5406c6f07255afc7075f3

Unrelated to the actual topic. but wondering about this. @parlough I don't think I explicitly deployed to a firebase project of mine, does this just happen automatically?

@parlough
Copy link
Member

parlough commented Nov 30, 2022

@MaryaBelanger If the build and tests pass, changes on a branch of dart-lang/site-www will be automatically staged on a temporary Firebase preview channel. Helps you avoid having to rebuild and deploy for every commit and makes it so some contributors don't necessarily need a local setup, which can be cumbersome.

@MaryaBelanger MaryaBelanger removed the request for review from mit-mit November 30, 2022 22:50
@MaryaBelanger MaryaBelanger removed the request for review from parlough December 2, 2022 19:16
Copy link
Contributor

@atsansone atsansone left a comment

Choose a reason for hiding this comment

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

@MaryaBelanger : Solid content! Just needs some tightening. I explain why instead of just offering alternatives. See what you think?

Copy link
Contributor

@atsansone atsansone left a comment

Choose a reason for hiding this comment

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

@MaryaBelanger : Great work and great points! I updated with a few questions and comments.

@parlough parlough requested review from lrhn and atsansone December 7, 2022 21:45
Copy link
Contributor

@atsansone atsansone left a comment

Choose a reason for hiding this comment

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

@parlough : Could use some tightened language.

@MaryaBelanger MaryaBelanger changed the base branch from main to v2.19 December 14, 2022 18:58
@atsansone atsansone added this to the Next Minor Release milestone Dec 20, 2022
@atsansone atsansone merged commit 68b8226 into v2.19 Dec 20, 2022
parlough added a commit that referenced this pull request Jan 23, 2023
This page obviously needs a lot of work, so I didn't update any of the
conceptual content or any other dart syntax stuff _except_ what is
directly related to changing the examples to using `runZonedGuarded`.

Full page update is tracked here:
#4348

Closes #4224

Co-authored-by: Anthony Sansone <atsansone@users.noreply.github.com>
Co-authored-by: Parker Lougheed <parlough@gmail.com>
parlough added a commit that referenced this pull request Jan 23, 2023
This page obviously needs a lot of work, so I didn't update any of the
conceptual content or any other dart syntax stuff _except_ what is
directly related to changing the examples to using `runZonedGuarded`.

Full page update is tracked here:
#4348

Closes #4224

Co-authored-by: Anthony Sansone <atsansone@users.noreply.github.com>
Co-authored-by: Parker Lougheed <parlough@gmail.com>
parlough added a commit that referenced this pull request Jan 24, 2023
This page obviously needs a lot of work, so I didn't update any of the
conceptual content or any other dart syntax stuff _except_ what is
directly related to changing the examples to using `runZonedGuarded`.

Full page update is tracked here:
#4348

Closes #4224

Co-authored-by: Anthony Sansone <atsansone@users.noreply.github.com>
Co-authored-by: Parker Lougheed <parlough@gmail.com>
parlough added a commit that referenced this pull request Jan 24, 2023
This page obviously needs a lot of work, so I didn't update any of the
conceptual content or any other dart syntax stuff _except_ what is
directly related to changing the examples to using `runZonedGuarded`.

Full page update is tracked here:
#4348

Closes #4224

Co-authored-by: Anthony Sansone <atsansone@users.noreply.github.com>
Co-authored-by: Parker Lougheed <parlough@gmail.com>
@parlough parlough deleted the zones/onError branch January 24, 2023 17:12
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.

[2.19] runZoned docs
4 participants