feat(mining): left pool card (Manual/Auto, metrics, scrollable pool list)
Split the pool-mode hashrate card into a 25%-width left card + 75% chart so the
Manual/Auto toggle and pool metrics no longer reflow the tab:
- left card: Manual|Auto toggle (with tooltips), a Local/Pool/Shares/Uptime
metric stack, and a fixed-height scrolling pool list — rows click-to-select in
Manual (reusing the existing save+restart path) and show a "mining here" dot in
Auto. Fixed height keeps the card constant as pools are added.
- mode-toggle row: keep the suggested-pools dropdown + auto-mode URL disable;
the toggle and pool list moved into the card.
- mining_controls: show the installed/running miner version ("Current: …")
before and during mining instead of "none".
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -278,7 +278,8 @@ static void RenderMiningTabContent(App* app)
|
||||
// (Or full-card log view when toggled in pool mode)
|
||||
// ================================================================
|
||||
RenderMiningStats(state, mining, dl, capFont, sub1, ovFont, dp, vs, gap, pad,
|
||||
availWidth, glassSpec, chartBudgetH, s_pool_mode);
|
||||
availWidth, glassSpec, chartBudgetH, s_pool_mode,
|
||||
app, s_pool_url, s_pool_settings_dirty);
|
||||
|
||||
// ================================================================
|
||||
// EARNINGS — Horizontal row card (Today | Yesterday | All Time | Est. Daily)
|
||||
|
||||
Reference in New Issue
Block a user