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
Add Creator Sentiment Email task #38787
Conversation
|
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.
Small things to tweak and a reuse suggestion,
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.
looks good, just nits & small comments
|
||
(defn- fetch-num-dashboards [] | ||
(-> | ||
(t2/query-one {:select [[:%count.* :num_dashboards]] |
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.
can you use t2/count
for these simpler count queries?
Co-authored-by: Noah Moss <32746338+noahmoss@users.noreply.github.com>
@qwef Did you forget to add a milestone to the issue for this PR? When and where should I add a milestone? |
* Add new email function and send email to creator * remove debug stuff * add tests, address comments * actually add tests * Update src/metabase/email/messages.clj Co-authored-by: Noah Moss <32746338+noahmoss@users.noreply.github.com> * address comments --------- Co-authored-by: Noah Moss <32746338+noahmoss@users.noreply.github.com>
* Add new email function and send email to creator * remove debug stuff * add tests, address comments * actually add tests * Update src/metabase/email/messages.clj * address comments --------- Co-authored-by: Jerry Huang <34140255+qwef@users.noreply.github.com> Co-authored-by: Noah Moss <32746338+noahmoss@users.noreply.github.com>
Closes #38739
Demo