Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[webview_flutter] Fix typo #6650

Merged
merged 4 commits into from
Nov 4, 2022
Merged

[webview_flutter] Fix typo #6650

merged 4 commits into from
Nov 4, 2022

Conversation

fzyzcjy
Copy link
Contributor

@fzyzcjy fzyzcjy commented Nov 2, 2022

Just one char fix :) Realize this when reading through the code trying to fix a real bug

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 relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • 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.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

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

@github-actions github-actions bot added the p: webview_flutter Edits files for a webview_flutter plugin label Nov 2, 2022
Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks! This still needs a minor version bump since it changes code the client uses. Otherwise, it looks good.

@fzyzcjy
Copy link
Contributor Author

fzyzcjy commented Nov 2, 2022

This still needs a minor version bump since it changes code the client uses

Hi, it looks like it is a private method (start with underline) so client can never touch it?

@bparrishMines
Copy link
Contributor

Yes, but it is still changing code that is ran by the client and doesn't fall under any of the categories for an exception: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#version.

This change is pretty trivial, so you could just update the CHANGELOG: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#updating-a-changelog-that-has-a-next

@fzyzcjy
Copy link
Contributor Author

fzyzcjy commented Nov 3, 2022

@bparrishMines Oh yes, I did not realize it does not fall under any category (surprisingly), thanks for pointing out.

@bparrishMines bparrishMines added the override: no versioning needed Override the check requiring version bumps for most changes label Nov 3, 2022
Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

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

LGTM

@stuartmorgan for secondary review

Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

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

I did not realize it does not fall under any category (surprisingly)

The reason there's no exception category for "changes to runtime code that don't actually affect anything" is that in practice—since it would be entirely subject to human judgment—it would actually be "changes to runtime code that weren't intended to affect anything".

I've seen (and been the cause of) many examples over the years of changes that weren't expected to change anything, but actually did. Batching those with other changes undermines the

makes regressions easier to pinpoint

part of the policy's goals.

@@ -5,6 +5,7 @@
* Fixes avoid_redundant_argument_values lint warnings and minor typos.
* Ignores unnecessary import warnings in preparation for [upcoming Flutter changes](https://github.com/flutter/flutter/pull/104231).
* Updates references to the obsolete master branch.
* Fix typo from lowercase to uppercase
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to follow the changelog style guide linked from the PR description.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

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

LGTM

You'll need to merge in the latest main to fix the unrelated CI failures, and request a test exemption from Hixie.

@Hixie
Copy link
Contributor

Hixie commented Nov 4, 2022

test-exemption: code refactor with no semantic change

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

@Hixie Hixie added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 4, 2022
@auto-submit auto-submit bot merged commit 0e5e90f into flutter:main Nov 4, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 7, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 7, 2022
* 3ec3cc1e2 Add `Mac_x64 darwin_lint_podspecs` to LUCI (flutter/plugins#6637)

* 0e5e90f6c [webview_flutter] Fix typo (flutter/plugins#6650)

* f04ef7309 Roll Flutter from 55e8cd1 to e0e7027 (20 revisions) (flutter/plugins#6673)

* 3ca34103d Roll Flutter from e0e7027 to 5ea5a53 (7 revisions) (flutter/plugins#6675)
IVLIVS-III pushed a commit to IVLIVS-III/flutter_plugins_fork that referenced this pull request Nov 11, 2022
* Update webview.dart

* Update CHANGELOG.md

* Update CHANGELOG.md
adam-harwood pushed a commit to adam-harwood/flutter_plugins that referenced this pull request Nov 21, 2022
* Update webview.dart

* Update CHANGELOG.md

* Update CHANGELOG.md
shogohida pushed a commit to shogohida/flutter that referenced this pull request Dec 7, 2022
…#114813)

* 3ec3cc1e2 Add `Mac_x64 darwin_lint_podspecs` to LUCI (flutter/plugins#6637)

* 0e5e90f6c [webview_flutter] Fix typo (flutter/plugins#6650)

* f04ef7309 Roll Flutter from 55e8cd1 to e0e7027 (20 revisions) (flutter/plugins#6673)

* 3ca34103d Roll Flutter from e0e7027 to 5ea5a53 (7 revisions) (flutter/plugins#6675)
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…#114813)

* 3ec3cc1e2 Add `Mac_x64 darwin_lint_podspecs` to LUCI (flutter/plugins#6637)

* 0e5e90f6c [webview_flutter] Fix typo (flutter/plugins#6650)

* f04ef7309 Roll Flutter from 55e8cd1 to e0e7027 (20 revisions) (flutter/plugins#6673)

* 3ca34103d Roll Flutter from e0e7027 to 5ea5a53 (7 revisions) (flutter/plugins#6675)
mauricioluz pushed a commit to mauricioluz/plugins that referenced this pull request Jan 26, 2023
* Update webview.dart

* Update CHANGELOG.md

* Update CHANGELOG.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App needs tests override: no versioning needed Override the check requiring version bumps for most changes p: webview_flutter Edits files for a webview_flutter plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants