MoeraOrg / MoeraOrg/moera-issues
"Add comment..." menu item in posts
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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