Let's make the default priority 10. We can then change it if we want.
Challenge Info and Imagery
This should be a dropdown that would fill in the right addressable address based on what brand was selected. We should use the "Default" logo address from here: Brands Google Sheet
This should autopopulate with the right PlayFab ID on load of this page, and also every time a different option is selected from the dropdown so that we do not need to manually press "Find Playfab ID" each time.
For uploading images, ideally we would use the native file explorer so that we could see a thumbnail of the image in the browse view. Once uploaded, we should also display an image preview. The image upload should put the image in the CDN and then we would load the image as a download (so image upload should be the only step before the image appears in the game for the challenge, we should not have to manually create the addressable separately) - TDD here
Let's change this so that it's only a date time picker for the challenge start date, and the rest are hours. The date time picker should:
Default to current date
The time should default to 3pm UTC (8am PST)
You should be able to type a date instead of scrolling forward 20 years if you wanted and this would still be reflect (see below)
If you select a date, the date time picker should default to the selected date (so once a date is selected it should no longer default to today's date, see below)
Challenge Timing
Challenge Requirements
Requirement 1
We shouldn't have to enter a new requirement description / bubble text when using and/or. This is for creating a requirement that would be something like "red earrings or necklace". The description would be "Style with a pair of red earrings or a red necklace". The styling bubble text could be "Red accessory". Then the parameters would be 1 Red Earrings OR 1 Red Necklace.
The requirement parameters would:
If a subcategory dropdown is left blank (e.g. as "Select Shoe Type") we would ignore it (so look at the dropdown selection before it)
Requirement Parameters
The following button should create a "Requirement 2" section following all the same logic as above with requirement parameters and things. (Sorry, I haven't hooked this up!)
Entry and Rewards
Default to 10 passes
Rewards
We'd like to be able to view all the rewards on the same screen without selecting from a dropdown, as this makes it easier to check it. After we do the work to make the rewards cumulative, we should be able to set as many or as few of the star ratings as we want. The star ratings should also be able to be set to whatever value we want - 4.8, 4.88, etc, so I've changed them here to be manual/typed inputs rather than a dropdown.
Star Rating:
Publish
Can we combine the save and publish buttons? By default, let's have draft checked and clicking save/publsh would save it as a draft.