hughhhh commented on a change in pull request #18629: URL: https://github.com/apache/superset/pull/18629#discussion_r807341607
########## File path: superset/views/base.py ########## @@ -365,6 +365,17 @@ def common_bootstrap_payload() -> Dict[str, Any]: "extra_sequential_color_schemes": conf["EXTRA_SEQUENTIAL_COLOR_SCHEMES"], "extra_categorical_color_schemes": conf["EXTRA_CATEGORICAL_COLOR_SCHEMES"], "theme_overrides": conf["THEME_OVERRIDES"], + "allowed_extensions": { + "excel_extensions": bool( + conf["EXCEL_EXTENSIONS"].intersection(conf["ALLOWED_EXTENSIONS"]) + ), + "csv_extensions": bool( + conf["CSV_EXTENSIONS"].intersection(conf["ALLOWED_EXTENSIONS"]) + ), + "columnar_extensions": bool( + conf["COLUMNAR_EXTENSIONS"].intersection(conf["ALLOWED_EXTENSIONS"]) + ), + }, Review comment: I agree with elizabeth lets just add these keys to `frontend_config` object -- 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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org