-
Notifications
You must be signed in to change notification settings - Fork 154
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
[#1959] Missing contribution bar for merged groups after refresh #1960
Merged
dcshzj
merged 10 commits into
reposense:master
from
MarcusTXK:1959-missing-contribution-bar
Apr 4, 2023
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
34302ae
Fix bug causing NaN due to 0 divide by 0
MarcusTXK 8a26a3e
Add guard clause for divide by 0
MarcusTXK aad4f3a
Merge branch 'master' into 1959-missing-contribution-bar
MarcusTXK f442a35
Fix getFileTypeContributionBars crashing when avgContributionSize = 0
MarcusTXK e21a6e9
Merge branch '1959-missing-contribution-bar' of https://github.com/Ma…
MarcusTXK c0f5cd8
Merge branch 'master' into 1959-missing-contribution-bar
MarcusTXK a67c0c4
Merge branch 'master' into 1959-missing-contribution-bar
MarcusTXK 13ba5c5
Fix init value for checkedFileTypeContribution to be undefined
MarcusTXK 8b67222
Merge branch 'master' into 1959-missing-contribution-bar
dcshzj fc393da
Fix user.checkedFileTypeContribution possibly being undefined
MarcusTXK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Interestingly, this is what is causing the cypress test to fail. By adding this guard clause, the browser hangs if you check "breakdown by file type", uncheck "All" and then try to check any one of the file types. There is a part of the frontend that only works when the output is
NaN
due to the division of 0.