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

[WIP] FIX 19311: New DI Email Template Implementation #19436

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Siddhanttimeline
Copy link
Contributor

@Siddhanttimeline Siddhanttimeline commented Jan 20, 2025

Describe your changes:

Fixes #19311

I worked on ... because ...

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@Siddhanttimeline Siddhanttimeline self-assigned this Jan 20, 2025
@Siddhanttimeline Siddhanttimeline requested a review from a team as a code owner January 20, 2025 06:55
@Siddhanttimeline Siddhanttimeline added the safe to test Add this label to run secure Github workflows on PRs label Jan 20, 2025
@Siddhanttimeline Siddhanttimeline added the To release Will cherry-pick this PR into the release branch label Jan 20, 2025
@Siddhanttimeline Siddhanttimeline changed the title FIX 19311: New DI Email Template Implementation [WIP] FIX 19311: New DI Email Template Implementation Jan 20, 2025
Copy link

Comment on lines +227 to +229
// data for that previous Monday–Sunday window
Map<String, Double> prevWeekDateWithCount =
getDateMapWithCountFromChart("total_data_assets", previousWeekStart, previousWeekEnd, team);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it mean we always compare to the previous (vs last 7 days).

e.g.
I get an alert on Wednesday, then the comparison will happen between Last Week (Monday - Sunday) vs Current Week (Monday - Tuesday)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend safe to test Add this label to run secure Github workflows on PRs To release Will cherry-pick this PR into the release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data Insights Report template improvements
2 participants