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

use "comment" over "comments" in review buffer #654

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

macovsky
Copy link
Contributor

Describe what this PR does / why we need it

Displays "comment" in review buffer instead of "comments"

Does this pull request fix one issue?

Fixes #648

Describe how you did it

Describe how to verify it

Make a comment in your review and see that it's displayed as "1 comment" in diff

Special notes for reviews

Checklist

  • Passing tests and linting standards
  • Documentation updates in README.md and doc/octo.txt

Copy link
Collaborator

@wd60622 wd60622 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this seems good. I checked out the branch and had the "comments" still when I added the comment but "comment" after loaded. I tried again and it wasn't like that.

Do you know if there is a different function at comment creation and rendering?

@macovsky
Copy link
Contributor Author

I think this seems good. I checked out the branch and had the "comments" still when I added the comment but "comment" after loaded. I tried again and it wasn't like that.

hm, I tried multiple times and couldn't see "comments" anywhere, it just appears as "comment" for me right from the start. did you see it as "1 comments" or maybe even "0 comments"?

Do you know if there is a different function at comment creation and rendering?

idk really, just looked in the code and couldn't find anything related

Copy link
Collaborator

@wd60622 wd60622 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thanks for taking a look. Lets push it through!

@wd60622 wd60622 merged commit 616fabd into pwntester:master Oct 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use comment over comments in review buffer
2 participants