-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Font Library: font collection refactor to use the new schema #57884
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
matiasbenedetto
merged 22 commits into
try/font-library-refactor
from
try/font-collection-new-schema
Jan 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
6ca902d
google fonts collection data provisional url
matiasbenedetto 9e3c3f8
rename controller methods
matiasbenedetto 78c6941
fix get_items parameters
matiasbenedetto 399cf88
fix endpoint return
matiasbenedetto b600531
rafactor font collection class
matiasbenedetto adaebd6
fix tests for the refactored class
matiasbenedetto 2e57945
refactor font collections rest controller
matiasbenedetto cc7067f
update font collection tests
matiasbenedetto 8fe9713
update the frontend to use the new endpoint data schema
matiasbenedetto 9f4cfe2
format php
matiasbenedetto 8dcdcf2
Merge branch 'try/font-library-refactor' into try/font-collection-new…
matiasbenedetto 823a580
adding linter line ignore rul
matiasbenedetto 6dff6f1
replacing throwing an exception by calling doing_it_wrong
matiasbenedetto 778d27b
add translation marks
matiasbenedetto 3c011c8
user ternary operator
matiasbenedetto e698680
correct translation formatting and comments
matiasbenedetto 3a5b423
renaming function
matiasbenedetto 6f9463b
renaming tests
matiasbenedetto 9d1d78b
improve url matching
matiasbenedetto ed27754
return error without rest_ensure_response
matiasbenedetto ae2f519
Merge branch 'try/font-collection-new-schema' of github.com:WordPress…
matiasbenedetto 21b21d5
fix contradictory if condition
matiasbenedetto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
google fonts collection data provisional url
- Loading branch information
commit 6ca902da6cd801130d0769f0bd425c50c6ea4ce9
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the font collection registered on every request? If the font collection is only needed in wp-admin and rest api requests, maybe there is a hook we can for collection registration.