-
Couldn't load subscription status.
- Fork 0
Enhance editing comments in issues and PRs #50
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
Conversation
519a014 to
d9f6798
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- for PRs, the edit and the add are identified correctly 👍
- for issues, the edit and and the add are both identified as add 👎
- I'm going to merge it anyway and track the unresolved aspect of the problem in the original issue #21
| "type": "GH_EDIT_COMMENT", | ||
| "unique_key": "github.com:diffplug/gitcasso:NaN", | ||
| }, | ||
| "title": "TITLE_TODO", | ||
| "upperDecoration": <React.Fragment> | ||
| <span | ||
| className="font-mono text-muted-foreground text-sm" | ||
| > | ||
| diffplug/gitcasso | ||
| </span> | ||
| <span | ||
| className="ml-2 font-medium" | ||
| > | ||
| PR # | ||
| NaN | ||
| </span> | ||
| </React.Fragment>, | ||
| }, | ||
| { | ||
| "for": "id=new_comment_field name=comment[body] className=js-comment-field js-paste-markdown js-task-list-field js-quick-submit FormControl-textarea CommentBox-input js-size-to-fit size-to-fit js-session-resumable js-saved-reply-shortcut-comment-field overtype-input", | ||
| "spot": { | ||
| "domain": "github.com", | ||
| "number": 58, | ||
| "slug": "diffplug/gitcasso", | ||
| "title": "TODO_TITLE", | ||
| "type": "GH_PR_ADD_COMMENT", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for PRs, the first textarea is GH_EDIT_COMMENT and the second one is GH_PR_ADD_COMMENT. That is great!
| "type": "GH_ISSUE_ADD_COMMENT", | ||
| "unique_key": "github.com:diffplug/gitcasso:56", | ||
| }, | ||
| "title": "TITLE_TODO", | ||
| "upperDecoration": <React.Fragment> | ||
| <span | ||
| className="flex h-4 w-4 flex-shrink-0 items-center justify-center" | ||
| > | ||
| <IssueOpenedIcon | ||
| size={16} | ||
| /> | ||
| </span> | ||
| # | ||
| 56 | ||
| <a | ||
| className="truncate hover:underline" | ||
| href="https://github.com/diffplug/gitcasso" | ||
| > | ||
| diffplug/gitcasso | ||
| </a> | ||
| </React.Fragment>, | ||
| }, | ||
| { | ||
| "for": "id=:ra7: name=null className=prc-Textarea-TextArea-13q4j overtype-input", | ||
| "spot": { | ||
| "domain": "github.com", | ||
| "number": 56, | ||
| "slug": "diffplug/gitcasso", | ||
| "title": "TODO_TITLE", | ||
| "type": "GH_ISSUE_ADD_COMMENT", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for issues, both the top and the bottom are identified as GH_ISSUE_ADD_COMMENT. That has to get fixed.
Uh oh!
There was an error while loading. Please reload this page.