Hints in sqllab
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!
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
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.
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.
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?
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.
OK, let's just keep this issue centered around code folding, if that's OK. Maybe you want to edit the title/description accordingly?