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
RampChart: add group by authors option #570
RampChart: add group by authors option #570
Conversation
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.
Hmm I see, but sorting of the ramp charts is done in the select-menu, where the user can sort by |
I think he meant that we can use a drop-down instead of radio buttons, to follow the style of |
@chelseyong Sorry for not explaining clearly. Using a drop-down is what I mean. |
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.
Maybe it is better to put group by
section before sort by
section?
So the order makes more sense.
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.
Hmm.. interesting indeed. However, the situation that 2 similar users have different display name but same username is quite rare. |
codacy kept failing.. The logic for |
If you are unable to resolve this Codacy issue, we can just ignore it for now, not much of an issue. |
Yes, that's a good way to resolve this problem. |
@eugenepeh thanks! Can this be merged soon to proceed with #601? |
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.
Nice 👍
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.
minor nits
sortFiltered() { | ||
let full = []; | ||
if (this.filterGroupSelection === 'groupByNone') { | ||
full[0] = this.groupByNone(this.filtered); |
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.
comment that this is making everything "under one group", not apparent on first glance
Nits to proposed message:
While grouping by repository allows users to have a rough comparison of contributions Let's add the grouping of authors as an option for users to select, and this can [1]: |
Fixes #543.