Skip to content

Diff view appears out of chronolgical order #88

Open

Description

@mtlynch

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

Activity

  1. samatcodeapprove commented on Jan 6, 2023

    @samatcodeapprove

    @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

  2. mtlynch commented on Jan 6, 2023

    @mtlynch
    Author

    "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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions