feat(xmrig-update): two-pane version picker matching the node updater
Bring the miner (DRG-XMRig) updater to the same design as the daemon updater: two-pane layout with tactile version cards (text label + right-aligned icon badge: installed check / pre-release flask / newest new-releases, hover-only tooltips) on the left, and the selected version's detail on the right — a unified rounded info surface holding the version header + markdown-rendered release notes, with the verify note and a centered, text-fit install button below it, and a larger Close in the footer. Fetches the full release list up front; Downloading/Done/Failed render in the right pane. Preserves the miner specifics: installs are refused while the miner is running (button disabled + a stop-mining note), and the installed tag is persisted via setXmrigVersion on success. Adds a modal-xmrig-update sweep surface (fake releases). Verified 100% + 150%, dark + light. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1444,6 +1444,17 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["xmrig_unknown_error"] = "Unknown error.";
|
||||
strings_["xmrig_browse_releases"] = "Browse all releases…";
|
||||
strings_["xmrig_loading_releases"] = "Loading releases…";
|
||||
strings_["xmrig_latest_badge"] = "latest";
|
||||
strings_["xmrig_status_current"] = "This version is installed";
|
||||
strings_["xmrig_status_latest"] = "Latest version";
|
||||
strings_["xmrig_status_older"] = "Older than your installed version";
|
||||
strings_["xmrig_released"] = "Released:";
|
||||
strings_["xmrig_no_notes"] = "No release notes for this version.";
|
||||
strings_["xmrig_install_this"] = "Install this version";
|
||||
strings_["xmrig_downgrade_note"] = "Installing a different miner version replaces the current one; stop mining first, then it takes effect on the next start.";
|
||||
strings_["xmrig_active_tt"] = "The currently installed (active) miner";
|
||||
strings_["xmrig_latest_tt"] = "Newest available version";
|
||||
strings_["xmrig_prerelease_tt"] = "Pre-release / testing build";
|
||||
|
||||
// --- Shared release picker ("Browse all releases") ---
|
||||
strings_["upd_select_version"] = "Select a version to install";
|
||||
|
||||
Reference in New Issue
Block a user