Incubator-superset: Error messages do not wrap

Created on 21 Oct 2020  路  4Comments  路  Source: apache/incubator-superset

It seems that Superset errors do not wrap (the example is from SQL Lab and thus I'm uncertain how broad of an issue this is) meaning one needs to scroll horizontally in order to parse the message.

Expected results

The error message should wrap to aid with readability.

Actual results

The errors do not wrap.

Screenshots

Screen Shot 2020-10-20 at 9 35 08 PM

How to reproduce the bug

  1. Go to SQL Lab
  2. Run an invalid query, i.e., SELECT `1` if using Presto.
  3. Reduce the width of the browser to ensure that the error overflows.

Environment

master.

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [x] I have reproduced the issue with at least the latest released version of superset.
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

N/A.

#bug

Most helpful comment

here: https://github.com/apache/incubator-superset/pull/11354

馃晲 15m from reported to fix out! 馃

All 4 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.70. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Mmmh, this one is my bad as I brought the monospace / <pre> wrapping here. Let me see if I can fix this real quick.

here: https://github.com/apache/incubator-superset/pull/11354

馃晲 15m from reported to fix out! 馃

@junlincc the action of merging the associated PR will auto-close this issue, reopening until it gets merged

Was this page helpful?
0 / 5 - 0 ratings