Skip to content

fix(miners): use node(s) label in PR score breakdown stat chips#1237

Open
galuis116 wants to merge 2 commits into
entrius:testfrom
galuis116:fix/node-pluralization
Open

fix(miners): use node(s) label in PR score breakdown stat chips#1237
galuis116 wants to merge 2 commits into
entrius:testfrom
galuis116:fix/node-pluralization

Conversation

@galuis116
Copy link
Copy Markdown
Contributor

Summary

On miner details, the per-PR score breakdown showed {n} nodes, which reads incorrectly for a single node (e.g. “1 nodes”).
Updates the nodes stat chip in MinerScoreBreakdown.tsx to {n} node(s) (e.g. “1 node(s)”, “2 node(s)”).

Related Issues

Fixes #1236

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Screenshots

image

Checklist

  • New components are modularized/separated where sensible
  • Uses predefined theme (e.g. no hardcoded colors)
  • Responsive/mobile checked
  • Tested against the test API
  • npm run format and npm run lint:fix have been run
  • npm run build passes
  • Screenshots included for any UI/visual changes

@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 19, 2026
Resolve conflict by moving node(s) stat chip fix to MinerPrScoreDetail after MinerScoreBreakdown was removed on test.
@galuis116 galuis116 force-pushed the fix/node-pluralization branch from b70f159 to 9216d12 Compare May 19, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Miner PR breakdown nodes chip shows "1 nodes" instead of "{n} node(s)"

1 participant