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

write "edit comment modal view" #115

Open
6 tasks
Tracked by #109
chase-moskal opened this issue May 21, 2022 · 1 comment
Open
6 tasks
Tracked by #109

write "edit comment modal view" #115

chase-moskal opened this issue May 21, 2022 · 1 comment
Assignees
Labels

Comments

@chase-moskal
Copy link
Contributor

chase-moskal commented May 21, 2022

image

  • the modal view will probably use a new component <namaka-edit-comment>
  • text blocks must be customizable via <slot> elements
  • handle all types of comments
    • threads (comments with no children)
    • replies (comments with a parent)
    • reviews (threads with scoring !== undefined)
  • for reviews, use multiple scoring aspect
    • ie, rating a restaurant may involve separate ratings for "flavor", "presentation", "service"
    • add "getScoreCriteria" to the frontend commenting model
      • the commentWritingService currently has fetchScoreAspects which returns an array of score aspects, like ["flavor", "presentation", "service"]
    • component should dynamically display editable rating inputs for each of these dynamic "scoring aspects" (soon to be renamed to "scoring criteria")
  • all user inputs must be valid, otherwise "post comment" button is disabled
  • after "post comment" is pressed, call api function "commentWriting.editComment"
@chase-moskal chase-moskal changed the title write new NamakaEditComment component write "edit comment modal view" May 21, 2022
@chase-moskal chase-moskal moved this to Backlog in namaka devboard May 21, 2022
@chase-moskal chase-moskal moved this from Backlog to Prioritized Tasks in namaka devboard May 21, 2022
@chase-moskal chase-moskal added enhancement New feature or request frontend and removed enhancement New feature or request labels May 21, 2022
@Aribs01 Aribs01 self-assigned this May 23, 2022
@chase-moskal
Copy link
Contributor Author

  • add text input for subject line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Prioritized Tasks
Development

No branches or pull requests

2 participants