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

Announcements should optionally be sent as push notifications... #273

Open
6 of 8 tasks
GeorgeBellTMH opened this issue Sep 3, 2021 · 8 comments
Open
6 of 8 tasks

Comments

@GeorgeBellTMH
Copy link
Contributor

GeorgeBellTMH commented Sep 3, 2021

In the admin for announcements there should be the following to send notifications:

UI

  • A checkmark for "Send as a notification", and ability to schedule, or send immediately
  • A spot to enter the message/title/urls etc for the notification and action
  • A dropdown to choose which segment to send to

MOBILE CHANGES

  • need to Analytics.updateEndpoint when groups is returned for the first time after login so we can segment by group
  • need to Analytics.updateEndpoint when user changes their location (and for legacy users, if it's not been set) so we can segment by location

BACKEND

  • Function to list Segments
  • Function to create campaign
  • Function to clean up old endpoints

Once submitted we schedule the push notification in pinpoint and link it to the detailed page in the app, or a link on the website.

┆Issue is synchronized with this Wrike Item

@lucastbelem
Copy link

This is gold! How do we do it?

@lucastbelem
Copy link

@itbel can you please look into this? It'd be great to start leveraging this one fairly soon, if we can swing it quickly.

@GeorgeBellTMH
Copy link
Contributor Author

@itbel I will create the function for this, so just need to do the admin side...

@lucastbelem
Copy link

lucastbelem commented Sep 8, 2021 via email

@GeorgeBellTMH
Copy link
Contributor Author

Two functions created...

tmhPinpointListSegments - list of segments (groups of users to send alerts to...we may need to make some of these in the pinpoint UI)
tmhPinpointCreateCampaign - create and send messages (I am going to write this function initially so that it creates the campaign on pause...and then you go into the interface and execute it...until we are ok with the frontend...)

scaffolding is done, I'm working on making the functions actually work...

@GeorgeBellTMH
Copy link
Contributor Author

I've created a segment that is just the three of us...so we can test this thing without everyone else getting messaged...

@lucastbelem
Copy link

lucastbelem commented Sep 9, 2021 via email

@lucastbelem lucastbelem removed their assignment Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants