-
Notifications
You must be signed in to change notification settings - Fork 25
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
API limit exceed: Show modal #184
base: master
Are you sure you want to change the base?
Conversation
We didn't specify or regulate a javascript style, but airbnb style seems to be the thing we were actually practicing. |
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.
The diff looks weird. Anyway, please follow Airbnb JavaScript style guide. We use two whitespaces as the indentation. Don't change it into four whitespaces.
Also, when you are at it is, edit all const {something}
into const { something }
would be great. I would do extensive review after this.
@wisn Thank you for reviewing my Pull Request. I will change my code to follow the airbnb style guide. I'm having problem with the state to toggle the visibility of the modal. I am not able to update state within PS: Please ignore the dark theme |
I've made the requested changes - changed space indentation to 2 spaces and changed |
@wisn Please review my PR |
@123vivekr Does the modal works now? I don't know why the deploy preview always failed |
@wisn I changed the props to functions and gave a show variable in the state. But the |
@wisn Please help figure out the cause of multiple calls to |
@gitmate-bot rebase |
Hey! I'm GitMate.io! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost permanently |
813ccae
to
774b1f0
Compare
Automated rebase with GitMate.io was successful! 🎉 |
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: 7c20ed10-278f-11e9-81eb-21ccd9c7497f |
774b1f0
to
c7aca55
Compare
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: d0613370-27d1-11e9-81eb-21ccd9c7497f |
c7aca55
to
74cd30f
Compare
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: d6fdf350-2c25-11e9-b3d3-256864349aa7 |
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: fc846d20-2c25-11e9-b3d3-256864349aa7 |
18faa87
to
20e9211
Compare
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: fb35e080-2d4b-11e9-bee6-ebd77371f46a |
@123vivekr I have no knowledge regarding react language, but regarding coding standards I have one question. Since, the code is getting repeated at 1 and 2. So, can we create a single function for it that contains the repeated code and it accepts the args/kwargs for the content which is getting changed i.e. of paragraph, header etc. |
20e9211
to
bb7ca78
Compare
@KVGarg Requested changes have been made. :) |
Also, haven't notices the number of commits before, sorry. |
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: a2b85b70-2d52-11e9-bee6-ebd77371f46a |
@KVGarg The commits are for different changes in different files. I don't think they need to be squashed. |
bb7ca78
to
16e8dd6
Compare
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: e2ea4b00-2e69-11e9-93d2-519d0ef52680 |
16e8dd6
to
fe6c57b
Compare
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: 3bba9f70-2e6d-11e9-93d2-519d0ef52680 |
aa72355
to
8627c41
Compare
This shows a modal with error message on exceeding API limit. Closes coala#127
8627c41
to
183b7f4
Compare
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: 183d46a0-2e6e-11e9-93d2-519d0ef52680 |
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: 6a3eeda0-2e6e-11e9-93d2-519d0ef52680 |
Travis tests have failedHey @123vivekr, TravisBuddy Request Identifier: b5167960-2e6e-11e9-93d2-519d0ef52680 |
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.
Dialog box not appearing when API limit got exceeded. Can you take a look why is this happening?
Browsed page url
Shows the error in a user friendly way.
Closes #127