fix(config): Wire LOGO_TARGET_PATH and document custom spinner usage #36951
+12
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
This PR addresses user confusion regarding customizing the loading icon and resolves a bug where
LOGO_TARGET_PATHwas being ignored by the default theme system in Superset 6.0.0.Specifically, it:
brandSpinnerUrlinTHEME_DEFAULTwithin config.py. This clarifies that users can set a custom GIF/image loader via config without needing to replace source files or rebuild assets.THEME_DEFAULTto correctly useLOGO_TARGET_PATHforbrandLogoHref. Previously,LOGO_TARGET_PATHwas ignored by the default theme, forcing users to override the entire theme object just to change the logo link.APP_ICON,LOGO_TOOLTIP,LOGO_RIGHT_TEXT, andAPP_ICON_WIDTH(deprecation note) to clarify their interaction withTHEME_DEFAULTor their deprecated status.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A (Configuration and Documentation changes only)
TESTING INSTRUCTIONS
To verify these changes locally:
Verify Logo Link Fix:
superset_config.py, setLOGO_TARGET_PATH = "https://custom.url".https://custom.url(previously it would stay on/unless the theme was overridden).Verify Custom Spinner:
superset_config.py, set:ADDITIONAL INFORMATION