gh-board icon indicating copy to clipboard operation
gh-board copied to clipboard

API limit exceed: Show modal

Open 123vivekr opened this issue 6 years ago • 29 comments

Shows the error in a user friendly way.

Closes https://github.com/coala/gh-board/issues/127

123vivekr avatar Jan 17 '19 05:01 123vivekr

@jayvdb @blazeu which JavaScript style guide we use for this repository? Is it Airbnb? I would like to review this pull request.

wisn avatar Jan 17 '19 13:01 wisn

We didn't specify or regulate a javascript style, but airbnb style seems to be the thing we were actually practicing.

li-boxuan avatar Jan 17 '19 17:01 li-boxuan

@wisn Thank you for reviewing my Pull Request. I will change my code to follow the airbnb style guide.

This is the modal. 20190117_100548

I'm having problem with the state to toggle the visibility of the modal. I am not able to update state within static defaultProps object. Please guide me on what changes I have to make here. Consequently, the Ok button does not do anything.

PS: Please ignore the dark theme

123vivekr avatar Jan 18 '19 03:01 123vivekr

I've made the requested changes - changed space indentation to 2 spaces and changed const {identifier} to const { identifier }

123vivekr avatar Jan 23 '19 16:01 123vivekr

@wisn Please review my PR

123vivekr avatar Jan 30 '19 16:01 123vivekr

@123vivekr Does the modal works now? I don't know why the deploy preview always failed

wisn avatar Jan 31 '19 03:01 wisn

@wisn I changed the props to functions and gave a show variable in the state. But the onResolve and onError functions are called (which in turn calls setState) multiple times and causes an infinite loop.

123vivekr avatar Feb 02 '19 10:02 123vivekr

@wisn Please help figure out the cause of multiple calls to onError and onResolve.

123vivekr avatar Feb 02 '19 10:02 123vivekr

@gitmate-bot rebase

jayvdb avatar Feb 03 '19 08:02 jayvdb

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 :warning:

gitmate-bot avatar Feb 03 '19 08:02 gitmate-bot

Automated rebase with GitMate.io was successful! :tada:

gitmate-bot avatar Feb 03 '19 08:02 gitmate-bot

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 7c20ed10-278f-11e9-81eb-21ccd9c7497f

TravisBuddy avatar Feb 03 '19 08:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: d0613370-27d1-11e9-81eb-21ccd9c7497f

TravisBuddy avatar Feb 03 '19 16:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 49629480-27d7-11e9-81eb-21ccd9c7497f

TravisBuddy avatar Feb 03 '19 17:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 167fa660-2c24-11e9-b5fe-e1edd527e2d3

TravisBuddy avatar Feb 09 '19 04:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: d6fdf350-2c25-11e9-b3d3-256864349aa7

TravisBuddy avatar Feb 09 '19 04:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: fc846d20-2c25-11e9-b3d3-256864349aa7

TravisBuddy avatar Feb 09 '19 04:02 TravisBuddy

20190210_211950 This is the final modal.

123vivekr avatar Feb 10 '19 15:02 123vivekr

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: fb35e080-2d4b-11e9-bee6-ebd77371f46a

TravisBuddy avatar Feb 10 '19 15:02 TravisBuddy

@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. If that is possible it will be much good.

KVGarg avatar Feb 10 '19 16:02 KVGarg

@KVGarg Requested changes have been made. :) Thank you for the suggestion

123vivekr avatar Feb 10 '19 16:02 123vivekr

Also, haven't notices the number of commits before, sorry. Last change, Please squash your commits. After that :100:

KVGarg avatar Feb 10 '19 16:02 KVGarg

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: a2b85b70-2d52-11e9-bee6-ebd77371f46a

TravisBuddy avatar Feb 10 '19 16:02 TravisBuddy

@KVGarg The commits are for different changes in different files. I don't think they need to be squashed. Thank you for reviewing.

123vivekr avatar Feb 10 '19 16:02 123vivekr

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: e2ea4b00-2e69-11e9-93d2-519d0ef52680

TravisBuddy avatar Feb 12 '19 01:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 3bba9f70-2e6d-11e9-93d2-519d0ef52680

TravisBuddy avatar Feb 12 '19 02:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 183d46a0-2e6e-11e9-93d2-519d0ef52680

TravisBuddy avatar Feb 12 '19 02:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: 6a3eeda0-2e6e-11e9-93d2-519d0ef52680

TravisBuddy avatar Feb 12 '19 02:02 TravisBuddy

Travis tests have failed

Hey @123vivekr, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: b5167960-2e6e-11e9-93d2-519d0ef52680

TravisBuddy avatar Feb 12 '19 02:02 TravisBuddy