From e71b47ac56fe0fc248bfe5c59f0abfc28f97b3f5 Mon Sep 17 00:00:00 2001 From: ramseshk <45832522+ramseshk@users.noreply.github.com> Date: Mon, 10 Aug 2026 12:58:37 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20VBT=20sidebar=20=E2=80=94=20cleaner?= =?UTF-8?q?=20UX=20with=20grouped=20sections=20+=20collapsible=20fee=20tie?= =?UTF-8?q?rs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sidebar reorganized into clear sections: [FILTERS] — Strategy + Asset + Interval + Sort ▶ Fee Tiers — collapsible (hidden by default), shows summary T0 + staking tier name when collapsed [NEW BACKTEST] — compact: Strategy (short names) + Interval + Limit Row 2: Coin + ▶ Run button (side by side) + ↻ Refresh [RESULTS] — count header + list + pagination Removed: - Full-width run strategy row (now inline with interval/limit) - Duplicate fee tier labels in select options - Separate run/refresh button row (now same row as coin) Added: - toggleFeeTiers() — expand/collapse fee settings - updateFeeSummary() — shows current tier in collapsed label - Fee changes auto-recalculate (no manual onchange needed) - Section headers: small uppercase labels --- dashboard/static/vbt.html | 90 ++++++++++++++++++++++++--------------- 1 file changed, 55 insertions(+), 35 deletions(-) diff --git a/dashboard/static/vbt.html b/dashboard/static/vbt.html index 7bee568..5d1b4d3 100644 --- a/dashboard/static/vbt.html +++ b/dashboard/static/vbt.html @@ -101,6 +101,7 @@ select:focus{outline:none;border-color:var(--text4)}