-
Notifications
You must be signed in to change notification settings - Fork 9
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
review media upload and thumbnail upload #64
base: master
Are you sure you want to change the base?
Conversation
review_media = data.get("review_media", "") | ||
review_metadata = data.get("review_metadata") | ||
|
||
if review_media and review_metadata: |
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.
Uploading review media is already supported by making the correctly named components with metadata and location. I would like to keep the code as open as possible, and let the developers determine workflows on how to upload media. For this reason I would remove this code about uploading review media, unless you have some user case you want to support?
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.
Right, I should give that a try :-)
Hey @nebukadhezer, Thank you for this PR :)
|
|
What is the default behavior for it? Does it always propagate to the top of the hierarchy? |
9947476
to
a749f06
Compare
You add a thumb by specifiying If "propagate_thumb_to_parents" is not specified the thumb is for the assetVersion only. we can use True for 1 and False for 0 or just an int above 1 to propagate through to the number of parents
|
one more idea |
That is a very good idea! |
Currently this is done with a True/False flag: #61
Sure, I like have a single int value. I would maybe reduce the name length to |
hey |
The code looks good to me, but could you clean up the existing thumbnail behaviour?
Also some documentation for this would be great. |
Hey Toke,
this contains:
Cheers
Johannes