-
Notifications
You must be signed in to change notification settings - Fork 6
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
CARDS-2360: Display startup warning if the GOOGLE_APIKEY environment variable is not set #1605
base: dev
Are you sure you want to change the base?
Conversation
…variable is not set
…variable is not set Fix copy/paste artifact
This comment was marked as resolved.
This comment was marked as resolved.
…variable is not set Change message color from red (error) to yellow (warning)
This comment was marked as outdated.
This comment was marked as outdated.
I just made another change wile you are testing, the GOOGLE_APIKEY warning is now yellow.
I'm not sure that's necessary. When going to install vocabularies from the Admin, it is clear from the UI that you need an API key to do so and there's a place to add it right there.
Not sure if this is where you are going with the second observation, but the color was changed to yellow because nothing "bad" happens immediately at startup. |
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 reason why the check for the
It is true that So perhaps the best plan for now would be like this:
TL;DRSo just keeping within the scope of this task, I recommend checking for |
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.
Please see #1605 (comment)
Not true, just the address suggestions from Google Places service won't work. From user perspective nothing will be broken, the field becomes just a plain text input. |
Okay, that's good. So in that case, I'd still recommend only checking if |
Testing:
GOOGLE_APIKEY
environment variable, check that the warning message is displayedGOOGLE_APIKEY
environment variable