这是indexloc提供的服务,不要输入任何密码
Skip to content

[Fonts] Fix icons sorting #86434

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
Jul 14, 2021
Merged

[Fonts] Fix icons sorting #86434

merged 2 commits into from
Jul 14, 2021

Conversation

guidezpl
Copy link
Member

@guidezpl guidezpl commented Jul 14, 2021

Icons that share prefixes are currently not always correctly sorted. Using shortId (e.g. 5g) rather than flutterId (e.g. five_g, five_g_outlined, five_g_rounded, five_g_sharp), keeps the variants of an icon grouped together.

Screenshot 2021-07-14 at 20 00 18

1/2 small fixes to the update_icons.dart script

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

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. c: contributor-productivity Team-specific productivity, code health, technical debt. labels Jul 14, 2021
@google-cla google-cla bot added the cla: yes label Jul 14, 2021
@guidezpl guidezpl changed the title Fix sorting Fix icons sorting Jul 14, 2021
Copy link
Contributor

@johnsonmh johnsonmh left a comment

Choose a reason for hiding this comment

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

LGTM

@guidezpl guidezpl changed the title Fix icons sorting [Fonts] Fix icons sorting Jul 14, 2021
@guidezpl guidezpl merged commit 666185c into flutter:master Jul 14, 2021
@guidezpl guidezpl deleted the flutter-icons branch July 14, 2021 21:25
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. 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.

3 participants