Skip to content

chore: [bot] migrate MapBox#25998

Closed
eschutho wants to merge 1 commit intoapache:masterfrom
preset-io:grit/92b580a4-b2c9-4fc5-a1fb-f925e23e334a
Closed

chore: [bot] migrate MapBox#25998
eschutho wants to merge 1 commit intoapache:masterfrom
preset-io:grit/92b580a4-b2c9-4fc5-a1fb-f925e23e334a

Conversation

@eschutho
Copy link
Copy Markdown
Member

@eschutho eschutho commented Nov 16, 2023

SUMMARY

Testing using grit to convert class to functional components for superset-frontend/plugins/legacy-plugin-chart-map-box/src/MapBox.jsx

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



MapBox.propTypes = propTypes;
MapBox.defaultProps = defaultProps;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we can remove these props

@@ -55,37 +56,26 @@ const defaultProps = {
pointRadiusUnit: 'Pixels',
};
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we need to apply these default values to the function arguments.

@eschutho eschutho changed the title chore:[bot] migrate files chore: [bot] migrate files Nov 16, 2023
@eschutho eschutho changed the title chore: [bot] migrate files chore: [bot] migrate MapBox Nov 16, 2023
@eschutho eschutho closed this Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant