Skip to content
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

Weekly Digest mailer skipping the metrics section when there are no work orders #2688

Open
stuartc opened this issue Nov 18, 2024 · 0 comments
Labels
good first issue Issues that are a great place to get started with Lightning

Comments

@stuartc
Copy link
Member

stuartc commented Nov 18, 2024

User story

When a project with no activity gets a weekly digest email the stats section isn't rendered which makes it seem like there is something wrong.

Hi <name>,

Here's your weekly project digest for "<project-name>", covering activity from Mon November 11 2024 at 10:00 UTC to Mon November 18 2024 at 10:00 UTC.



OpenFn

Expectation

We should be rendering the stats section but with all zeros to indicate there has been no activity.

workflow 1:
- 0 workorders correctly processed this week
- 0 work orders that failed, crashed or timed out
Click the link below to view this in the history page:
<link to history page>

workflow 2:
- 0 workorders correctly processed this week
- 0 work orders that failed, crashed or timed out
Click the link below to view this in the history page:
<link to history page>
@stuartc stuartc added the good first issue Issues that are a great place to get started with Lightning label Nov 18, 2024
@stuartc stuartc added this to v2 Nov 18, 2024
@github-project-automation github-project-automation bot moved this to New Issues in v2 Nov 18, 2024
@stuartc stuartc moved this from New Issues to Backlog in v2 Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues that are a great place to get started with Lightning
Projects
Status: Backlog
Development

No branches or pull requests

1 participant