Skip to content

Eagle eye email digest#545

Merged
epipav merged 16 commits into
feature/eagle-eye-2from
feature/eagle-eye-email-digest
Feb 20, 2023
Merged

Eagle eye email digest#545
epipav merged 16 commits into
feature/eagle-eye-2from
feature/eagle-eye-email-digest

Conversation

@epipav
Copy link
Copy Markdown
Collaborator

@epipav epipav commented Feb 17, 2023

Changes proposed ✍️

  • Eagle Eye V2 email digest feature.
  • New job worker: eagle eye digest ticker: Checks if a digest should be sent every half hour (10:00, 10:30, 11:00 ...)
  • We set the nextEmailAt field 5 minutes before the actual email send time so it's caught with each email ticker run. After the run we reset the nextEmailAt using the frequency.
  • First 10 search results are included in the email digest
  • User permissions updated so that eagle eye is enabled for essential users until 24th of February
  • Refactored weeklyAnalyticsEmailsHistory table to RecurringEmailsHistory. We keep track of both weekly analytics and eagle eye email receipts here.

Checklist ✅

  • Label appropriately with Feature, Enhancement, or Bug.
  • Tests are passing.
  • New backend functionality has been unit-tested.
  • Environment variables have been updated:
    • Local frontend configuration: frontend/.env.dist.local, frontend/.env.dist.composed.
    • Local backend: backend/.env.dist.local, backend/.env.dist.composed.
    • Configuration docs have been updated.
    • Team members only: update environment variables in override, staging and production env. files and trigger update config script.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.
  • All changes have been tested in a staging site.
  • All changes are working locally running crowd.dev's Docker local environment.

@epipav epipav changed the title Feature/eagle eye email digest Eagle eye email digest Feb 17, 2023
@epipav epipav self-assigned this Feb 17, 2023
@epipav epipav added the Feature Created by Linear-GitHub Sync label Feb 17, 2023
@epipav epipav force-pushed the feature/eagle-eye-email-digest branch from d3bc5a2 to 46305b0 Compare February 20, 2023 11:59
@epipav epipav marked this pull request as ready for review February 20, 2023 12:07
@themarolt themarolt self-requested a review February 20, 2023 12:08
@epipav epipav merged commit 05cfe9c into feature/eagle-eye-2 Feb 20, 2023
@epipav epipav deleted the feature/eagle-eye-email-digest branch February 20, 2023 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants