Description
The Insights & Next Actions card on every miner detail page (/miners/details?githubId=…) renders each insight's title and a colored type chip (WARNING / TIP / ACHIEVEMENT), but the one-sentence description body under each title never appears. Every insight row collapses into a title + chip with empty space underneath, removing all the actionable context users rely on to understand why a recommendation was surfaced.
The data is being computed correctly — the bug is purely in the render JSX.
In src/components/miners/MinerInsightsCard.tsx (default branch test):
-
The InsightItem interface declares description: string.
-
All 8 insight builders populate description with non-empty copy — getOpenPrInsight, getCredibilityInsight, getEligibilityInsight, getCollateralInsight, plus the issue-mode equivalents (getOpenIssueRiskInsight, getIssueEligibilityInsight, getIssueCredibilityInsight, getIssueSolvedInsight).
-
The render JSX in the insights.map(...) block has a self-closing <Typography ... /> where the description body should be:
<Typography
sx={{
color: (t) => alpha(t.palette.text.primary, 0.68),
fontSize: '0.8rem',
mt: 0.4,
lineHeight: 1.45,
wordBreak: 'break-word',
}}
/>
No {insight.description} child is ever rendered, so the styled paragraph element sits empty in the DOM on every insight row.
Steps to Reproduce
- Open https://gittensor.io/ and click any miner (one that is not yet eligible, has open-PR collateral impact, or sub-90% credibility — i.e. any miner that should surface at least one warning or tip).
- Scroll to the Insights & Next Actions card on the right of the miner detail page.
- Observe each insight row.
Expected Behavior
Each row shows three things:
- Title (e.g. Not yet eligible)
WARNING / TIP / ACHIEVEMENT chip
- A one-sentence description body underneath, e.g. "You are currently ineligible for rewards. Improve your credibility, increase your token score, and contribute to more repositories to become eligible."
Actual Behavior
Title + chip render, body is always empty. On my own miner three rows — Not yet eligible, Collateral is suppressing score, Keep credibility trending upward — all show empty space where their descriptions should be.
Environment
- Browser: any
- OS: any
- URL:
https://gittensor.io/miners/details?githubId=<any-miner> (or local equivalent)
- Branch:
test @ current HEAD
Additional Context
The fix is a single-line render change at the self-closing <Typography /> — replace it with <Typography ...>{insight.description}</Typography>. PR to follow.
Description
The Insights & Next Actions card on every miner detail page (
/miners/details?githubId=…) renders each insight's title and a colored type chip (WARNING/TIP/ACHIEVEMENT), but the one-sentence description body under each title never appears. Every insight row collapses into a title + chip with empty space underneath, removing all the actionable context users rely on to understand why a recommendation was surfaced.The data is being computed correctly — the bug is purely in the render JSX.
In
src/components/miners/MinerInsightsCard.tsx(default branchtest):The
InsightIteminterface declaresdescription: string.All 8 insight builders populate
descriptionwith non-empty copy —getOpenPrInsight,getCredibilityInsight,getEligibilityInsight,getCollateralInsight, plus the issue-mode equivalents (getOpenIssueRiskInsight,getIssueEligibilityInsight,getIssueCredibilityInsight,getIssueSolvedInsight).The render JSX in the
insights.map(...)block has a self-closing<Typography ... />where the description body should be:No
{insight.description}child is ever rendered, so the styled paragraph element sits empty in the DOM on every insight row.Steps to Reproduce
Expected Behavior
Each row shows three things:
WARNING/TIP/ACHIEVEMENTchipActual Behavior
Title + chip render, body is always empty. On my own miner three rows — Not yet eligible, Collateral is suppressing score, Keep credibility trending upward — all show empty space where their descriptions should be.
Environment
https://gittensor.io/miners/details?githubId=<any-miner>(or local equivalent)test@ current HEADAdditional Context
The fix is a single-line render change at the self-closing
<Typography />— replace it with<Typography ...>{insight.description}</Typography>. PR to follow.