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: font regression in SQL Lab #14960

Merged
merged 2 commits into from
Jun 8, 2021
Merged

Conversation

betodealmeida
Copy link
Member

SUMMARY

In SQL Lab we wrap the error message in a <MonospaceDiv> to show the error messages with a monospaced font. But this is being dropped if there's a custom error component registered for the error.

I fixed it by passing the monospaced error (subtitle) to the custom error component.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

Screenshot_2021-06-02 Superset(4)

After:

Screenshot_2021-06-02 Superset(3)

TESTING INSTRUCTIONS

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

eschutho commented Jun 3, 2021

I manually tested and it looks good.

@betodealmeida betodealmeida merged commit 3f527c7 into apache:master Jun 8, 2021
cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
* fix: font regression in SQL Lab

* Fix tests
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
* fix: font regression in SQL Lab

* Fix tests
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
* fix: font regression in SQL Lab

* Fix tests
@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 need:merge The PR is ready to be merged size/S 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants