New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addresses #635 implemented statistic infobox similar to loklak #704
Conversation
|
||
</ul> | ||
</div> | ||
|
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 extra line.
{{element.name}} <span class="badge">{{element.count}}</span> | ||
</a> | ||
</li> | ||
|
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 extra line.
StatsboxComponent, | ||
], | ||
providers: [ | ||
|
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.
Since there are no providers, we can remove it.
navigation$: Observable<any>; | ||
selectedelements: Array<any> = []; | ||
changeurl(modifier, element) { | ||
|
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 extra line.
@nikhilrayaprolu Please go through the suggested changes which need to be done. Since we're in the final phase of GSoC, it would be great if we maintain code quality too. :) Fix Travis issue too. Good Work! 💯 |
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 great work 💯
|
||
} | ||
ngOnInit() { | ||
|
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.
Please remove extra line
this.querylook = Object.assign({}, query); | ||
this.navigation$ = store.select(fromRoot.getNavigation); | ||
}); | ||
|
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.
Please remove extra line
@harshit98 @Marauderer97 made the requested changes. |
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.
Good work! 💯
@mariobehling please use this new deployment link at http://susper-pr-704.herokuapp.com/ |
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.
Please resolve travis
@mariobehling done with the requested changes removed Protocol and collections since they don't make a meaning for user. I will make the distribution of Date and protocols in a new PR. |
Codecov Report
@@ Coverage Diff @@
## master #704 +/- ##
==========================================
+ Coverage 58.94% 59.29% +0.35%
==========================================
Files 46 47 +1
Lines 984 1049 +65
Branches 102 106 +4
==========================================
+ Hits 580 622 +42
- Misses 342 362 +20
- Partials 62 65 +3
Continue to review full report at Codecov.
|
|
@mariobehling updated the PR:
Regarding the large screen the problem persists on susper.com and not generated in this PR we could solve that issue in #683 |
[labels]="lineChartLabels" | ||
[options]="lineChartOptions" | ||
[chartType]="lineChartType" | ||
></canvas> |
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.
Indent this line.
} | ||
|
||
public chartHovered(e: any): void { | ||
console.log(e); |
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 console.log
public lineChartLegend: boolean = true; | ||
public lineChartType: string = 'line'; | ||
public chartClicked(e: any): void { | ||
console.log(e); |
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 console.log
@mariobehling made the requested changes Regarding a monthly wise statistics, that could be implemented if we could so statistics of all results, but presently we are just showing the results of present page because to retrieving specific fields of a result could be done only when |
a0b041a
to
7423b94
Compare
@nikhilrayaprolu Please follow up this commit: here and remove unnecessary import of modules from NotFoundComponent. |
@harshit98 sure, doing that now. |
@harshit98 updated the pull removing all extra modules |
Looks good to me now! We can merge this PR. Good work! 💯 |
Thank you! Please open an issue on the server regarding monthly and potentially weekly results. Cheers. |
Please change "Protocol Frequency" to "Protocol Distribution" in a follow up PR as well. |
👍 |
Fixes issue #635
Implemented Statistic infobox that shows top providers, authors etc
Demo Link: http://susper-pr-704.herokuapp.com/
Screenshots for the change: