Skip to content
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

ISPN-5809 - View of cluster events #39

Closed
wants to merge 1 commit into from
Closed

ISPN-5809 - View of cluster events #39

wants to merge 1 commit into from

Conversation

pzapataf
Copy link
Contributor

@pzapataf pzapataf commented Feb 4, 2016

No description provided.

$scope.refreshGridEvents = function() {
$scope.gridEvents = [];
angular.forEach($scope.clusters, function(cluster){
$scope.refreshClusterEvents(cluster, 10);
Copy link

Choose a reason for hiding this comment

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

@pzapataf make 10 a variable somewhere so we can extract/configure it elsewhere if needed

@vblagoje
Copy link

vblagoje commented Feb 4, 2016

Great stuff @pzapataf If you want to experiement just a bit more make a events-service.js that will extract business logic of DMR into it and thus simplify your controller. Now we have a lot of DMR logic in controllers that we have to slowly move into services. You can do it now, if you have time and desire. If now, I'll do it soon enough across the entire codebse.

@tristantarrant
Copy link
Member

This has already been merged, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants