Сonfusing behavior of showing 0 commits when upstream API fails. #3225
Labels
enhancement
New feature or request.
stats-card
Feature, Enhancement, Fixes related to stats the stats card.
Related to #3186 (comment)
Problem
I think that current behavior of stats card which shows 0 commits when upstream API fails and
&include_all_commits=true
query parameter specified is wrong bacause such behavior is not obvious for users and confuse them. Recently i also had to answer some issues/discussions with questions from users about why their card showing 0 commits. I think it would be pretty stupid to show users zero statistics for every error instead of error message, but for some reason the total number of commits is done this way, I personally don’t see any particular reason to leave this behavior.Suggested solution
I think that it will be better to render error card with message aksking user to try later in this case.
@rickstaa Let me know if you are up to approve such changes, then i will try to find time for creating a pull request.
The text was updated successfully, but these errors were encountered: