From d34dc9d729b1d983e49276575a92bcc8dafa7949 Mon Sep 17 00:00:00 2001 From: Marko Djordjevic Date: Tue, 17 Feb 2026 22:10:54 +0100 Subject: [PATCH] fix: make sidebar scrollable so training/predictions panels are always visible --- src/app/page.tsx | 98 +++++++++++++++++++++++--------------------- tsconfig.tsbuildinfo | 2 +- 2 files changed, 52 insertions(+), 48 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5f43754..6ea49c1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -760,7 +760,7 @@ export default function Home() { {/* Sidebar */}
{/* Sidebar Header */} -
+

Candle Annotator

Chart annotation tool

@@ -771,7 +771,7 @@ export default function Home() {
{/* Chart Selector */} -
+
{/* File Upload */} -
+
{/* Toolbox */} -
+
- {/* Annotations List - scrollable */} -
- -
- - {/* TA-Lib Pattern Panel */} -
- fetchSpanAnnotations(activeChartId)} - getCandles={() => chartRef.current?.getVisibleCandles()} - /> + {/* Scrollable middle: Annotations + TA-Lib + Training + Predictions */} +
+ {/* Annotations List */} +
+ +
+ + {/* TA-Lib Pattern Panel */} +
+ fetchSpanAnnotations(activeChartId)} + getCandles={() => chartRef.current?.getVisibleCandles()} + /> +
+ + {/* Training Panel */} +
+ +
+ + {/* Predictions */} +
+ +
+ {/* Fixed bottom actions */} {/* Delete all annotations */} -
+
- {/* Training Panel */} -
- -
- - {/* Predictions */} -
- -
- {/* Export */} -
+