-
Notifications
You must be signed in to change notification settings - Fork 153
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
[#1877] Show merge commits in the report #1882
Conversation
@ckcherry23 thanks for taking this up. When ready, also post a screenshot. |
With regards to these points, I'm of the opinion that changes to the ramp size calculation and file changes display should be done in a separate PR (which I think can solve #1042), and once that is merged, continue working on this PR. What does everyone else @reposense/active-reviewers @reposense/devs think? |
Here's a screenshot of the behavior now. Will update again based on my peer reviews. This is the repo that was used to report the bug. The light blue ramps are for
Okay, I think I will make the changes to ramp size calculation and file changes separately to limit the scope of this PR. |
Yes, this requires more deliberations. |
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.
The backend changes look pretty good. I think it might be necessary to add some new unit tests to check if merge commits are correctly identified
The current changes look great to me. You can request a separate review from me as soon as you complete the cypress changes. I only have 1 more doubt. This is again related to the case where a merge commit contains changes for conflict resolution. According to this post and this post, According to the posts, I am not sure about the current behavior of the wrapper class in |
74b6f78
to
9acac07
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.
It seems that there are 2 cypress cases regarding zoom view that did not pass. Can you take a look
c882734
to
413570d
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.
I am only reviewing the frontend side of this PR. LGTM! The cypress tests looks good to me as well.
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.
LGTM! Unit tests look good and the frontend changes seem to work well. Great work!
The following links are for previewing this pull request:
|
Fixes #1877
Proposed commit message
Implementation details
git log --no-merges
to begit log --full-history
.isMergeCommit
based on whether it has more than 1 parent hash.Other changes made:
1882-CommitInfoAnalyzerTest-analyzeCommits_mergeCommits_success
in testrepo-Alphacommits.json
filescypress
test branch