superset
superset copied to clipboard
refactor: Upgrade Badge component to Ant Design 5
SUMMARY
This Proof of Concept (POC) aims to demonstrate the capability to upgrade Ant Design components to the latest version in isolation, facilitating incremental upgrades.
Two versions of Ant Design will be maintained until all components are upgraded to the latest version.
Please refer to the inline comments in this PR and the Superset Improvement Proposal https://github.com/apache/superset/issues/29268
This PR is dependent on PR https://github.com/apache/superset/pull/29328
BEFORE
AFTER
Note that the prop textColor has been removed as it was unused.
TESTING INSTRUCTIONS
- Verify the usage of the Badge throughout the application.
- Ensure no visual or behavioral changes have been introduced.
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