-
Notifications
You must be signed in to change notification settings - Fork 33
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
Implement Sort option on the Dashboard page #3352
Conversation
ee1368b
to
f190e84
Compare
f190e84
to
9c2aae9
Compare
return a.apiName.localeCompare(b.apiName, language); | ||
}); | ||
|
||
break; |
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.
Break statement is not needed in the last block of switch.
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.
Looks good to me!
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.
Some minor changes.
} | ||
|
||
return count; | ||
// Return boolean value of available overviewChart response |
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 seems to be a copy from above, correct it.
}, | ||
groupingApiIds () { | ||
gorupingBackendIds (proxyId) { |
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.
gorupingBackendIds --> groupingBackendIds
const proxyId = FlowRouter.getQueryParam('proxy_id'); | ||
if (proxyId) { | ||
// Get Proxy backend IDs for grouping | ||
Meteor.call('gorupingBackendIds', proxyId, (err, res) => { |
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.
gorupingBackendIds --> groupingBackendIds
- groupingApiIds remake to groupingBackendIds. Now there returns IDs of Proxy Backends - Changed summaryStatisticNumber method: add parameter proxyBackendIds - Removed summaryStatisticTrend method - Added totalNumberRequestsAndTrend method: return total number for current period and comparison data with previous period - Code refactoring, clean up
9c2aae9
to
f9103fd
Compare
@matleppa Done |
Closes #2758
Implement the sort feature, sort by name (a-z), calls (desc), user count (desc), response time(desc)
Changes
Developer checklist
This checklist is to be completed by the PR developer:
Reviewer checklist
Reviewed by: @username1
This list is to be completed by the pull request reviewer: