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

languagesDirective: Adapt the /list/bears API change #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meetmangukiya
Copy link
Member

For short term contributors: we understand that getting your commits well
defined like we require is a hard task and takes some learning. If you
look to help without wanting to contribute long term there's no need
for you to learn this. Just drop us a message and we'll take care of brushing
up your stuff for merge!

Checklist

  • I read the commit guidelines and I've followed
    them.
  • I ran coala over my code locally. (All commits have to pass
    individually.
    It is not sufficient to have "fixup commits" on your PR,
    our bot will still report the issues for the previous commit.) You will
    likely receive a lot of bot comments and build failures if coala does not
    pass on every single commit!

After you submit your pull request, DO NOT click the 'Update Branch' button.
When asked for a rebase, consult coala.io/rebase
instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will
review your PRs faster!

@hemangsk
Copy link
Member

ack 2fc01e8

@meetmangukiya
Copy link
Member Author

xref: https://gitlab.com/coala/landing/merge_requests/39 is the change

Copy link
Member

@gkrishnan724 gkrishnan724 left a comment

Choose a reason for hiding this comment

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

I guess we won't be able to see the name and the modal popping up unless the MR is merged. This should work once it's merged. 👍

@@ -21,11 +21,11 @@ app.directive('languages', ['$http', '$timeout' ,function ($http, $timeout) {
$http.get(api_link + '/list/bears')
.then(function(data){
arr = []
Copy link
Member

Choose a reason for hiding this comment

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

; Please :P

Copy link
Member Author

Choose a reason for hiding this comment

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

being a semi-colon nazi :P

Copy link
Member Author

Choose a reason for hiding this comment

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

done 👍

"languages": data["data"][value]["languages"]
"name" : bear["name"],
"desc" : bear["desc"],
"languages": bear["languages"]
})
Copy link
Member

Choose a reason for hiding this comment

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

Same here ;

Copy link
Member Author

Choose a reason for hiding this comment

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

done 👍

"languages": data["data"][value]["languages"]
"name" : bear["name"],
"desc" : bear["desc"],
"languages": bear["languages"]
})
})
$scope.bearList = arr
Copy link
Member

Choose a reason for hiding this comment

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

And here ;

Copy link
Member Author

Choose a reason for hiding this comment

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

done 👍

@gitmate-bot
Copy link

Hey! This wasn't updated since a while. Please check up on it!

@hemangsk
Copy link
Member

status/blocked until https://gitlab.com/coala/landing/merge_requests/39 is merged

@@ -20,15 +20,15 @@ app.directive('languages', ['$http', '$timeout' ,function ($http, $timeout) {
$scope.lang_loader=true;
$http.get(api_link + '/list/bears')
.then(function(data){
arr = []
angular.forEach(Object.keys(data["data"]), function(value, key){
arr = [];
Copy link
Member

Choose a reason for hiding this comment

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

This ';' is unrelated to the changes. #177 (comment) was about that is not part of this problem.
@gkrishnan724, if you want changes to existing code, please create a new issue.

})
$scope.bearList = arr
$scope.bearList = arr;
Copy link
Member

Choose a reason for hiding this comment

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

as above

"name" : bear["name"],
"desc" : bear["desc"],
"languages": bear["languages"]
});
Copy link
Member

Choose a reason for hiding this comment

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

as above

@gitmate-bot
Copy link

Hey! This wasn't updated since a while. Please check up on it!

5 similar comments
@gitmate-bot
Copy link

Hey! This wasn't updated since a while. Please check up on it!

@gitmate-bot
Copy link

Hey! This wasn't updated since a while. Please check up on it!

@gitmate-bot
Copy link

Hey! This wasn't updated since a while. Please check up on it!

@gitmate-bot
Copy link

Hey! This wasn't updated since a while. Please check up on it!

@gitmate-bot
Copy link

Hey! This wasn't updated since a while. Please check up on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

7 participants