Skip to content

Commit

Permalink
Add logo to superset, enable horizontal filtering and tagging system
Browse files Browse the repository at this point in the history
  • Loading branch information
bendnorman committed Sep 20, 2024
1 parent 75e3888 commit 6c66668
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM apache/superset:4.0.2
USER root

COPY --chown=superset superset_config.py /app/
COPY --chown=superset catalyst_logo.png /app/superset/static/assets/images/

ENV SUPERSET_CONFIG_PATH /app/superset_config.py

# add to requirements file
Expand Down
6 changes: 6 additions & 0 deletions superset/superset_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@

FEATURE_FLAGS = {
"DASHBOARD_RBAC": True, # Allow for assigning roles to dashboards
"TAGGING_SYSTEM": True,
"HORIZONTAL_FILTER_BAR": True, # Show filter bar on top of dashboard
}

# This limits the number of rows when requesting chart data
Expand All @@ -54,6 +56,10 @@
# max rows retrieved by filter select auto complete
FILTER_SELECT_ROW_LIMIT = 100_000

APP_ICON = "/static/assets/images/catalyst_logo.png"
APP_NAME = "PUDL"
LOGO_RIGHT_TEXT = "PUDL"


def get_db_connection_string() -> str:
"""Get the database connection string."""
Expand Down

0 comments on commit 6c66668

Please sign in to comment.