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

Diff view appears out of chronolgical order #88

Open
mtlynch opened this issue Jan 6, 2023 · 2 comments
Open

Diff view appears out of chronolgical order #88

mtlynch opened this issue Jan 6, 2023 · 2 comments

Comments

@mtlynch
Copy link

mtlynch commented Jan 6, 2023

PR: tiny-pilot/ansible-role-ustreamer#89

On this PR, the order of events was:

  1. jdeanwallace gave me round 1 of notes (2023-01-05 9:37 AM ET)
  2. I updated the PR and published responses to those notes (2023-01-05 3:46 PM ET)
  3. jdeanwallace gave me round 2 of notes (2023-01-06 9:54 AM ET)

Expected

CodeApprove orders the options as:

  1. "Since review by jdeanwallace 9:54 AM"
  2. "Since my last review Jan 05, 3:46 PM"
  3. "Since review by jdeanwallace Jan 05 9:37 AM"

Actual

CodeApprove orders the options out of chronological order:

  1. "Since my last review Jan 05, 3:46 PM"
  2. "Since review by jdeanwallace 9:54 AM"
  3. "Since review by jdeanwallace Jan 05 9:37 AM"

image

@samatcodeapprove
Copy link

@mtlynch ah thanks for filing this. This is currently intended behavior but I can see how it feels like a bug. Right now the first option is always "Since my last review" and then below that are all other reviews. I do this because I think that's the option most people are looking for and it could easily be buried under other reviewers in a multi-review situation.

I'll think about this some more and see if there's a way to make this more intuitive

@mtlynch
Copy link
Author

mtlynch commented Jan 6, 2023

"Since my last review" is a good first option if there have been changes since my last review.

The view I wanted to see was the diff of the last logical round (base: "review by jdeanwallace Jan 05 9:37 AM" vs head: "review by jdeanwallace 9:54 AM").

In this case, the first two options in CodeApprove's dropdown were empty diffs because I hadn't pushed any changes yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants