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

Font Library: Sort Google Fonts Collection by popularity #58521

Open
Tracked by #60528
creativecoder opened this issue Jan 31, 2024 · 0 comments
Open
Tracked by #60528

Font Library: Sort Google Fonts Collection by popularity #58521

creativecoder opened this issue Jan 31, 2024 · 0 comments
Labels

Comments

@creativecoder
Copy link
Contributor

What problem does this address?

Right now the Google Fonts collection json file hosted at s.wp.org uses alphabetical ordering of fonts. This requires me to scroll/page through a lot of fonts if I'm browsing for something useful.

It would be better if we could put the fonts that are more likely to be used at the top.

What is your proposed solution?

Google's webfonts API provides a sort=popularity param to list the fonts by popularity (see https://developers.google.com/fonts/docs/developer_api). We could use this when generating the collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant