Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dashboard): padding between rows within tabs #21323

Merged
merged 2 commits into from
Sep 5, 2022

Conversation

gbusch
Copy link
Contributor

@gbusch gbusch commented Sep 4, 2022

Note: It's the same PR as #20366. However, there were some issues with formatting and the pipelines (mainly because of lacking understanding on my side). So for this few-lines change, I guess it is easier I open a new PR and close the old one, rather than trying to fix the messed up old one...

SUMMARY

There should be padding between rows in a dashboard. Before, this did not work when the rows where within tabs. This is fixed here.
See this issue: #20303

BEFORE SCREENSHOT

173444283-a448a1d8-4217-44ef-998a-64bab1ee42b5

AFTER SCREENSHOT

173444094-e4447879-64d1-494f-bcf3-6ee67ca5ce9a

TESTING INSTRUCTIONS

  • Insert two charts into a new dashboard
  • Add a filter. When hovering over a filter, the selection box shows some space between the plots
  • When you move the charts into tabs, there is no space between plots any more (see first screenshot)
  • AFTER APPLYING CHANGES FROM PR:
  • Now there is also some space when the charts are within tabs (see second screenshot).

@stephenLYZ
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2022

@stephenLYZ Container image not yet published for this PR. Please try again when build is complete.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2022

@stephenLYZ Ephemeral environment creation failed. Please check the Actions logs for details.

@codecov
Copy link

codecov bot commented Sep 4, 2022

Codecov Report

Merging #21323 (e4b1b92) into master (79525df) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #21323   +/-   ##
=======================================
  Coverage   66.47%   66.47%           
=======================================
  Files        1789     1789           
  Lines       68382    68382           
  Branches     7276     7276           
=======================================
  Hits        45455    45455           
  Misses      21052    21052           
  Partials     1875     1875           
Flag Coverage Δ
javascript 52.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@stephenLYZ stephenLYZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the fix.

@stephenLYZ stephenLYZ merged commit d994bab into apache:master Sep 5, 2022
@gbusch gbusch deleted the fix/in_tab_padding branch September 5, 2022 06:16
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 and removed 🚢 2.1.3 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/XS 🚢 2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants