rusackas commented on code in PR #20295:
URL: https://github.com/apache/superset/pull/20295#discussion_r898431349
##########
superset/config.py:
##########
@@ -1289,6 +1289,20 @@ def SQL_QUERY_MUTATOR( # pylint:
disable=invalid-name,unused-argument
"port": internet_port,
}
+# Configuration for environment tag shown on the navbar. Setting 'text' to ''
will hide the tag.
+ENVIRONMENT_TAG_CONFIG = {
+ "variable": "FLASK_ENV",
+ "values": {
+ "development": {
+ "color": "#c73d2e",
+ "text": "Development",
+ },
+ "production": {
+ "color": "#039dfc",
+ "text": "Production",
+ },
Review Comment:
I have a hunch that most people won't want the "Production" label showing
up. Their production environment should probably just look... normal, whereas
staging/dev/etc would warrant labeling to differentiate them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]