-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
refactor(Icons): Replaces custom icons with Ant Design 5 icons #32112
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review by Korbit AI
Korbit automatically attempts to detect when you fix issues in new commits.
Category | Issue | Fix Detected |
---|---|---|
Invalid prop passed to AntDesign icon ▹ view |
Files scanned
File Path | Reviewed |
---|---|
superset-frontend/src/dashboard/components/DeleteComponentButton.tsx | ✅ |
superset-frontend/src/explore/components/controls/VizTypeControl/constants.tsx | ✅ |
superset-frontend/src/components/Label/reusable/DatasetTypeLabel.tsx | ✅ |
superset-frontend/src/dashboard/components/nativeFilters/FilterCard/NameRow.tsx | ✅ |
superset-frontend/src/components/ListViewCard/ListViewCard.stories.tsx | ✅ |
superset-frontend/src/SqlLab/components/ShareSqlLabQuery/index.tsx | ✅ |
superset-frontend/src/features/tags/TagCard.tsx | ✅ |
superset-frontend/src/components/MetadataBar/ContentConfig.tsx | ✅ |
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterTitlePane.tsx | ✅ |
superset-frontend/src/components/Icons/index.tsx | ✅ |
superset-frontend/src/explore/components/controls/VizTypeControl/VizTile.tsx | ✅ |
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CrossFilters/ScopingModal/ChartsScopingListPanel.tsx | ✅ |
superset-frontend/src/components/Icons/AntdEnhanced.tsx | ✅ |
superset-frontend/src/features/charts/ChartCard.tsx | ✅ |
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/DependencyList.tsx | ✅ |
superset-frontend/src/features/dashboards/DashboardCard.tsx | ✅ |
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FilterTitleContainer.tsx | ✅ |
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Vertical.tsx | ✅ |
superset-frontend/src/pages/CssTemplateList/index.tsx | ✅ |
superset-frontend/src/features/datasets/AddDataset/DatasetPanel/DatasetPanel.tsx | ✅ |
superset-frontend/src/dashboard/components/FiltersBadge/index.tsx | ✅ |
superset-frontend/src/pages/AnnotationList/index.tsx | ✅ |
superset-frontend/src/components/TableSelector/index.tsx | ✅ |
superset-frontend/src/pages/AnnotationLayerList/index.tsx | ✅ |
superset-frontend/src/SqlLab/components/QueryTable/index.tsx | ✅ |
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterControls.tsx | ✅ |
superset-frontend/src/pages/RowLevelSecurityList/index.tsx | ✅ |
superset-frontend/src/pages/Tags/index.tsx | ✅ |
superset-frontend/src/components/Datasource/CollectionTable.tsx | ✅ |
superset-frontend/src/explore/components/controls/DatasourceControl/index.jsx | ✅ |
superset-frontend/src/pages/AlertReportList/index.tsx | ✅ |
superset-frontend/src/features/alerts/components/NotificationMethod.tsx | ✅ |
superset-frontend/src/pages/SavedQueryList/index.tsx | ✅ |
superset-frontend/src/pages/DatabaseList/index.tsx | ✅ |
superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx | ✅ |
superset-frontend/src/pages/DashboardList/index.tsx | ✅ |
superset-frontend/src/pages/ChartList/index.tsx | ✅ |
superset-frontend/src/pages/DatasetList/index.tsx | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Need a new review? Comment
/korbit-review
on this PR and I'll review your latest changes.Korbit Guide: Usage and Customization
Interacting with Korbit
- You can manually ask Korbit to review your PR using the
/korbit-review
command in a comment at the root of your PR.- You can ask Korbit to generate a new PR description using the
/korbit-generate-pr-description
command in any comment on your PR.- Too many Korbit comments? I can resolve all my comment threads if you use the
/korbit-resolve
command in any comment on your PR.- Chat with Korbit on issues we post by tagging @korbit-ai in your reply.
- Help train Korbit to improve your reviews by giving a 👍 or 👎 on the comments Korbit posts.
Customizing Korbit
- Check out our docs on how you can make Korbit work best for you and your team.
- Customize Korbit for your organization through the Korbit Console.
Current Korbit Configuration
General Settings
Setting Value Review Schedule Automatic excluding drafts Max Issue Count 10 Automatic PR Descriptions ❌ Issue Categories
Category Enabled Documentation ✅ Logging ✅ Error Handling ✅ Readability and Maintainability ✅ Design Patterns ✅ Performance ✅ Security ✅ Functionality ✅ Feedback and Support
Note
Korbit Pro is free for open source projects 🎉
Looking to add Korbit to your team? Get started with a free 2 week trial here
…dView, ListView, CaretRight, CaretUp, CaretDown) with antd5 icons
- Small adjustments for caret down icon - Restored menu icons in the header menu
- Replaces custom icon (Refresh) with antd5 icon (SyncOutlined) - Small icons position adjustments
…td5 icon (CloseOutlined)
- Migrates custom icons (Check, Calendar, FavoriteSelected, FavoriteUnselected, TableOutlined, Alert, AlertSolid, Eye, AlertSolid) to Ant Design 5 icons - Adds SaveOutlined icon to the dashboard save button - Small alignment adjustments for icons - Changes the order of buttons in the chart dropdown on the homepage - Adds custom CircleSolid icon - wip SqlEditorTabHeader
- Replaces custom icons (Check, CheckCircle, CheckSolid, Clock, Minus, FieldDerived, Sql, fa-database) with antd5 icon (CloseOutlined) - Removes TabStatusIcon component
@EnxDev Processing your ephemeral environment request here. Action: up. More information on how to use or configure ephemeral environments |
@EnxDev Ephemeral environment spinning up at http://34.216.203.11:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup. |
@EnxDev Processing your ephemeral environment request here. Action: up. More information on how to use or configure ephemeral environments |
@EnxDev Ephemeral environment spinning up at http://52.37.230.84:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup. |
…he/superset into enxdev/refactor-antd5-icons
67b499e
to
90a2089
Compare
Looks like there's a bit of lint left, highly recommend installing pre-commit if you haven't already |
@EnxDev Processing your ephemeral environment request here. Action: up. More information on how to use or configure ephemeral environments |
@EnxDev Ephemeral environment spinning up at http://34.219.216.172:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup. |
SUMMARY
This PR improves the overall standardization and maintainability of the project by replacing custom icons with Ant Design 5 icons.
It removes nearly all FontAwesome icons, streamlining the icon set to ensure consistency.
The Icon component has been enhanced to support new features and improved performance.
Additionally, missing icons have been added, and standardized sizing has been applied across various icons, including those used in buttons, to ensure a cohesive UI.
Finally, it eliminates direct imports of icons from Ant Design, simplifying the import structure and improving code readability.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before

After

Tags :
Filter:
Tags:
Table:








Trash:
















Link:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION