Open ianstewart opened 3 years ago
Quick thoughts on logic for swapping out the list:
That seems like an MVP to me. It does leave the question of what to do when people want to switch away from a "deprecated" Google Font.
Thoughts on switching away from an existing font:
cc @davemart-in @kwight @apeatling @glendaviesnz as I think you may have looked at some of this logic previously.
It does leave the question of what to do when people want to switch away from a "deprecated" Google Font.
As long as we have a warning, I don't think we need any more (so I guess I vote for #2).
Does the customizer have any similar warning patterns?
We are already doing something similar with the sunsetted typekit fonts, ie. for users that had a typekit font selected they see some google font options in the list that other users do not see. There is a 'selected_fonts'
options setting which makes it easy to detect if a user already has a custom font selected.
The main thing to be aware of is that with the typekit project we decided not to update the options data in the initial phase of the project due to the risks involved, so there is a dynamic mapping of the user options data from typekit -> google font, so this will have to be maintained, or the options data updated to the matching google font.
There are some remaining tidy up stories from the typekit project that were not finished due to team changes, but there are in the View backlog and we are hoping to get to them at some point - they shouldn't affect this work though as mostly related to removing the custom-fonts-typekit plugin completely.
P2 ref: p58i-aGQ-p2
Now that we have new fonts in the Global Styles list, let's take a look at making sure they match up in the Customizer as well.
Current Global Styles List
How to see:
Current List in Customizer
How to see:
Important Note:
We will NOT be removing these fonts from the front-end of people's sites. Merely hiding them in the UI and surfacing the new list in the UI. See notes below.