-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
5dad032
to
639ec30
Compare
9c14ec7
to
10cff49
Compare
@kirrg001 there shouldn't be any underscored names in the client, all properties/attributes/methods are camelCase so for example |
c34f638
to
689703a
Compare
WIP again, testing something with image deletion. |
Changes Unknown when pulling 689703a on kirrg001:fix/image-properties into ** on TryGhost:master**. |
689703a
to
9fce61d
Compare
Ok this is ready to review now. Please pull latest changes. |
refs TryGhost/Ghost#8348 - rename all image properties - e.g. author.image --> author.profile_image - test all image functionality
9fce61d
to
0d0032a
Compare
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.
Tested and LVGTM π
@@ -9,7 +9,7 @@ export default Model.extend(ValidationEngine, { | |||
title: attr('string'), | |||
description: attr('string'), | |||
logo: attr('string'), | |||
cover: attr('string'), | |||
cover_image: attr('string'), |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
no issue - discussed here TryGhost#661 (comment)
no issue - discussed here TryGhost/Admin#661 (comment)
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.
I think one place has been missed - post.author.image
here needs changing to post.author.profileImage
https://github.com/TryGhost/Ghost-Admin/blob/master/app/components/gh-posts-list-item.js#L31-L32
Otherwise LGTM π
- this one slipped through because there is no UI usage at the moment
@kevinansfield Thanks! I have pushed it as separate commit d588f21 |
no issue - discussed here TryGhost#661 (comment)
no issue - replace camelCase settings keys with underscore_case for consistency - discussed here TryGhost/Admin#661 (comment)
requires TryGhost/Ghost#8381 - all camelCase settings model attribute names received from the API are now underscore_case - discussed here #661 (comment)
refs TryGhost/Ghost#8348