You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user I want to be able to communicate with my customer
I want to know when my customer sent me a message
I want to know if my customer as seen my message
Model
Item
comments ([Comment]!)
Comment
Posting date
author (Author!)
text (needs to be sanitized)
views ([CommentViews!]!)
CommentView
viewer (Viewer!)
viewedAt
Description of the behavior
User and customer needs to be able to post a comment on an Item. A User can only post a comment on an item it controls (meaning it is part of a quote create by User). A customer can only post a comment on an item sent to him (meaning it is part of a quote associated with the token in the Url)
User can post from the quote-see view (as part of an amendment)
a User can also post a comment by clicking on the comment Icon in the Item container. This open a modal that displays all the comments.
Customer can post comment from the quote-customer-view. By clicking on the comment icon.
This opens a modal where the customer can view the comments and post a new one.
The number in the comment icon for the user and customer is grey when there is no comment that has not been read by the user or customer.
It is primaryBlue for the User if there is at least one comment that is not read by the User.
It is primaryBlue for the Customer if there is at least one comment that is not read by the Customer.
If there is at least one comment that is not read the number of unread comments is displayed in the icon.
The text was updated successfully, but these errors were encountered:
Comments
User story
As a user I want to be able to communicate with my customer
Model
Item
Comment
CommentView
Description of the behavior
User and customer needs to be able to post a comment on an Item. A User can only post a comment on an item it controls (meaning it is part of a quote create by User). A customer can only post a comment on an item sent to him (meaning it is part of a quote associated with the token in the Url)
User can post from the quote-see view (as part of an amendment)
a User can also post a comment by clicking on the comment Icon in the Item container. This open a modal that displays all the comments.
Customer can post comment from the quote-customer-view. By clicking on the comment icon.
This opens a modal where the customer can view the comments and post a new one.
The number in the comment icon for the user and customer is grey when there is no comment that has not been read by the user or customer.
It is primaryBlue for the User if there is at least one comment that is not read by the User.
It is primaryBlue for the Customer if there is at least one comment that is not read by the Customer.
If there is at least one comment that is not read the number of unread comments is displayed in the icon.
The text was updated successfully, but these errors were encountered: