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

Clarify how to fill the code Review Checklist: #12054

Closed
CyrilleB79 opened this issue Feb 9, 2021 · 4 comments · Fixed by #12056
Closed

Clarify how to fill the code Review Checklist: #12054

CyrilleB79 opened this issue Feb 9, 2021 · 4 comments · Fixed by #12056
Milestone

Comments

@CyrilleB79
Copy link
Collaborator

It is not very clear how to fill the new Code Review Checklist.

Steps to reproduce:

  • Make a new PR for NVDA.
  • In the code Review Checklist check the items that are applicable

Actual behavior:

It is not clear when an item should be checked. Also maybe a comment to indicate how to check these check boxes is needed. We can already see in the few new PRs that people seem to use this list diversely according to situations:

Should unit test be checked if the PR was unit tested or if a unit test was added? Should help context be checked only if a new GUI item was added or also if I have checked that my PR does not need to implement help context.

More generally:

  • For items not applicable, should they be removed or unchecked
  • Will a PR be reviewed only when all items are checked. This would mean that PRs with unchecked items should remain drafts.

Expected behavior:

  • Clarify when an item should be checked.
  • Indicate if some items may be removed and in which case
  • Maybe the checkboxes are not the right tool? E.g. if answers yes/no/NotApplicable are required.

System configuration

NVDA installed/portable/running from source:

source

NVDA version:

Last alpha

Windows version:

N/A

Name and version of other software in use when reproducing the issue:

N/A

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

N/A

Have you tried any other versions of NVDA? If so, please report their behaviors.

N/A

If addons are disabled, is your problem still occuring?

N/A

Did you try to run the COM registry fixing tool in NVDA menu / tools?

N/A

@CyrilleB79
Copy link
Collaborator Author

Cc @feerrenrut, @michaelDCurran

@feerrenrut
Copy link
Contributor

Thanks for raising this @CyrilleB79.

If you haven't already, could you please read https://github.com/nvaccess/nvda/wiki/Github-pull-request-template-explanation-and-examples

This explanation may need further clarification.

The aim of this checklist is to ensure each item has been considered by both the author and the reviewer. Hopefully it helps to prevent items being forgotten. The reviewer and author need to use their best judgement on whether they think further changes need to be made after reviewing the checklist and if so, they can start a conversation about it. Its ok that not all items will be applicable for all situations. Checking the item lets us know its been considered.

Perhaps I should add this explanation to the wiki page, what do you think?

@CyrilleB79
Copy link
Collaborator Author

First of all, sorry, I had not read the updated wiki PR explanation page. Now it's done.

I find such a check list very useful for PR submitters as well as reviewers. Thanks.

However, my understanding is that all the checkboxes should be checked since all these points need to have been considered, even if not applicable. Am I correct?

In this case, I would find more useful to have an explicit Yes / No answer to each point, indicating if this point is applicable or not to the current PR. No answer would indicate that the specific point has not been considered, which is not recommended.

@feerrenrut
Copy link
Contributor

However, my understanding is that all the checkboxes should be checked since all these points need to have been considered, even if not applicable. Am I correct?

Yes. I only intend it to serve as a reminder, not a list of requirements and not a declaration.

For most of these items there is space in the PR template to talk about the specifics, I'd prefer long form explanation rather than a simple 'yes'. In the end, the proof is the diff / PR description, reviewers still need to go and look at these things. Mostly, I intended this list for the reviewer, but I think it is a good idea to make the reviewers expectations clear to the author also.

Authors can leave these items unchecked before a PR is ready for a review. I'll look at rewording the template and wiki to clarify.

I'd like to give the current approach some time, but feedback is certainly welcome.

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 a pull request may close this issue.

3 participants