-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
chore: replace "dashboard" -> "report" in chart email report modal #25540
Conversation
I'm confused, what does this failed check say I should do?
EDIT: Oh of course it was the whitespace around it |
Also I see that the string I modified |
Ugh I am bad at rebasing! 😖 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #25540 +/- ##
==========================================
+ Coverage 68.51% 69.09% +0.57%
==========================================
Files 1915 1919 +4
Lines 75100 74969 -131
Branches 8314 8349 +35
==========================================
+ Hits 51455 51800 +345
+ Misses 21503 21118 -385
+ Partials 2142 2051 -91
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@rusackas I rebased this one and it's passing CI. It's not at all important but I'm pinging you in case you want to reduce the open count by one. I confirmed that this language is currently in 4.0.0rc1 and still wrong. Updating the English makes the translations slightly out of date, I don't know how to deal with that... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose my only little question is this: does a user reliably know that a Report is a screenshot of a dashboard? I would assume so, but I'm not sure if this is explained elsewhere in the UI. I'll approve, since it seems fine to me, but I'll also ping @yousoph and @eschutho to see if they have feelings about it :D
Ah, I sent this PR because I was setting up a Report for a single chart and didn't like that it said "dashboard." I see now that when I set up a report for a dashboard, it uses this same modal, and in that case "dashboard" and "screenshot" are correct. Maybe that's where you're coming from? A report is not always a screenshot of a dashboard, it can be a screenshot or .csv of a single chart. Thus this fix which makes it agnostic as to which is being configured. |
SUMMARY
When setting up a new email report for a chart, the popup incorrectly says "dashboard" and "screenshot."
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
In Superset 3.0.0, click the
...
on a chart, then Manage email report, then Set up an email report. You'll see:a) This shouldn't say screenshot because the user can pick a text or .CSV format choice
b) This should say chart instead of dashboard
TESTING INSTRUCTIONS
N/A, just changing a line of text.