Skip to content

Conversation

@ipcjs
Copy link
Contributor

@ipcjs ipcjs commented Oct 29, 2022

When android uses iOS style PageTransitionsBuilder and iOS uses android style PageTransitionsBuilder, on android, swipe from the left edge of the screen doesn't work. This PR solves that problem.

#99919 introduced a breaking change, the pr re-implemented it without introducing a breaking change.**

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.

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

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Oct 29, 2022
@ipcjs ipcjs changed the title fix a bug when android uses CupertinoPageTransitionsBuilder. fix a bug when android uses CupertinoPageTransitionsBuilder without breaking change. Oct 29, 2022
@HansMuller HansMuller requested review from MitchellGoodwin and removed request for MitchellGoodwin November 4, 2022 23:08
@flutter-dashboard
Copy link

This pull request executed golden file tests, but it has not been updated in a while (20+ days). Test results from Gold expire after as many days, so this pull request will need to be updated with a fresh commit in order to get results from Gold.

For more guidance, visit Writing a golden file test for package:flutter.

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

@ipcjs ipcjs force-pushed the hotfix/page-transitions-theme-2 branch from e73f462 to 1dcda2c Compare November 28, 2022 17:30
@goderbauer
Copy link
Member

@ipcjs Looks like this change is breaking some tests. Can you please take a look and update the PR?

@goderbauer goderbauer requested a review from chunhtai March 7, 2023 23:59
@chunhtai
Copy link
Contributor

It looks like the tests are failing...

@ipcjs ipcjs force-pushed the hotfix/page-transitions-theme-2 branch from 1dcda2c to e351120 Compare March 11, 2023 11:54
@ipcjs
Copy link
Contributor Author

ipcjs commented Mar 11, 2023

All tests have passed!

@chunhtai chunhtai self-requested a review March 13, 2023 16:40
@Hixie
Copy link
Contributor

Hixie commented May 23, 2023

@ipcjs Thanks for your contribution! Is this still something you are interested in working on? It's totally fine if not, we're just checking to see what we should do with the PR. It looks like there's just one outstanding comment from @chunhtai that needs resolving before we can land it. Thanks!

@ipcjs ipcjs force-pushed the hotfix/page-transitions-theme-2 branch from 2d690f0 to 2d032a1 Compare May 28, 2023 14:11
@github-actions github-actions bot removed the framework flutter/packages/flutter repository. See also f: labels. label May 28, 2023
@ipcjs
Copy link
Contributor Author

ipcjs commented May 28, 2023

@Hixie Yes

@chunhtai chunhtai self-requested a review May 30, 2023 16:12
@chunhtai chunhtai requested a review from HansMuller June 5, 2023 20:29
@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label Jun 7, 2023
@chunhtai chunhtai self-requested a review June 7, 2023 15:45
@ipcjs ipcjs force-pushed the hotfix/page-transitions-theme-2 branch from 2d032a1 to 53d847a Compare June 18, 2023 15:23
@ipcjs ipcjs requested a review from chunhtai June 20, 2023 16:22
Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

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

Except for request for another test, the code LGTM

@chunhtai chunhtai self-requested a review June 22, 2023 15:56
Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

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

LGTM

@ipcjs ipcjs force-pushed the hotfix/page-transitions-theme-2 branch from c7a5d5d to f50b6e2 Compare June 27, 2023 16:38
@ipcjs
Copy link
Contributor Author

ipcjs commented Jun 27, 2023

I've rebase to latest master branch, but the luci-flutter test still doesn't pass.🤔️

@ipcjs
Copy link
Contributor Author

ipcjs commented Jun 27, 2023

Looks like all checks have passed!

Animation<double> animation,
Animation<double> secondaryAnimation,
Widget child,
TargetPlatform platform,
Copy link
Contributor

Choose a reason for hiding this comment

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

This is effectively a breaking change for both callers and subclassers (it does break existing internal Google apps). On the upside, it does not breaking any existing Flutter repo or customer tests (flutter/tests). A brief migration will be needed per https://docs.flutter.dev/resources/compatibility. One of the reviewers can update the internal Google apps.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should I create a migration guide in the website repository look like flutter/website#8976?

Copy link
Contributor

Choose a reason for hiding this comment

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

flutter/website#8976 looks like it covers the changes. Will land this PR and make the internal updates.

@ipcjs ipcjs changed the title fix a bug when android uses CupertinoPageTransitionsBuilder without breaking change. fix a bug when android uses CupertinoPageTransitionsBuilder... Jul 3, 2023
@HansMuller HansMuller added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 5, 2023
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jul 5, 2023
@auto-submit
Copy link
Contributor

auto-submit bot commented Jul 5, 2023

auto label is removed for flutter/flutter, pr: 114303, due to This PR has not met approval requirements for merging. You are not a member of flutter-hackers and need 1 more review(s) in order to merge this PR.

  • Merge guidelines: You need at least one approved review if you are already part of flutter-hackers or two member reviews if you are not a flutter-hacker before re-applying the autosubmit label. Reviewers: If you left a comment approving, please use the "approve" review action instead.

Copy link
Contributor

@HansMuller HansMuller left a comment

Choose a reason for hiding this comment

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

LGTM

@HansMuller HansMuller added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 5, 2023
@auto-submit auto-submit bot merged commit aaaea51 into flutter:master Jul 5, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 6, 2023
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Jul 6, 2023
flutter/flutter@35085c3...bc49cd1

2023-07-06 [email protected] Allow long-press gestures to continue even if buttons change. (flutter/flutter#127877)
2023-07-06 [email protected] Enable unreachable_from_main lint - it is stable now!!1 (flutter/flutter#129854)
2023-07-06 [email protected] Update labeler to new label names (flutter/flutter#130040)
2023-07-05 [email protected] MergeableMaterial: Fix adding a slice and separating it (flutter/flutter#128804)
2023-07-05 [email protected] Update infrastructure issue template for new priority scheme (flutter/flutter#129741)
2023-07-05 [email protected] Fix typo in canvas example (flutter/flutter#129879)
2023-07-05 [email protected] Reland Fix AnimatedList & AnimatedGrid doesn't apply MediaQuery padding #129556 (flutter/flutter#129860)
2023-07-05 [email protected] Change from "created via performance template" to "from: performance template" (flutter/flutter#130035)
2023-07-05 [email protected] Removes deprecated APIs from v2.6 in `binding.dart` and `widget_tester.dart` (flutter/flutter#129663)
2023-07-05 [email protected] Add new hot reload case string (flutter/flutter#130008)
2023-07-05 [email protected] Manual roll Flutter Engine from 987b621eac4e to bd2e42b203e1 (32 revisions) (flutter/flutter#130023)
2023-07-05 [email protected] Add simple unit tests for annotations.dart file (flutter/flutter#128902)
2023-07-05 [email protected] fix a bug when android uses CupertinoPageTransitionsBuilder... (flutter/flutter#114303)
2023-07-05 [email protected] Add .env file support for  option `--dart-define-from-file` (flutter/flutter#128668)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
HansMuller added a commit that referenced this pull request Jul 7, 2023
@HansMuller
Copy link
Contributor

Unfortunately, preliminary testing didn't turn up the failures that were caused by the breaking API change here. We've had to revert this PR: #130144.

auto-submit bot pushed a commit that referenced this pull request Jul 7, 2023
…." (#130144)

Reverts #114303

The breaking API change in #114303 broke internal tests/apps (Google internal link b/290154304) as well as external dependents: #130062. 

Fixes #130062
Jasguerrero pushed a commit to Jasguerrero/flutter that referenced this pull request Jul 7, 2023
…." (flutter#130144)

Reverts flutter#114303

The breaking API change in flutter#114303 broke internal tests/apps (Google internal link b/290154304) as well as external dependents: flutter#130062. 

Fixes flutter#130062
CaseyHillers pushed a commit that referenced this pull request Jul 7, 2023
#130155)

…." (#130144)

Reverts #114303

The breaking API change in #114303 broke internal
tests/apps (Google internal link b/290154304) as well as external
dependents: #130062.

Co-authored-by: Hans Muller <[email protected]>
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 16, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants