-
Notifications
You must be signed in to change notification settings - Fork 13
Game Submission Page #143
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
base: master
Are you sure you want to change the base?
Game Submission Page #143
Conversation
src/media/js/media-input.js
Outdated
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.
single quotes
|
Things done:
Things incomplete:
@cvan Is there a need to support both dimensions for the screenshots? When we load the game details in a game edit form, I'll render in the respective columns according to the image size ratio? |
|
yes we need to support both aspect ratios. We will alter game detail page to render appropriately. |
src/media/css/media.styl
Outdated
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.
You can't chain vendor-prefixed selectors with a comma. The browsers' CSS parsers choke. Also why WebKit? What are you trying to change?
|
Are we going to change the format of game data to support screenshots of both ratios? Actually aviary does not allow us to crop out 1024 x 768 photos (Max is like 600+?). Could you give the aviary editor (for screenshots) a shot and see? |
can you show me a screenshot? and what do you mean "crop out"? and it just needs to be an aspect ratio of 1024x768 (4:3) or 1280x720 (16:9). when developers upload full-screen screenshots, they should be in 4:3 or 16:9 (proportions of 1024x768 or 1280x720). and if they're not, we should allow the user to crop into those proportions. |
|
Things left to be done:
|
src/media/js/media-input.js
Outdated
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.
cache $(e.target) as a variable or use $(this).
|
are you guys good to go here? |
|
Hey @cvan , a few issues:
Maybe it can be like this:
Ultimately we are only concerned about the type, id and screenshot thumbnail image. It is unnecessary to parse the URL each time to extract out the ID and get the screenshot via an API (in the case of Vimeo). |
|
@yangshun I approve of these changes. thank you. |
|
r? @emoore24 @birkanu @scottmeng can you help review this? |
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.
👍
|
@cvan I have completed implementation for this page. However, I'm facing problems submitting because the Suggestions? @cvan @soedar @scottmeng |
…exists" This reverts commit b8a7880.
|
@birkanu would you be available to make the submission and editing of the game form work? Basically now the problem is that the game object is very complex and The page interaction, loading of existing games works fine. Just can't submit and save. |
|
@cvan Is it possible to merge into master before fixing the submission/editing endpoint? This pull request is getting too large >_< |



User can add multiple screenshots now, but the code needs to be polished. I am still working on it, and will be making fixes soon.