Skip to content

feat(miners): rebuild details page as a decision-support dashboard#1325

Closed
Dexterity104 wants to merge 7 commits into
entrius:testfrom
Dexterity104:feat/miner-dashboard-95
Closed

feat(miners): rebuild details page as a decision-support dashboard#1325
Dexterity104 wants to merge 7 commits into
entrius:testfrom
Dexterity104:feat/miner-dashboard-95

Conversation

@Dexterity104

@Dexterity104 Dexterity104 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Rebuilds the miner details page from a stack of separate cards into a single decision-support dashboard. The new layout reads top to bottom as one view:

  • Profile hero with the miner identity and a watch action.
  • Stat band showing earnings, score, activity, and collateral, each with a peer percentile so the raw figures carry network-relative meaning.
  • Next steps: one severity-ranked action list that consolidates what used to be three separate sections (score levers, insights, and the open-PR-risk prompt). The underlying policy maths is unchanged; each step can scroll to the section where it is acted on.
  • Repository panel with per-repo standing and unlock progress, driven by the live eligibility gates rather than the retired tier ladder.
  • Contribution tabs (pull requests / open issues / activity) filterable by a 1D/7D/30D range that matches the subnet scoring window.

Supporting changes:

  • New pure helpers: minerBenchmark (peer percentiles), minerNextSteps (prioritised actions), and expanded minerProgress (unlock progress and network standing).
  • New shared components: SegmentedToggle, PercentileBadge, MergeOutcomeBar.
  • Shared formatRelativeTimeAgo so recency labels read the same on the leaderboard and the dashboard.
  • Removes the superseded components (CredibilityChart, MinerInsightsCard, MinerIdentityRail, MinerRepoStandings, MinerRepoStandingCard, MinerOpenPrRisk, MinerScoreLevers) and the now-unused paths util.

Related Issues

Closes #95
Closes #1324

Type of Change

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

Screenshots

1 2 3 9 4 5 6 7 8

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 feature Net-new functionality label Jun 4, 2026
@Dexterity104

Copy link
Copy Markdown
Contributor Author

@e35ventura
Could you please check this PR and give me any feedback?

@anderdc anderdc closed this Jun 8, 2026
@anderdc

anderdc commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

not a fan of this UX redesign, too much stuff is happening on the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Net-new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rebuild the miner details page into a decision-support dashboard Redesigning Miner Details Page

2 participants