Skip to content

fix(dashboard): use light muted spinner for group-by display control loading state - #1040

Open
sadpandajoe wants to merge 1 commit into
masterfrom
fix-dashboard-display-controls-spinner
Open

fix(dashboard): use light muted spinner for group-by display control loading state#1040
sadpandajoe wants to merge 1 commit into
masterfrom
fix-dashboard-display-controls-spinner

Conversation

@sadpandajoe

Copy link
Copy Markdown

SUMMARY

The Group By dashboard display control (rendered under "Display controls" in the filter bar) showed a loading spinner while fetching its column options. It used <Loading position="inline" /> with no size/opacity props, which falls back to the default full-opacity dark Superset spinner — visually out of place for an inline filter-bar control.

This changes it to <Loading position="inline" size="s" muted />, matching the light, subtle spinner used by every sibling component in the filter bar (FilterValue.tsx, Vertical.tsx, Horizontal.tsx) and the Loading component's own documented guidance for filter bars / inline elements.

Customer-reported issue.

TESTING INSTRUCTIONS

Open a dashboard with a native "Group By" filter/display control backed by a dataset that must fetch column options. While it loads, the spinner should now be the light grey (muted, small) spinner rather than the dark Superset spinner. Existing GroupByFilterCard.test.tsx passes.

ADDITIONAL INFORMATION

  • Has associated issue
  • Bug fix

…loading state

The group-by "Display controls" card rendered its loading spinner with
the default (dark, full-opacity) Loading variant while fetching column
options, unlike sibling filter bar components which use the muted,
inline size="s" variant. Align it with the rest of the filter bar for
a consistent, subtle loading indicator.
@preset-machine

preset-machine commented Jul 28, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants