Description
On miner details, the PR score breakdown UI builds a row of small grey stat chips per pull request. One chip is built from totalNodesScored as ${pr.totalNodesScored} nodes. When that count is 1, the UI shows “1 nodes” instead of {n} node(s) (e.g. 1 node(s), 2 node(s)).
Steps to Reproduce
- Open
/miners/details?githubId=... and go to the tab / section that lists per-PR breakdown with the compact stat chips (base score, commits, tokens, nodes, structural, leaf, etc.).
- Find a PR row where
totalNodesScored === 1 (data-dependent; may require a small or early contribution).
- Read the nodes fragment in the chip row.
Expected Behavior
- Nodes chip uses
{n} node(s) (e.g. 1 node(s), 2 node(s)); zero remains hidden per existing > 0 filter.
Actual Behavior
- The suffix “nodes” is always plural (e.g. “1 nodes”).
Environment
- Browser: any.
- OS: any.
- URL:
/miners/details?githubId=... (PR breakdown visible).
Additional Context
Description
On miner details, the PR score breakdown UI builds a row of small grey stat chips per pull request. One chip is built from
totalNodesScoredas${pr.totalNodesScored} nodes. When that count is 1, the UI shows “1 nodes” instead of{n} node(s)(e.g. 1 node(s), 2 node(s)).Steps to Reproduce
/miners/details?githubId=...and go to the tab / section that lists per-PR breakdown with the compact stat chips (base score, commits, tokens, nodes, structural, leaf, etc.).totalNodesScored === 1(data-dependent; may require a small or early contribution).Expected Behavior
{n} node(s)(e.g. 1 node(s), 2 node(s)); zero remains hidden per existing> 0filter.Actual Behavior
Environment
/miners/details?githubId=...(PR breakdown visible).Additional Context