usdigitalresponse / usdr-gost

USDR-hosted grants management tools
http://grants.usdigitalresponse.org
Apache License 2.0
32 stars 21 forks source link

[ID] email notification system #19

Open mhuang-usdr opened 2 years ago

mhuang-usdr commented 2 years ago

Ohio requested email notifs for

How do we do this "without spamming the universe"?

mhuang-usdr commented 2 years ago

BB also requested this feature. Prioritizing it for post-MVP (1.1)

Raphomet commented 2 years ago

Resources

Figma file — contains both notification settings and email templates

Overview

Here are all the notification events we want to support in this milestone:

To implement the UX, we need to add:

  1. A place to edit notification settings
  2. Email templates for each event

Notification settings

The ID Tool already has a Settings modal. We'll just add to it.

CleanShot 2022-04-26 at 17 31 14@2x

These are low-fidelity wireframes, not exact comps. Feel free to style this however is easiest (if we're in Bootstrap, make it look Bootstrappy; if in Tailwind, make it look Tailwind-y, etc.).

Superadmin notification settings

CleanShot 2022-04-26 at 17 32 53@2x

Agency admin or staff member notification settings

CleanShot 2022-04-28 at 15 41 27@2x

Email templates

This actually is a comp — please aim for accuracy here. You can see the specific margins, etc. in Figma.

All user-initiated events

CleanShot 2022-04-28 at 15 45 16@2x

New grants digest

CleanShot 2022-04-28 at 15 42 52@2x
Raphomet commented 2 years ago

@mhuang-usdr Please review!

mhuang-usdr commented 2 years ago

Woohoo! Thanks Raph :D suggestions below

Profile Settings > New Grants:

Instead of -Email a digest of forecasted and new posted grants that match my eligibility code and keyword settings.

This is more accurate: -Email a digest of new forecasted and posted grants that match my agency's eligibility code and keyword settings.

Email templates

Can you link to the Figma file @Raphomet ?

User-initiated emails I'm wondering if the subject lines could be more descriptive.

What do you think @Raphomet ?

New grants digest Same as above - instead of
-There are 8 new grants matching your keywords and settings.

What do you think about: -There are 8 new grants matching your agency's keywords and settings.

Raphomet commented 2 years ago

Figma file

I like the copy changes! Will rewrite and replace screenshots in previous comment.

On the email subject lines — yeah, I was thinking about this too. If they're all named the same thing, then the email clients people use are more likely to group or nest them. The worst case situation if they have separate names is that a superadmin who has visibility into all activity will receive a ton of emails affecting different agencies, and have to dismiss them each separately.

But thinking about it some more, the utility of being able to see at a glance WHICH agencies are doing what might outweigh the annoyance of dealing with lots of email threads. So I'll change it, and we can always iterate. Good idea!

Raphomet commented 2 years ago

Updated previous comment with new screenshots.

mhuang-usdr commented 2 years ago

@as1729 I reviewed the colors, please update the blues to the new blues as defined in the Doc below

https://www.notion.so/usdr/Colors-d7d755c9eeec47b2a5e96bbbebd66a04

Otherwise, looks good to me