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

[STORY]: Grant Activity digest email #3572

Open
Tracked by #2962 ...
greg-adams opened this issue Oct 2, 2024 · 0 comments
Open
Tracked by #2962 ...

[STORY]: Grant Activity digest email #3572

greg-adams opened this issue Oct 2, 2024 · 0 comments
Labels
Grant Finder Issues related to the Grant Finder

Comments

@greg-adams
Copy link
Contributor

greg-adams commented Oct 2, 2024

Subtask of [STORY]: Create new email notifications for 'Follow + Note' #2960

Blocked by

Blocks

User Story

As an organization, we would like to foster more collaboration between our users to allow for the sharing of knowledge and resources to empower them to more efficiently and effectively apply for the grants discovered on our platform.

As a grantseeker, I want to be able to easily share grants I’ve discovered with my team.

As a grantseeker, I want to be able to easily find collaborators who may be able to help me when preparing and applying for grants.

As a grantseeker, I want to be able to quickly see what grants my team members are interested in.

As an admin, I want to be able to easily surface and resolve issues and blockers my team is running into.

Why is this issue important?

In order to help build the collaborative spirit we're going for, we need to have a prompt to pull people back to the platform when people they may be interested in supporting or receiving support from mark interest in the same grant. This will help bring users back to the platform in a timely manner to collaborate on previously marked grants.

Definition of Done

Designs

  1. The daily digest email for grant activity sent to a user will contain the following:

    General email specifications

    • Create new email notification for 'Grant Activity'
    • From: USDR Federal Grant Finder ([email protected])
    • Email Subject: New activity in your grants
    • Preview Text: See recent activity from grants you follow

    General email content

    • Header should match Grants Digest header (i.e. USDR Logo with "Federal Grant Finder" underneath)
    • Email Title: New activity in your grants
    • Subtitle: Today's date will display under the title
    • Footer: Should display the text "Change notification preferences" - this text should link to the /my-profile page of grant finder
    • Body: - Each grant with activity should be displayed in its own box. There is no maximum of grants that should display. We will want to ensure that we are able to monitor frequency of the email size exceeding what can load (i.e. so we can understand how frequently users will not be able to see full content due to the email being too long)

    Content within each grant box

    • The grey header of the box should display the name of the grant - this should truncate after two lines with an ellipses at the end (see third grant in design as an example of truncation). The name of the grant should also link to the relevant grant details page in Grant Finder.
    • Below the grant title, new note activity should display first if there is any. If there are no new or edited notes, then no note section should display. If there are no new followers, then no follow section should display. If neither new/edited notes or followers exist, the grant should not appear in the email digest.
    • At the bottom of the grants box, the "View Grant" button should display and link to grant details page

    Notes section:

    • The Notes section should begin with: "[#] NEW NOTES" with the total count of notes that are new or have been edited since the previous day's check. If a note was deleted in this time, it will not be included.
    • The list of notes should display as a bulleted list
    • Note line 1: [Name of user who left the note] • [User's team name]
    • Note line 2: [email address of user who left note]
    • Note line 3: Display full text of the note. This should wrap to additional lines as needed and should not truncate.
    • A maximum of two notes should display. If there are more than two new notes, then "+ See all notes" should display as text that links to the grant details page

    Followers section

    • The Followers section should begin with "[#] NEW FOLLOWERS"
    • The list of followers should display as a bulleted list
    • Follower line 1: [Name of user who followed] • [User's team name]
    • Follower line 2: [email address of user who followed]
    • A maximum of one follower should display. If there are more than two new followers, then "+ See all followers" should display as text that links to the grant details page

Implementation Details

  1. Create new email template in src/static/email_templates using mustache templating engine and inline styling.
    • Any formatted dates should use luxon library if needed.
  2. Email template will be used in the digest email created by [STORY]: Grant Activity digest email trigger #3571
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Grant Finder Issues related to the Grant Finder
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant