Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Modified challenge create page #150

Merged

Conversation

sanketbansal
Copy link
Contributor

@sanketbansal sanketbansal commented Jun 16, 2019

Changes proposed in this pull request:

  • Changes made in UI to make it look similar to current Eval AI application.
  • Changes made in challenge service to subscribe for api callback of createChallenge method.
  • Changes made in the logic to handle the file upload and show related errors and toast.

Screenshot from 2019-06-16 10-49-36

Screenshot from 2019-06-16 10-49-54

@codecov-io
Copy link

codecov-io commented Jun 16, 2019

Codecov Report

Merging #150 into master will decrease coverage by 0.06%.
The diff coverage is 39.47%.

@@            Coverage Diff            @@
##           master    #150      +/-   ##
=========================================
- Coverage   51.76%   51.7%   -0.07%     
=========================================
  Files          66      66              
  Lines        3624    3640      +16     
  Branches      410     412       +2     
=========================================
+ Hits         1876    1882       +6     
- Misses       1653    1663      +10     
  Partials       95      95
Impacted Files Coverage Δ
src/app/services/challenge.service.ts 46.15% <0%> (+1.43%) ⬆️
...nts/challenge-create/challenge-create.component.ts 56.14% <40.54%> (-16.09%) ⬇️
Impacted Files Coverage Δ
src/app/services/challenge.service.ts 46.15% <0%> (+1.43%) ⬆️
...nts/challenge-create/challenge-create.component.ts 56.14% <40.54%> (-16.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8467f9...c5d45ae. Read the comment docs.

@sanketbansal
Copy link
Contributor Author

@lunayach @Shekharrajak please review the PR.

@Shekharrajak
Copy link
Member

Similar commits -- #149 (comment)

@sanketbansal sanketbansal force-pushed the modified-challengeCreate branch 2 times, most recently from aa21248 to 919ea68 Compare July 19, 2019 20:44
@Shekharrajak
Copy link
Member

Still 37 file changes. I can't review it. Also, I see changes like other PRs.

@sanketbansal
Copy link
Contributor Author

Still 37 file changes. I can't review it. Also, I see changes like other PRs.

The file changes will get further reduce after merging #141 . I kept these changes as these are required for this PR also.

@Shekharrajak
Copy link
Member

Okay thanks for letting me know.

Modified app component to show loader according to authService 'isLoader' variable.
app loader component modified to accompany AngularJS application UI.
Ported the image assets from angularJs application into 'image-port' directory
Ported styles from angularjs Application inside style-port folder
Added main.scss file of ported style in the angular.json file to compile it at the time of building project.
Added font variables in ported variable file
Added font style in ported main file.
Changes made in auth services to integrate angularJS authentication features
Routing to 'auth/login' has been removed
Made the footer UI similar to the angularjs application one.
Added github fork and star button using github api
simple header added to modify the UI of the header in the dashboard
Added side bar as utility component for the side bar in the Dashboard UI
Dash footer added for improving dashboard UI
Added color property for signup button
Added styles for login button
Removed ngIf  condition from app-loading component to resolve the error:
ExpressionChangedAfterItHasBeenCheckedError
Changes made in UI to make it look similar to current Eval AI application
Changes made in challenge service to subscribe for api callback of createChallenge method.
Changes made in the logic to handle the file upload and show related errors and toast.
Styles related to challenge-create component moved from 'styles-port/modules/challenge-create.scss'
Added comma after a property in angular.json file
Duplicates removed from main.scss file
Removed unused images-port folder and styles-port folder
component styles from main.scss file
Removed html-styles from simple header component
Renamed styles class name in challenge create component
app loader component modified to accompany AngularJS application UI.
Added methods which are used by the components to start and stop the loader.
Added styles in base.scsss and variable.scss reqiored by loading component
Added styles in loading.component.scss file
Added modifed loader styles and html
Commented lines removed from simple header file
@sanketbansal sanketbansal force-pushed the modified-challengeCreate branch 6 times, most recently from 486f204 to e0ceab3 Compare July 24, 2019 06:00
@sanketbansal
Copy link
Contributor Author

@lunayach this can be reviewed also.

Removed unused styles and component folder.
Removed console logs and comments.
@lunayach
Copy link
Member

@sanketbansal can you confirm if you are able to create a host team on your end. When I navigate to Create Challenge, it redirects me to /teams/hosts. There, just an empty page appears.

@sanketbansal
Copy link
Contributor Author

@sanketbansal can you confirm if you are able to create a host team on your end. When I navigate to Create Challenge, it redirects me to /teams/hosts. There, just an empty page appears.

I think that issue should be resolved after merging #149

Copy link
Member

@lunayach lunayach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The functionality looks good. Minor changes needed.

Aligned form error with text field
Copy link
Member

@lunayach lunayach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RishabhJain2018, Looks good to be merged.

@RishabhJain2018 RishabhJain2018 merged commit 886f72c into Cloud-CV:master Aug 6, 2019
@sanketbansal sanketbansal deleted the modified-challengeCreate branch August 8, 2019 20:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants