superset icon indicating copy to clipboard operation
superset copied to clipboard

Hints in sqllab

Open crazychaz opened this issue 3 weeks ago • 5 comments

In Superset 5.0.0, tooltips in SQLLab disappeared, as did the ability to collapse large queries. This works on the same image with different environments and configurations. Could you tell me what settings can disable this in version 5? Thank you!

crazychaz avatar Dec 03 '25 12:12 crazychaz

There are no settings or feature flags in Superset 5.0.0 that disable tooltips or the ability to collapse large queries in SQLLab. The disappearance of these features is due to frontend regressions in 5.0.0, specifically a new XSS filter that strips styles from tooltips and some modal stacking issues. These are not user-configurable and are fixed in later versions (5.0.1 and 6.0+). If you can't upgrade, a temporary workaround for tooltips is to add custom CSS to improve their appearance. For more details, see this issue.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

dosubot[bot] avatar Dec 03 '25 12:12 dosubot[bot]

Which tooltips disappeared? I'm also trying to remember what collapse feature you're referring to that might have disappeared. Happy to look into it, but might need some specifics/screenshots.

rusackas avatar Dec 03 '25 23:12 rusackas

This parameter, "SQLLAB_BACKEND_PERSISTENCE," enabled hints in version 5 (hints worked in version 3 without this parameter enabled). However, the long query folding feature still doesn't work as it did in version 3.

Image

crazychaz avatar Dec 08 '25 10:12 crazychaz

OK, so hints are on in v5 with SQLLAB_BACKEND_PERSISTENCE - which is now set to True by default.

Code folding / collapsing sounds like a completely different issue.

Both sound like they might be worth fixing, but I'm not sure if they're related to each other. Should they be filed separately?

rusackas avatar Dec 08 '25 16:12 rusackas

These are two different problems. We've already figured this out using the tips. It's still unclear why collapsing isn't working in sqllab.

crazychaz avatar Dec 08 '25 17:12 crazychaz

OK, let's just keep this issue centered around code folding, if that's OK. Maybe you want to edit the title/description accordingly?

rusackas avatar Dec 09 '25 18:12 rusackas