Skip to content

Conversation

@victorsanni
Copy link
Contributor

@victorsanni victorsanni commented Jul 26, 2024

Part of #148075

Pre-launch Checklist

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

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: cupertino flutter/packages/flutter/cupertino repository labels Jul 26, 2024
@victorsanni victorsanni marked this pull request as ready for review July 26, 2024 18:05
@victorsanni victorsanni changed the title Replace ligature references with characters corresponding to codepoints [cupertino/icons.dart] Replace ligature references with characters corresponding to codepoints Jul 26, 2024
@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 "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use 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.

@matanlurey
Copy link
Contributor

matanlurey commented Jul 26, 2024

The file says "BEGIN GENERATED SF SYMBOLS NAMES", but I don't see any changes to a generator - so how were these changes made?

@victorsanni
Copy link
Contributor Author

victorsanni commented Jul 26, 2024

The file says "BEGIN GENERATED SF SYMBOLS NAMES", but I don't see any changes to a generator - so how were these changes made?

I'll link the original issues in the description for more context. But the tldr is: We currently generate this file locally from this repo: https://github.com/xster/framework7-icons. This PR is the first step of many to fix that.

@matanlurey
Copy link
Contributor

I would hope we would fix the repo and move the script to this repo before making the code change - is there a reason we can't do that?

@LongCatIsLooong
Copy link
Contributor

I would hope we would fix the repo and move the script to this repo before making the code change - is there a reason we can't do that?

Yeah currenly the cupertino_icons is an asset package, moving the dart file to the cupertino_icons package will require some additional imports downstream. We're even referring to CupertinoIcons names in flutter/flutter tests without depending on that package. So I think moving the CupertinoIcons class to a package is going to be a breaking change.

Also the priority of the ligature table removal has changed. @victorsanni is working on porting the python scripts to dart, based on some initial assessments it will be a non-trivial effort to keep maintaining the ligature table so we'd like to remove things that currently depend on ligatures.

@matanlurey
Copy link
Contributor

Ok so if I understand this correctly, doing this "right" is a breaking change, so we're front-loading making this experience better for our users while we fix our process bits in the background?

test-exempt: Thanks for explaining, the trade-off seems reasonable.

@victorsanni victorsanni added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 26, 2024
@auto-submit auto-submit bot merged commit 058a45d into flutter:master Jul 26, 2024
@victorsanni victorsanni changed the title [cupertino/icons.dart] Replace ligature references with characters corresponding to codepoints [cupertino/icons.dart] Replace ligature references with codepoints for dartdoc Jul 26, 2024
@victorsanni victorsanni deleted the regenerate-cupertino-icons branch July 26, 2024 23:29
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 27, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 27, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 28, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 28, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 29, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 29, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 29, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 29, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 29, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 29, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 30, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 30, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 30, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 30, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 31, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 31, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 31, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 31, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 31, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 31, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 31, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Aug 1, 2024
Manual roll requested by [email protected]

flutter/flutter@031dc3d...4d12197

2024-07-26 [email protected] further shard Mac tool_integration_tests from 4 to 5 shards (flutter/flutter#152399)
2024-07-26 [email protected] Change flutter_build_with_compilation_error_test to check stdout or stderr (flutter/flutter#152404)
2024-07-26 [email protected] [cupertino/icons.dart] Replace ligature references with characters corresponding to codepoints (flutter/flutter#152387)
2024-07-26 [email protected] Update minimum macOS version as needed in Swift package (flutter/flutter#152347)
2024-07-26 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 3.25.14 to 3.25.15 (flutter/flutter#152401)
2024-07-26 49699333+dependabot[bot]@users.noreply.github.com Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (flutter/flutter#152400)
2024-07-26 [email protected] Update text_painter.dart (flutter/flutter#152398)
2024-07-26 [email protected] Fix some tests that fail with Swift Package Manager enabled (flutter/flutter#152267)
2024-07-26 [email protected] Reland "Launch DDS from Dart SDK and prepare to serve DevTools from DDS (#146593)" (flutter/flutter#152386)
2024-07-26 [email protected] Make `DragGestureRecognizer` abstract methods public (flutter/flutter#151627)
2024-07-26 [email protected] Fix cursor position when Unicode Zs category is entered in TextField (flutter/flutter#152215)
2024-07-26 [email protected] Roll Flutter Engine from 354abf2800a0 to e28f8755e25b (2 revisions) (flutter/flutter#152388)

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] 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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
TytaniumDev pushed a commit to TytaniumDev/flutter that referenced this pull request Aug 7, 2024
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
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: cupertino flutter/packages/flutter/cupertino repository framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants