Skip to content
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

chore: Select component refactoring - ColorSchemeControl - Iteration 5 #15555

Merged
merged 9 commits into from
Jul 19, 2021
Merged

chore: Select component refactoring - ColorSchemeControl - Iteration 5 #15555

merged 9 commits into from
Jul 19, 2021

Conversation

geido
Copy link
Member

@geido geido commented Jul 6, 2021

SUMMARY

It replaces the react-select Select component with the Antdesign one in the ColorSchemeControl component.

BEFORE

ColorSchemeControl-BEFORE.mp4

AFTER

ColorSchemeControl-AFTER.mp4

TESTING INSTRUCTIONS

  1. Open a chart, for instance, the Cross Channel Relationship example chart
  2. Click on the "Customize" tab
  3. Observe the COLOR SCHEME Select
  4. Select a different color scheme and observe the behavior

ADDITIONAL INFORMATION

  • Has associated issue:
  • 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

@geido geido added this to In progress in AntD Transition (SIP-48) via automation Jul 6, 2021
@geido
Copy link
Member Author

geido commented Jul 6, 2021

@adam-stasiak @jinghua-qa @junlincc @rosemarie-chiu @rusackas help with testing so much appreciated :)

@codecov
Copy link

codecov bot commented Jul 6, 2021

Codecov Report

Merging #15555 (3c9e109) into master (83be06d) will increase coverage by 0.17%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15555      +/-   ##
==========================================
+ Coverage   76.95%   77.12%   +0.17%     
==========================================
  Files         976      976              
  Lines       51290    51295       +5     
  Branches     6907     6907              
==========================================
+ Hits        39468    39561      +93     
+ Misses      11603    11513      -90     
- Partials      219      221       +2     
Flag Coverage Δ
javascript 71.78% <66.66%> (+0.36%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...explore/components/controls/ColorSchemeControl.jsx 88.88% <66.66%> (+2.68%) ⬆️
...tend/src/views/CRUD/annotation/AnnotationModal.tsx 60.74% <0.00%> (-2.23%) ⬇️
...rontend/src/views/CRUD/dashboard/DashboardList.tsx 72.46% <0.00%> (-2.17%) ⬇️
...nd/src/dashboard/components/FiltersBadge/index.tsx 86.74% <0.00%> (-0.16%) ⬇️
...ntend/src/views/CRUD/annotation/AnnotationList.tsx 76.92% <0.00%> (ø)
...c/views/CRUD/data/database/DatabaseModal/styles.ts 82.72% <0.00%> (ø)
...re/components/controls/CollectionControl/index.jsx 83.33% <0.00%> (ø)
...ard/components/FiltersBadge/DetailsPanel/index.tsx 87.30% <0.00%> (ø)
...ts/nativeFilters/FiltersConfigModal/FilterTabs.tsx 86.66% <0.00%> (ø)
superset-frontend/src/components/Tabs/Tabs.tsx 96.77% <0.00%> (+0.22%) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83be06d...3c9e109. Read the comment docs.

Copy link
Member

@michael-s-molina michael-s-molina left a comment

Choose a reason for hiding this comment

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

The code looks good. Just need to fix the Cypress test.

AntD Transition (SIP-48) automation moved this from In progress to In review Jul 6, 2021
@geido geido added the risk:refactor High risk as it involves large refactoring work label Jul 9, 2021
@rusackas
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

@rusackas Ephemeral environment spinning up at http://34.213.160.177:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

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

LGTM as well, and the ephemeral env is lookin' good!

@rusackas rusackas merged commit 45c3ae0 into apache:master Jul 19, 2021
AntD Transition (SIP-48) automation moved this from In review to Done Jul 19, 2021
@github-actions
Copy link
Contributor

Ephemeral environment shutdown and build artifacts deleted.

cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
apache#15555)

* Enhance Select

* Transition Select to Antd

* Update test

* Fix Cypress

* Change name to aria-label

* Update Cypress search val

* Test Cypress selection
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
apache#15555)

* Enhance Select

* Transition Select to Antd

* Update test

* Fix Cypress

* Change name to aria-label

* Update Cypress search val

* Test Cypress selection
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
apache#15555)

* Enhance Select

* Transition Select to Antd

* Update test

* Fix Cypress

* Change name to aria-label

* Update Cypress search val

* Test Cypress selection
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.3.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels risk:refactor High risk as it involves large refactoring work size/M 🚢 1.3.0
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants