Closed ThomasKranitsas closed 5 years ago
Contest https://www.topcoder.com/challenges/30093882 has been created for this ticket.This is an automated message for thomaskranitsas via Topcoder X
Contest https://www.topcoder.com/challenges/30093882 has been updated - the new changes has been updated for this ticket.This is an automated message for thomaskranitsas via Topcoder X
Contest https://www.topcoder.com/challenges/30093882 has been updated - it has been assigned to nauhil.This is an automated message for thomaskranitsas via Topcoder X
Due to spend lots of time for deploy AWS S3 locally, still cannot testing locally.
Open ticket for other members.
Contest https://www.topcoder.com/challenges/30093882 has been updated - it has been assigned to gurmeetb.This is an automated message for thomaskranitsas via Topcoder X
@ThomasKranitsas when I click Edit on challenge, it redirects me back to HomePage with quick error screen. Can you suggest how to overcome this?
@gurmeetb you will have to create a new challenge and then click “view challenge”.
The current listings page is reading from v4 so those challenges don’t exist on v5
@ThomasKranitsas trying to push a new challenge, message: ""phases" must contain at least 1 items"
is complained. I don't see phases in UI. I tried with F2F and Code
Edit: Setting up local backend so can by pass this backend issue.
@ThomasKranitsas I have been set successfully S3 for testing. If @gurmeetb cannot finish it after 24hr. I can handle this ticket
@nauhil go ahead.
Contest https://www.topcoder.com/challenges/30093882 has been updated - it has been assigned to nauhil.This is an automated message for thomaskranitsas via Topcoder X
I follow the README.md
file https://github.com/topcoder-platform/challenge-api/blob/develop/README.md
export AUTH0_CLIENT_ID=** export AUTH0_CLIENT_SECRET=** export AUTH0_URL=https://topcoder-dev.auth0.com/oauth/token export AUTH0_AUDIENCE=https://m2m.topcoder-dev.com/
I faced the error when I update challenge though POSTMAN
Did I miss something?
looks correct. Does curling for token work?
curl --request POST \
--url https://topcoder-dev.auth0.com/oauth/token \
--header 'content-type: application/json' \
--data '{"client_id":"***INSERT THE CLIENT ID HERE***","client_secret":"***INSERT THE CLIENT SECRET HERE***","audience":"https://m2m.topcoder-dev.com/","grant_type":"client_credentials"}'
Could I use action method instead of service method in component? https://github.com/topcoder-platform/challenge-engine-ui/blob/fe0dc620838a221013389e8a6b5daafb0b190095/src/components/ChallengeEditor/index.js#L89
I can not get challenge data from props, all data of challenge in state not props. It's not best practice
For Drag&Drop File
The component should be supported drag and drop.
Does this package acceptable https://react-dropzone.netlify.com/
https://github.com/topcoder-platform/challenge-engine-ui/issues/68#issuecomment-504621561 https://github.com/topcoder-platform/challenge-engine-ui/issues/68#issuecomment-504650296
Both requirements have been finished.
One more thing, I think there should be displayed message like https://www.npmjs.com/package/react-redux-toastr when upload failure.
Any thoughts ?
Adding react-redux-toastr
sounds good
OK
Almost done. Fixing conflicts and prepare raise PR
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30093882This is an automated message for thomaskranitsas via Topcoder X
Currently, the
Attachments
section is hidden. You need to fix it so it's visible when in edit mode and integrate it with the API.Swagger: https://github.com/topcoder-platform/challenge-api/tree/develop/docs
/challenges/:challengeId/attachments
endpoint to upload an attachment./challenges/:challengeId/attachments/:attachmentId
endpoint to download an attachment.