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: Consolidating form experience (Bootstrap to AntD) - iteration 4 #14546

Merged
merged 1 commit into from
May 13, 2021

Conversation

michael-s-molina
Copy link
Member

@michael-s-molina michael-s-molina commented May 10, 2021

SUMMARY

Migrates Form components from Bootstrap to AntD (iteration 4).

See: #10254

@rusackas @junlincc @pkdotson

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Screen Shot 2021-04-28 at 2 47 10 PM

Screen Shot 2021-04-28 at 2 51 28 PM

Screen Shot 2021-04-28 at 3 47 26 PM

Screen Shot 2021-04-28 at 4 19 51 PM

Screen Shot 2021-04-28 at 5 58 35 PM

Screen Shot 2021-04-28 at 6 12 36 PM

Screen Shot 2021-04-28 at 6 14 04 PM

Screen Shot 2021-04-28 at 6 42 11 PM

TEST PLAN

1 - Navigate to the following areas:

  • Explore > Add filter > Custom SQL
  • Datasets -> Edit Dataset
  • Charts -> Edit Chart
  • Explore -> Change Dataset

2 - Check that the layouts and functionality are working

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

@codecov
Copy link

codecov bot commented May 10, 2021

Codecov Report

Merging #14546 (094e813) into master (6d786d4) will decrease coverage by 0.09%.
The diff coverage is 71.15%.

❗ Current head 094e813 differs from pull request most recent head 1084379. Consider uploading reports for the commit 1084379 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #14546      +/-   ##
==========================================
- Coverage   77.40%   77.31%   -0.10%     
==========================================
  Files         958      958              
  Lines       48329    48318      -11     
  Branches     5679     5675       -4     
==========================================
- Hits        37410    37357      -53     
- Misses      10719    10761      +42     
  Partials      200      200              
Flag Coverage Δ
javascript 72.45% <71.15%> (-0.02%) ⬇️
presto ?

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

Impacted Files Coverage Δ
superset-frontend/src/CRUD/Fieldset.jsx 85.71% <ø> (ø)
...trol/AdhocFilterEditPopoverSqlTabContent/index.jsx 61.29% <0.00%> (-2.05%) ⬇️
.../src/explore/components/controls/HiddenControl.jsx 57.14% <0.00%> (ø)
...rc/explore/components/controls/TextAreaControl.jsx 83.33% <ø> (ø)
...d/src/explore/components/PropertiesModal/index.tsx 84.28% <33.33%> (+2.09%) ⬆️
...l/AdhocFilterEditPopoverSimpleTabContent/index.jsx 77.63% <65.00%> (+0.14%) ⬆️
superset-frontend/src/CRUD/Field.jsx 80.00% <83.33%> (-3.34%) ⬇️
...-frontend/src/datasource/ChangeDatasourceModal.tsx 87.01% <88.88%> (+1.64%) ⬆️
...rset-frontend/src/components/DeleteModal/index.tsx 100.00% <100.00%> (ø)
...erset-frontend/src/datasource/DatasourceEditor.jsx 66.38% <100.00%> (ø)
... and 15 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 6d786d4...1084379. Read the comment docs.

@rusackas
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

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

@rusackas rusackas changed the title refactor: Bootstrap to AntD - Form - iteration 4 chore: Consolidating Form Experience (Bootstrap to AntD) - iteration 4 May 10, 2021
@rusackas rusackas changed the title chore: Consolidating Form Experience (Bootstrap to AntD) - iteration 4 chore: Consolidating form experience (Bootstrap to AntD) - iteration 4 May 10, 2021
@junlincc
Copy link
Member

thanks for the PR and enhancing the product experience! for QA purpose, could we list ALL areas that needs to be tested in the description? thanks

@junlincc junlincc added the hold:testing! On hold for testing label May 10, 2021
@michael-s-molina
Copy link
Member Author

thanks for the PR and enhancing the product experience! for QA purpose, could we list ALL areas that needs to be tested in the description? thanks

Done 😉

TEST PLAN
1 - Navigate to the following areas:

Explore > Add filter > Custom SQL
Datasets -> Edit Dataset
Charts -> Edit Chart
Explore -> Change Dataset

2 - Check that the layouts and functionality are working

Copy link
Member

@junlincc junlincc left a comment

Choose a reason for hiding this comment

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

Does Metric use the same form or is it not related ? It doesn't look right.
Screen Shot 2021-05-11 at 11 00 44 AM

@michael-s-molina
Copy link
Member Author

Does Metric use the same form or is it not related ? It doesn't look right.
Screen Shot 2021-05-11 at 11 00 44 AM

@junlincc This component was not touched by this PR. I can also confirm that your reported problem is also happening on master so it's probably another issue.

@junlincc
Copy link
Member

junlincc commented May 13, 2021

you are right, it's also happening on master. i'm surprised that Metrics and Filter don't share the same component. otherwise lgtm, thanks again! 🟢

@junlincc junlincc added need:review Requires a code review need:merge The PR is ready to be merged and removed hold:testing! On hold for testing labels May 13, 2021
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.

Code LGTM! Die, react-bootstrap, die! :)

@rusackas rusackas merged commit 331eb10 into apache:master May 13, 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
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added the 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels label 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 need:merge The PR is ready to be merged need:review Requires a code review size/L 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants