Skip to content

Conversation

@Bekiboo
Copy link
Collaborator

@Bekiboo Bekiboo commented Jan 19, 2026

Description of change

Fixed "Calculating..." bug - Added getActivityResult() helper that checks for calculatedScore in completed calculations (including 0) and displays "Score: 0/5" instead of "Calculating..."
Refactored icon styling - Created getActivityIconClass() helper to replace long nested ternary expressions in activity icon containers (desktop & mobile views)

Issue Number

Closes #632

Type of change

  • Fix (a change which fixes an issue)

How the change has been tested

Change checklist

  • I have ensured that the CI Checks pass locally
  • I have removed any unnecessary logic
  • My code is well documented
  • I have signed my commits
  • My code follows the pattern of the application
  • I have self reviewed my code

@Bekiboo Bekiboo self-assigned this Jan 19, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 19, 2026

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (1)
  • platforms/eReputation/client/src/pages/dashboard.tsx

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Bekiboo Bekiboo marked this pull request as ready for review January 19, 2026 08:57
@Bekiboo Bekiboo requested a review from coodos as a code owner January 19, 2026 08:57
@coodos coodos merged commit 29cc8c7 into main Jan 19, 2026
4 checks passed
@coodos coodos deleted the fix/eReputation-calculating-display-error branch January 19, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] eReputation shows “Calculating…” instead of final 0/5 score

3 participants