-
Notifications
You must be signed in to change notification settings - Fork 834
Add ratings block #14091
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
Add ratings block #14091
Conversation
Caution: This PR has changes that must be merged to WordPress.com |
This is an automated check which relies on |
I'm a bit confused as to why front-end styles aren't picked up (front-end should look like in the editor). I'll resume this work tomorrow with a fresh mind. |
nosolosw, Your synced wpcom patch D35777-code has been updated. |
nosolosw, Your synced wpcom patch D35777-code has been updated. |
nosolosw, Your synced wpcom patch D35777-code has been updated. |
This is ready to review. Note that I've deleted all references to
I've done this because I hope to be able to load or depend on those files in the WordPress.com code for spiciness and priciness. If we prefer just duplicate the code there I'm happy to remove these as well. Edit: note that in cc9a951 I removed these traces as well. We go for independent blocks that don't share any code. |
nosolosw, Your synced wpcom patch D35777-code has been updated. |
In reviewing D35777-code, I've noticed that a few files are missing:
Should I add them manually after this lands (so they don't get overriden) or is there any other thing I should do to register the block? |
The stars are aligned to the left of the preview window, with no padding or anything. I would expect them to be aligned to the center. |
You will indeed need to add the Let's do this together once you're ready if you'd like! |
Ah, ok. So, alignment is a user choice and by default they're left-aligned. I agree a bit more of padding could make them stand out a bit more (and also make the symbols bigger) but not sure how we would write CSS that targets the preview without compromising the other scenarios. I'd say this could be a future improvement if we wanted to. |
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.
This is looking good. I think I'll merge this now, it's in a good state and we can start testing it tomorrow with the Beta!
Just pushed 14ee7e3 to fix some comments. Will merge when the tests complete. |
* 8.0 Release: running changelog * Changelog: add #13921 * Changelog: add #13980 * Changelog: add #13905 * Changelog: add #13971 * Changelog: add #13984 * Changelog: add #14009 * Changelog: add #13620 * Remove things that will ship in 7.9.1 * Changelog: add 7.9.1 release (#14044) * Changelog: add base for 7.9.1 release * Update release date and post link * Changelog: add #14066 * Update changelog for 7.9.1 * Changelog: add #13405 * Changelog: add #13841 * Changelog: add #13924 * Changelog: add #13986 * Changelog: add #14010, #14028, #14053, #14055. * Changelog: add #14054 * Changelog: add #14031 * Changelog: add #14039 * Changelog: add #14050 * Changelog: add #14070 * Changelog: add #14082 * Changelog: add #14084 * Changelog: add #14111 * Changelog: add #13961 * Changelog: add #14047 * Changelog: add #14091 * Changelog: add #14108 * Changelog: add #14121
Please remember to commit D35777-code so that files are back to sync. Nice work on this, @nosolosw ! 🌟 |
D35777-code has also been deployed and this is already on WordPress.com |
This PR merges the existing rating block into Jetpack.