MoeraOrg / MoeraOrg/moera-issues

"Add comment..." menu item in posts

Open
#337 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

client enhancement
Dominant language
No language data
Stars
20
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Add "Add comment..." item to the posts' menu that opens CommentDialog for writing a new comment. This allows to write a comment without opening the detailed view of the post and going to the end of the list of comments.

Since CommentDialog may this way be invoked outside the detailed view of a post, its state should be separated from state.detailedPosting. Node name and ID of the posting should be passed in OPEN_COMMENT_DIALOG action.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the posts' menu and trace how it opens dialogs, then inspect CommentDialog, state.detailedPosting, and the OPEN_COMMENT_DIALOG action. The work is done when the menu item opens CommentDialog for a new comment without opening the detailed post view, with the posting node name and ID passed through the action and dialog state kept separate.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.