-
Notifications
You must be signed in to change notification settings - Fork 44
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
Tab title will update according to the automation page #653
Conversation
.env.example
Outdated
@@ -1,3 +1,5 @@ | |||
REACT_APP_API_PREFIX="" | |||
SENTRY_DSN="" | |||
REACT_APP_GLIFIC_API_PORT=4000 | |||
REACT_APP_APPLICATION_NAME="" |
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.
@rathorevaibhav why do we need an app name?
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.
hey @kurund I made these fields editable from env so that if needed, SaaS providers who extend Glific can rename it.
For example, like Tides, we can have App name set to "Tides" instead of "Glific". It's just so that we provide flexibility to extend the framework. If there's nothing set, the default value will come in which is "Glific". Let me know if this is making sense.
.env.example
Outdated
@@ -1,3 +1,5 @@ | |||
REACT_APP_API_PREFIX="" | |||
SENTRY_DSN="" | |||
REACT_APP_GLIFIC_API_PORT=4000 | |||
REACT_APP_APPLICATION_NAME="" | |||
REACT_APP_PAGE_TITLE="" |
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.
Why do we need to define title as env variable?
@kurund this is ready for review again |
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.
Looks good!
Summary
The automation title will be appended to the title of the website. Also added environment variables for: