-
Notifications
You must be signed in to change notification settings - Fork 15.4k
fix(theming): Fix visual regressions from theming P7 #34237
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
Conversation
… unify the modal taste with the others
…with edit mode support and customizable icon - Supports dynamic titles based on edit mode (add/edit) - Allows passing a custom icon with forced iconSize override - Applies consistent styling and spacing for title and icon - Adds data-test attribute for easier testing - Improves code clarity by handling icon rendering and translation internally
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.
I've completed my review and didn't find any issues.
Files scanned
File Path | Reviewed |
---|---|
superset-frontend/src/features/datasets/DuplicateDatasetModal.tsx | ✅ |
superset-frontend/src/features/roles/RoleListAddModal.tsx | ✅ |
superset-frontend/src/components/ModalTitleWithIcon/index.tsx | ✅ |
superset-frontend/src/features/tags/BulkTagModal.tsx | ✅ |
superset-frontend/src/features/groups/GroupListModal.tsx | ✅ |
superset-frontend/packages/superset-ui-core/src/components/UnsavedChangesModal/index.tsx | ✅ |
superset-frontend/src/pages/UserInfo/index.tsx | ✅ |
superset-frontend/src/SqlLab/components/SaveQuery/index.tsx | ✅ |
superset-frontend/src/features/annotationLayers/AnnotationLayerModal.tsx | ✅ |
superset-frontend/src/features/users/UserListModal.tsx | ✅ |
superset-frontend/src/features/cssTemplates/CssTemplateModal.tsx | ✅ |
superset-frontend/packages/superset-ui-core/src/components/Modal/Modal.tsx | ✅ |
superset-frontend/src/features/tags/TagModal.tsx | ✅ |
superset-frontend/src/pages/GroupsList/index.tsx | ✅ |
superset-frontend/src/explore/components/PropertiesModal/index.tsx | ✅ |
superset-frontend/src/SqlLab/components/SaveDatasetModal/index.tsx | ✅ |
superset-frontend/src/features/rls/RowLevelSecurityModal.tsx | ✅ |
superset-frontend/src/explore/components/ControlPanelsContainer.tsx | ✅ |
superset-frontend/src/dashboard/components/PropertiesModal/index.tsx | ✅ |
superset-frontend/src/features/databases/UploadDataModel/index.tsx | ✅ |
superset-frontend/src/features/alerts/AlertReportModal.tsx | ✅ |
superset-frontend/src/components/Datasource/DatasourceEditor.jsx | ✅ |
superset-frontend/src/features/databases/DatabaseModal/index.tsx | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Check out our docs on how you can make Korbit work best for you and your team.
…heckStatus is defined
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.
I've completed my review and didn't find any issues.
Files scanned
File Path | Reviewed |
---|---|
superset-frontend/packages/superset-ui-core/src/components/DeleteModal/types.ts | ✅ |
superset-frontend/packages/superset-ui-core/src/components/ConfirmStatusChange/index.tsx | ✅ |
superset-frontend/packages/superset-ui-core/src/components/DeleteModal/index.tsx | ✅ |
superset-frontend/src/features/roles/RoleListDuplicateModal.tsx | ✅ |
superset-frontend/src/features/datasets/DuplicateDatasetModal.tsx | ✅ |
superset-frontend/packages/superset-ui-core/src/components/Modal/FormModal.tsx | ✅ |
superset-frontend/src/features/roles/RoleListAddModal.tsx | ✅ |
superset-frontend/src/features/tags/BulkTagModal.tsx | ✅ |
superset-frontend/packages/superset-ui-core/src/components/Collapse/CollapseLabelInModal.tsx | ✅ |
superset-frontend/src/features/groups/GroupListModal.tsx | ✅ |
superset-frontend/src/components/ModalTitleWithIcon/index.tsx | ✅ |
superset-frontend/packages/superset-ui-core/src/components/UnsavedChangesModal/index.tsx | ✅ |
superset-frontend/src/features/roles/RoleListEditModal.tsx | ✅ |
superset-frontend/src/pages/UserInfo/index.tsx | ✅ |
superset-frontend/src/SqlLab/components/SaveQuery/index.tsx | ✅ |
superset-frontend/src/components/Datasource/ChangeDatasourceModal.tsx | ✅ |
superset-frontend/src/features/annotationLayers/AnnotationLayerModal.tsx | ✅ |
superset-frontend/src/features/cssTemplates/CssTemplateModal.tsx | ✅ |
superset-frontend/src/features/users/UserListModal.tsx | ✅ |
superset-frontend/packages/superset-ui-core/src/components/Modal/Modal.tsx | ✅ |
superset-frontend/src/features/tags/TagModal.tsx | ✅ |
superset-frontend/src/pages/GroupsList/index.tsx | ✅ |
superset-frontend/src/explore/components/PropertiesModal/index.tsx | ✅ |
superset-frontend/src/SqlLab/components/SaveDatasetModal/index.tsx | ✅ |
superset-frontend/src/features/rls/RowLevelSecurityModal.tsx | ✅ |
superset-frontend/src/explore/components/ControlPanelsContainer.tsx | ✅ |
superset-frontend/src/dashboard/components/PropertiesModal/index.tsx | ✅ |
superset-frontend/src/features/databases/UploadDataModel/index.tsx | ✅ |
superset-frontend/src/features/alerts/AlertReportModal.tsx | ✅ |
superset-frontend/src/components/Datasource/DatasourceEditor.jsx | ✅ |
superset-frontend/src/features/databases/DatabaseModal/index.tsx | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Check out our docs on how you can make Korbit work best for you and your team.
@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.34.48.213: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.42.122.118:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup. |
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.
Excited to get this merged! Looks like only one unit test is failing
fa29c76
to
73566e9
Compare
SUMMARY
This PR fixes various regressions introduced by the
theming project
and introduces a new reusable component,ModalTitleWithIcon
, to standardize the rendering of modal titles across the application.✅ What's Included
🎯 Why
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION