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

chore(antd): straightening out button import paths #29969

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

rusackas
Copy link
Member

SUMMARY

Just straightening out some wiring. Now the Superset "Button" imports directly from AntD, and the other Button instances in the code import from the Superset component instead of the AntD base component.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

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

@dosubot dosubot bot added the change:frontend Requires changing the frontend label Aug 19, 2024
@@ -138,7 +137,8 @@ const actionButtonsStyle = theme => css`
}
`;

const StyledUndoRedoButton = styled(AntdButton)`
const StyledUndoRedoButton = styled(Button)`
// TODO: check if we need this.
Copy link
Member

@mistercrunch mistercrunch Aug 19, 2024

Choose a reason for hiding this comment

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

It's used in the dashboard header in edit mode ->
Screenshot 2024-08-19 at 4 20 58 PM

Copy link
Member Author

Choose a reason for hiding this comment

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

oh, I meant the CSS below it ;) It might not need those overrides... but I'll circle back to that.

@rusackas rusackas merged commit 5ec3093 into master Aug 20, 2024
36 of 37 checks passed
@rusackas rusackas deleted the button-import-adjustments branch August 20, 2024 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:frontend Requires changing the frontend size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants