From c85d5f25f6f16e83b3591f2e3e577075a7a80f0b Mon Sep 17 00:00:00 2001 From: heyitsStylez Date: Wed, 19 Aug 2026 13:00:45 +0800 Subject: [PATCH 1/2] Trade Log count excludes HOLDINGs so it matches the table (open + history) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The top-right count read displayRows.length, which included spot HOLDINGs (rendered as cards, not table rows) — so it disagreed with Open Positions + Position History. Count non-HOLDING rows instead. --- src/js/core/06-render-table.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/core/06-render-table.js b/src/js/core/06-render-table.js index 5c53175..374b4ab 100644 --- a/src/js/core/06-render-table.js +++ b/src/js/core/06-render-table.js @@ -434,7 +434,8 @@ function rTable(displayRows, streams, lots) { return; } - cntEl.textContent = displayRows.length + ' trade' + (displayRows.length !== 1 ? 's' : ''); + const logCount = displayRows.filter(r => r.type !== 'HOLDING').length; // open + history; holdings render as cards + cntEl.textContent = logCount + ' trade' + (logCount !== 1 ? 's' : ''); // Holdings cards — one card per open lot const sym = { BTC:'▶', ETH:'◆', HYPE:'■', SOL:'●' }; From ad5b323128052965f6bbb067397185d1b41a2744 Mon Sep 17 00:00:00 2001 From: heyitsStylez Date: Wed, 19 Aug 2026 13:13:28 +0800 Subject: [PATCH 2/2] chore: re-trigger CI (build job stuck in Actions queue)