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 header negative margin on save #17690

Merged
merged 1 commit into from
Dec 10, 2021
Merged

fix: Dashboard header negative margin on save #17690

merged 1 commit into from
Dec 10, 2021

Conversation

geido
Copy link
Member

@geido geido commented Dec 8, 2021

SUMMARY

Fixes an issue that was cutting the header with a negative margin

BEFORE

Screen Shot 2021-12-08 at 18 28 57

AFTER

USA.Births.Names.copy.sss.mp4

TESTING INSTRUCTIONS

  1. Open a Dashboard
  2. Set the certification details in the properties
  3. Save and observe the header

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Dec 8, 2021

Codecov Report

Merging #17690 (65be822) into master (8c25f2f) will increase coverage by 0.00%.
The diff coverage is 75.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #17690   +/-   ##
=======================================
  Coverage   68.86%   68.86%           
=======================================
  Files        1598     1598           
  Lines       65297    65298    +1     
  Branches     6952     6953    +1     
=======================================
+ Hits        44966    44967    +1     
  Misses      18446    18446           
  Partials     1885     1885           
Flag Coverage Δ
javascript 57.47% <75.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...frontend/src/dashboard/components/Header/index.jsx 59.44% <ø> (+0.41%) ⬆️
...et-frontend/src/components/EditableTitle/index.tsx 73.07% <75.00%> (-0.61%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c25f2f...65be822. Read the comment docs.

@rusackas
Copy link
Member

rusackas commented Dec 8, 2021

/testenv up

import { Tooltip } from 'src/components/Tooltip';
import CertifiedIcon from '../CertifiedIcon';
Copy link
Member

Choose a reason for hiding this comment

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

This component probably shouldn't even exist, but that's a different discussion ;)

Copy link
Member Author

Choose a reason for hiding this comment

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

@rusackas I think the name is misleading here. This is intended to be more than just an icon, it's more like a tiny component.

Copy link
Member

Choose a reason for hiding this comment

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

Then maybe we can change the name to CertifiedBadge to avoid confusion?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. I will open a separate PR

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2021

@rusackas Ephemeral environment spinning up at http://34.209.90.108:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

Copy link
Member

@kgabryje kgabryje left a comment

Choose a reason for hiding this comment

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

1 suggestion to rename a component, otherwise LGTM

@geido geido merged commit 8de9387 into apache:master Dec 10, 2021
@github-actions
Copy link
Contributor

Ephemeral environment shutdown and build artifacts deleted.

@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.5.0 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/M 🚢 1.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants