-
Notifications
You must be signed in to change notification settings - Fork 61
Conversation
Changed some of the minor styling from the current version Note: Edit description feature is not in this PR.
This PR is an extension of PR(Cloud-CV#142). Added feature to edit the challenge description using the `froala editor`.
@RishabhJain2018 @galipremsagar @Shekharrajak @lunayach Please review |
src/app/components/challenge/challengeoverview/challengeoverview.component.ts
Show resolved
Hide resolved
@Sanji515 I didn't see unit tests with this PR. Do you plan to add them? (Also, I see the current build failing.) |
@lunayach well I'm thinking to open new PR for the tests, is there anything wrong in it? |
@Sanji515 It's okay, but ideally, each PR should be accompanied with the corresponding unit tests added for the added/modified code. Isn't that the purpose of unit tests? Checking (though only to some extent) working of the added code. |
- Modified the challenge evaluation page and added the feature to edit the text and evaluation script file. - This is an extension of PR (Cloud-CV#142 & Cloud-CV#144)
…for the challenge container
@lunayach @Shekharrajak @galipremsagar @RishabhJain2018 Please review |
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.
Can you try to write some testcases for your newly(you can try for the old one as well) created method otherwise later on no one will check all the UI if they are breaking any existing feature or functionality.
@Shekharrajak As other PR's dependent on each other so without merging you cannot review the functionality of other PR's, so thinking to open separate PR's for the tests as they are merged into master |
Okay! You can open a WIP PR titled 'Specs of challenge overview page #142 ', because I don't want to forget it because it is common that developers write code and after new release old functionalities break, because of improper maintenance and specs. |
@Shekharrajak I've applied the changes, please review |
@Shekharrajak Please review |
Hey @Shekharrajak I've formatted the code, please review if it looks good to you |
Instead of const made the apiCall a component variable so that it will be easy to write the test for the API call
@Shekharrajak Please review |
Changes proposed in this pull request:
Changed some of the minor styling from the current version like border-radius of the card from
4px
to10px
and similar other things alsoLink to live demo: http://pr-142-evalai.surge.sh
Note: Edit challenge description is not in this PR, will open another PR for that
Screenshot: