codyml opened a new pull request, #22516:
URL: https://github.com/apache/superset/pull/22516

   <!---
   Please write the PR title following the conventions at 
https://www.conventionalcommits.org/en/v1.0.0/
   Example:
   fix(dashboard): load charts correctly
   -->
   
   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   This PR finishes up the work from 
https://github.com/apache/superset/pull/21823, replacing all uses of icon 
components from `@ant-design/icons` with uses of Superset's `Icons` component 
in an effort to make icon use more consistent.  Superset's `Icons` component 
applies slightly different styling rules, so this PR includes some styling 
tweaks to make icons look the same as before.  This PR only replaces icons in 
`superset-frontend/src`: there are a few direct uses of `@ant-design/icons` in 
`superset-frontend/packages` and `superset-frontend/plugins`, but because 
`Icons` lives in `src/components`, replacing these would risk circular 
dependencies.  A follow-up PR could move `Icons` into `@superset-ui/core` and 
finish the job.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   This is a hopefully comprehensive before/after comparison of every icon 
affected.  The only exception is icons in 
`src/dashboard/nativeFilters/FilterBar/FilterSets` – I couldn't figure out what 
this code package does or how to find these icons.  I think maybe it's a 
deprecated feature and the code should be removed?  Not sure though.
   
   <details>
   
   #### `superset-frontend/src/components/Form/LabeledErrorBoundInput`
   
   `EyeOutlined` before:
   ![EyeOutlined 
before](https://user-images.githubusercontent.com/13007381/209237545-509ddb06-7acf-4b18-9943-6a1317110875.png)
   
   `EyeOutlined` after:
   ![EyeOutlined 
after](https://user-images.githubusercontent.com/13007381/209237552-c4a23767-52ed-4d99-aa6a-856881157d6f.png)
   
   `EyeInvisibleOutlined` before:
   ![EyeInvisibleOutlined 
before](https://user-images.githubusercontent.com/13007381/209237560-2555e9b8-c116-4e75-87e6-41c9348c4dfa.png)
   
   `EyeInvisibleOutlined` after:
   ![EyeInvisibleOutlined 
after](https://user-images.githubusercontent.com/13007381/209237568-f2e67871-1e3b-4a46-ad97-9f839b3e5065.png)
   
   #### `superset-frontend/src/components/Select/utils`
   
   `DownOutlined` before:
   <img width="1165" alt="DownOutlined before" 
src="https://user-images.githubusercontent.com/13007381/209236869-d8d4c519-521a-4c27-bc95-5fe39d2b5548.png";>
   
   `DownOutlined` after:
   <img width="1165" alt="DownOutlined after" 
src="https://user-images.githubusercontent.com/13007381/209236890-ccecae91-6ddf-4b73-abd0-80f865993d93.png";>
   
   `SearchOutlined` before:
   <img width="1165" alt="SearchOutlined before" 
src="https://user-images.githubusercontent.com/13007381/209236906-01a63265-de44-4501-88fa-91cc23b59235.png";>
   
   `SearchOutlined` after:
   <img width="1165" alt="SearchOutlined after" 
src="https://user-images.githubusercontent.com/13007381/209236934-a729b4f3-a495-47b4-9b14-e032a337a801.png";>
   
   #### 
`superset-frontend/src/dashboard/components/FiltersBadge/DetailsPanel/index`
   
   Before:
   
![Before](https://user-images.githubusercontent.com/13007381/209236976-1826acff-8f9d-4c6a-ad2f-f4b39c2ab0b0.png)
   
   After:
   
![After](https://user-images.githubusercontent.com/13007381/209236992-a4a465dd-154c-46c7-af17-9303ee5cdde1.png)
   
   #### 
`superset-frontend/src/dashboard/components/FiltersBadge/FilterIndicator/index`
   
   Before:
   
![Before](https://user-images.githubusercontent.com/13007381/209237188-4cdbd886-a9f3-422e-b09d-4b6b9db1b553.png)
   
   After:
   
![After](https://user-images.githubusercontent.com/13007381/209237201-260ec8df-31cf-4446-b1ec-e5b94396b7e0.png)
   
   #### 
`superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/index`
   
   Non-pivot before:
   ![Non-pivot 
before](https://user-images.githubusercontent.com/13007381/209237229-10a85821-7f7c-4b66-b25f-6e0ca24c637c.png)
   
   Non-pivot after:
   ![Non-pivot 
after](https://user-images.githubusercontent.com/13007381/209237239-5e9e1c09-bedb-4cd1-8392-d43a60c57b74.png)
   
   Pivot before:
   ![Pivot 
before](https://user-images.githubusercontent.com/13007381/209237249-e32a5562-43d2-483f-8b66-8a5aa4b18f1b.png)
   
   Pivot after:
   ![Pivot 
after](https://user-images.githubusercontent.com/13007381/209237269-148560ef-16fb-43d3-8015-ec4d55ec4c9f.png)
   
   #### 
`superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm/EncryptedField`
   
   Before:
   
![Before](https://user-images.githubusercontent.com/13007381/209237313-541af679-20e8-4984-83ba-ac563647afa7.png)
   
   After:
   
![After](https://user-images.githubusercontent.com/13007381/209237327-d9404fa8-3bee-4724-9388-e21d8fb20b0b.png)
   
   #### 
`superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm/TableCatalog`
   
   Before:
   
![Before](https://user-images.githubusercontent.com/13007381/209237351-054e2081-cbf4-4bfe-a42d-d7b7458e8044.png)
   
   After:
   
![After](https://user-images.githubusercontent.com/13007381/209237361-952e73fc-758c-42b3-8484-0763fd41b92c.png)
   
   </details>
   
   ### TESTING INSTRUCTIONS
   <!--- Required! What steps can be taken to manually verify the changes? -->
   - Check that all of the icons listed in the above section look the same as 
before.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] 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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to