-
-
Notifications
You must be signed in to change notification settings - Fork 113
Add common propTypes for Events #398
Comments
@jrogatis I'd like to help with this issue. How can I start? |
@jrogatis I would like to help as well. Please me know if there is anything I can do. |
sorry about the delayed answer! Yes all help will be appreciated! @gURLmeetsCode and @caskuplich ! Its simple. look at the code and find the complex prototypes that repeat along the other component classes and add a file inside at the commom prototypes dir and try to export then there. Any help that you needed please contact me ! |
@jrogatis Let me see if I get it: I found at least 3 files that could use the common propTypes
But I haven't identified patterns of complex propTypes that could be reused by components. Maybe you can help me find these propTypes. |
@caskuplich is one of than is used all over the app. |
@jrogatis Unfortunately I can't run the project on my local machine. After Google redirects to the app, the following error appears:
Node version: v8.3.0 Can you help me with this issue? |
@caskuplich Hey there. Sure! Do you set the .env file properly with the correct api keys ? |
@jrogatis I just didn't set the Is there any problem to set the URL restrictions and redirect_url to |
You need to set this call back properly at the google api console. |
This is my Google Developers console settings: This is a OAuth Client ID credential. It seems that the problem is on the meeting-for-good code on the return. For some reason the code returned from Google causes the error I mentioned above. The URL of the return comes with a |
do you set the Oauth consentiment screen ? and enable the API ? @caskuplich ? |
@jrogatis, yes. I set my email address and the Product Name as "Meeting for Good Dev". The other fields are optional. Can I sign-in the application with the same email address I set in the Consent screen or should I enter with a different Google Account? |
I'm suspicious that it's a version problem. I think that there is some breaking change in passport.js or other related package. @jrogatis, can you make a new clone of the repo run on your local machine? |
@caskuplich I will try today. |
@caskuplich its running perfectly. |
@jrogatis, thank you so much. I'll try to find what is wrong with my local machine setup. |
what . errors you got at the back ? @caskuplich ? |
The same errors I posted above, @jrogatis. What makes this hard to solve is that there isn't a good error message, unfortunately. |
great @caskuplich ! |
@jrogatis , I DRYed the NotificationBar component ( I'd also want to DRY the |
@caskuplich can you give me your branch url ? so i can see the code and help with ? |
@jrogatis Here is my branch URL: https://github.com/caskuplich/meeting-for-good/tree/fix/refactor-proptypes I think the NotificationBar can be merged with no problems, but the NavBar issues propTypes warnings saying that I also noticed that the |
i will adress this ASAP @caskuplich for some reason I miss your last comment |
We use a common library of proptypes. Add events type check and change the object at each one of the files that use this prop.
The text was updated successfully, but these errors were encountered: