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

feat(notification): users receive notifications #32

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

fob413
Copy link
Contributor

@fob413 fob413 commented Oct 16, 2017

What does this PR do?

Notifications for both User and Admin.

Description of Task to be completed?

Notifications are sent to both user and Admin via Email, Sms and In-app when users makes or cancels and order, when admin cancels an order and when shipment status of an order changes

How should this be manually tested?

  • user buys a product
  • user cancels a product
  • admin cancels a product
  • change shipping status of product

What are the relevant pivotal tracker stories?

https://www.pivotaltracker.com/story/show/151207884


<h2 style="color: #0099cc; border-bottom: 1px solid grey; padding-bottom: 1%;">Canceled Order</h2>
<p>Hi,</p>
<p>Your order of <span style="font-weight: bold;">${order.items.length} item(s)</span> of <span style="color: #0099cc; text-decoration: underline;"><span style="font-weight: bold; text-decoration: none;">id:</span> ${order._id}</span> was canceled. Please find the details below</p>

Choose a reason for hiding this comment

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

Line 998 exceeds the maximum line length of 160 max-len


<h2 style="color: #0099cc; border-bottom: 1px solid grey; padding-bottom: 1%;">Delivered Order</h2>
<p>Hi,</p>
<p>Your order of <span style="font-weight: bold;">${order.items.length} item(s)</span> of <span style="color: #0099cc; text-decoration: underline;"><span style="font-weight: bold; text-decoration: none;">id:</span> ${order._id}</span> has been delivered.</p>

Choose a reason for hiding this comment

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

Line 519 exceeds the maximum line length of 160 max-len


<h2 style="color: #0099cc; border-bottom: 1px solid grey; padding-bottom: 1%;">Shipping status</h2>
<p>Hi,</p>
<p>Your order of <span style="font-weight: bold;">${order.items.length} item(s)</span> of <span style="color: #0099cc; text-decoration: underline;"><span style="font-weight: bold; text-decoration: none;">id:</span> ${order._id}</span> has been packed and would be delivered to you shortly.</p>

Choose a reason for hiding this comment

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

Line 119 exceeds the maximum line length of 160 max-len

@VanPaitin VanPaitin temporarily deployed to isildur-rc-staging-pr-32 October 16, 2017 10:11 Inactive
- updated the email sent to users when shipment status changes

[finishes #151207884]
@fob413 fob413 force-pushed the feature/151207884/users-notification branch from 9dda44d to 997b6ef Compare October 16, 2017 10:17
@fob413 fob413 had a problem deploying to isildur-rc-staging-pr-32 October 16, 2017 10:18 Failure
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

Successfully merging this pull request may close these issues.

None yet

3 participants