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

Comments #13

Closed
FranzPoize opened this issue Oct 29, 2018 · 0 comments
Closed

Comments #13

FranzPoize opened this issue Oct 29, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@FranzPoize
Copy link
Contributor

FranzPoize commented Oct 29, 2018

Comments

User story

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.

@FranzPoize FranzPoize added the enhancement New feature or request label Oct 29, 2018
FranzPoize added a commit that referenced this issue Nov 6, 2018
YoruNoHikage pushed a commit that referenced this issue Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants