-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
[Welcome] confusing Saved Queries card #11659
Comments
on it, thanks for reporting. @pkdotson what im seeing from my end.. well i didn't test saved queries obviously.. 😞 |
thanks for the quick feedback @ktmud ! this is what the cards are intended to look like^
|
|
"Label" is the query name, it's just we call it "label" in the save query form. Another idea is to display a snippet of the query itself instead of the description. E.g. Also note that currently Superset doesn't support favoriting saved queries yet, which is probably why @pkdotson didn't add the favorite button in the first place. Whether we want to add support for favoriting them is another question, but before we do, we should probably disable the "Favorites" tab for now. |
@ktmud +1 on SQL maybe even with aggressively small characters ~8px |
Crazy idea: thumbnail + fisheye! |
@ktmud getting rid of the table number since it's too confusing, adding snippet. |
@ktmud that makes sense, and i like the idea of show code snippets in the cards, especially since it's difficult to fit them into list views. i built on the screenshot you provided and modified the layout to be more consistent with the dashboard and chart cards - |
@mihir174 thanks for the updates! This looks good. Any reason to give the query snippet a gray background? Currently it kind of blends too well with the page background. Would also be curious to see how the card looks like when the title is very long. I like the new icons for charts in the Recents section! Much more distinguishable than the current icons. Looking at this page more, I'd like to make a couple of more suggestions for your consideration: @junlincc @mistercrunch
|
good one! 😆 @mihir174 please take that into consideration
|
@ktmud long titles are gonna be treated like the dashboard and chart cards - they will be truncated and the user will be able to see the whole title on hover |
i understand that showing title is important to your users. if we don't truncate long title, then the card will look really overloaded and no longer serve its purpose as an information overview. @ktmud |
I don't have a strong opinion on whether the title should be truncated here as it's less a data accuracy issue here than on dashboards and the titles are less likely to be very long or have similar prefixes anyway. |
I think it's OK to just show an HTML title attribute. Tooltip might be a little too heavy in this case, especially if most titles don't truncate. |
The real perk of the tooltip in my view is that it displays a bit faster than the html title. That makes it a little more discoverable to those with cursors, even if perhaps it's less accessible from an a11y standpoint. So... I guess it's kind of a tossup :) |
can we close this since ☝️ merged? |
@rusackas since the truncation is being handled by css, I can't think of a way to only show a tooltip if there is truncation. I think adding a tooltip of every single title will make the whole page kind of jumpy. |
ok, looks like all titles have tooltips now 😕 |
Correct.... my dream of an |
🥺 let's move on for now lol~ |
Oooh, this looks promising... for another PR. |
oh that's great, we can definitely use that in some of the listviews |
Screenshot
Description
I don't think I understand the elements of this card.
Table 1
?Design input
[describe any input/collaboration you'd like from designers, and
tag accordingly. For design review, add the
label
design:review
. If this includes a design proposal,include the label
design:suggest
]The text was updated successfully, but these errors were encountered: