-
Notifications
You must be signed in to change notification settings - Fork 61
Modified homepage #140
Modified homepage #140
Conversation
@sanketbansal Could you see why the tests are failing? |
Working on it |
7e153a0
to
eab5037
Compare
Codecov Report
@@ Coverage Diff @@
## master #140 +/- ##
==========================================
+ Coverage 52.06% 52.23% +0.16%
==========================================
Files 61 61
Lines 3196 3226 +30
Branches 371 374 +3
==========================================
+ Hits 1664 1685 +21
- Misses 1444 1451 +7
- Partials 88 90 +2
Continue to review full report at Codecov.
|
@sanketbansal again 137 file changes! Are all of them for this PR only? |
@sanketbansal Yes, I have already reviewed #154. Please see. |
@RishabhJain2018 @lunayach @Shekharrajak @galipremsagar please review |
205 file changes! Need to review/merge #154, I guess. |
352eb80
to
87f6a81
Compare
bc51121
to
5b73a7e
Compare
@lunayach file changes has been reduced please review |
@sanketbansal I see, that it still has |
Yeah I just kept it to show you the new base styles which needs to be add for the whole project as discussed. I will remove it after your review. |
After resolving #141, @sanketbansal resolve conflicts here. |
9d050ba
to
3830bac
Compare
@sanketbansal large no. of conflicts are for this one; please resolve them. |
Ported the image assets from angularJs application into 'image-port' directory
AngularJS home page ported to Angular 7 by converting main controller logic into Home Page class logic.
Ported styles from angularjs Application inside style-port folder
Made the footer UI similar to the angularjs application one.
Made header UI similar to Angularjs Application one.
Removed test cases to evaluate title and h1 element textContent
Removed unnecessary changes from home page
console logs removed from home page
Removed script to load github stars and forks.
Logic added for host challenge button to navigate challenge-create component
Assets removed from image-port folder and moved into image foider
Image assets moved from organization folder to partners folder
Styles from module folder removed
Duplicates removed from base.scss file
Duplicates removed from main.scss file
Unused css removed from basic .scss file
Styles relevant to component added
Unused methods removed from auth service
Added basic styles for base styles
Removed loading styles from basic.scss file
mian.scss file removed from styles-port folder
Removed styles from styles-port folder
3830bac
to
c845bbf
Compare
</div> | ||
</section> | ||
<!-- organizatons section --> | ||
<section class="ev-container ev-reverse-details text-med-black ev-super-light-bg " id="ev-scroll-down"> |
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.
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.
done
@@ -60,17 +60,4 @@ describe('HomeComponent', () => { | |||
it('should be created', () => { | |||
expect(component).toBeTruthy(); | |||
}); | |||
|
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.
I see why you have removed the test specs here. But add to TODO's to add new test cases here.
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.
done
if (this.authService.isAuth) { | ||
this.router.navigate(['/challenge-create']); | ||
} else { | ||
this.router.navigate(['/auth/login']); |
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.
Don't hard-code the URL's; like in previous PR's, define them as constants above.
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.
done
*/ | ||
ngOnInit() {} | ||
init() { | ||
const logInStatus = this.authService.isLoggedIn(); |
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.
Where are we using logInStatus
?
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.
done
src/app/services/auth.service.ts
Outdated
@@ -16,8 +16,14 @@ export class AuthService { | |||
*/ | |||
isAuth = false; | |||
|
|||
/** | |||
* Porting Ends |
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.
Remove 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.
done
src/styles/base.scss
Outdated
@@ -392,6 +393,10 @@ mat-chip { | |||
padding: 30px 40px 40px 40px; | |||
} | |||
|
|||
//.ev-md-container { |
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.
Remove 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.
done
src/styles/base.scss
Outdated
.btn-pagination:hover { | ||
background-color: $highlight; | ||
i { | ||
font-size: 16px; |
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.
font-size: 16px; | |
font-size: $fs-16; |
Also, above.
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.
done
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.
Functionality works! Minor changes needed.
ccd8c3f
to
b43c7a9
Compare
Removed unused methods and variables Removed commented lines.
b43c7a9
to
b8da7d5
Compare
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.
LGTM! @RishabhJain2018, Homepage is smooth now.
Changes proposed in this pull request: