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

fix: move metric parsing to state instantiation #15069

Merged

Conversation

eschutho
Copy link
Member

@eschutho eschutho commented Jun 9, 2021

SUMMARY

I noticed while testing that the markdown metric field isn't updating properly.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

After:

dataset.mov

TESTING INSTRUCTIONS

It's difficult to write any kind of tests for the ace editor when looking at value because it always renders "xxx". Something we can try to figure out in the future. In the meantime I added more tests around editing the other metrics.

Manual testing: click to edit a dataset, go to metrics, and try to add some test in the markdown field. It should show the text.

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

@eschutho
Copy link
Member Author

eschutho commented Jun 9, 2021

/testenv up

@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2021

@eschutho Ephemeral environment creation is currently limited to committers.

@hughhhh
Copy link
Member

hughhhh commented Jun 9, 2021

/testenv up

@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2021

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

@codecov
Copy link

codecov bot commented Jun 9, 2021

Codecov Report

Merging #15069 (16f91fa) into master (821519f) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #15069   +/-   ##
=======================================
  Coverage   77.78%   77.78%           
=======================================
  Files         966      966           
  Lines       49629    49629           
  Branches     6314     6314           
=======================================
  Hits        38604    38604           
  Misses      10824    10824           
  Partials      201      201           
Flag Coverage Δ
javascript 72.78% <100.00%> (ø)

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

Impacted Files Coverage Δ
...erset-frontend/src/datasource/DatasourceEditor.jsx 74.39% <100.00%> (ø)

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 821519f...16f91fa. Read the comment docs.

@eschutho eschutho merged commit 0c470fe into apache:master Jun 9, 2021
@eschutho eschutho deleted the elizabeth/fix-dataset-metric-warning branch June 9, 2021 21:54
@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2021

Ephemeral environment shutdown and build artifacts deleted.

@rosemarie-chiu
Copy link
Contributor

🏷 2021.23

henryyeh pushed a commit to preset-io/superset that referenced this pull request Jun 15, 2021
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 🏷️ 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 preset:2021.23 preset-io size/M 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants