From 4e1469ceec966b34ee9d937539d862868007149b Mon Sep 17 00:00:00 2001 From: rakadu1 Date: Fri, 31 Oct 2025 17:58:57 +0530 Subject: [PATCH] Added extra information (track info) in the data explorer. Making it dragable and resizable. --- steps/index.html | 46 +++++- steps/src/dataExplorer.js | 293 ++++++++++++++++++++++++++++++++++---- 2 files changed, 304 insertions(+), 35 deletions(-) diff --git a/steps/index.html b/steps/index.html index 9467f72..12b575d 100644 --- a/steps/index.html +++ b/steps/index.html @@ -69,6 +69,29 @@ #progress-bar { transition: width 0.1s linear; } + + /* --- START: CSS for Resizable/Draggable Panel --- */ + .resizer { + position: absolute; + width: 10px; + height: 10px; + background: transparent; + z-index: 10; + } + .resizer-t { top: -5px; left: 5px; right: 5px; height: 10px; cursor: ns-resize; } + .resizer-r { top: 5px; right: -5px; bottom: 5px; width: 10px; cursor: ew-resize; } + .resizer-b { bottom: -5px; left: 5px; right: 5px; height: 10px; cursor: ns-resize; } + .resizer-l { top: 5px; left: -5px; bottom: 5px; width: 10px; cursor: ew-resize; } + .resizer-tl { top: -5px; left: -5px; cursor: nwse-resize; } + .resizer-tr { top: -5px; right: -5px; cursor: nesw-resize; } + .resizer-br { bottom: -5px; right: -5px; cursor: nwse-resize; } + .resizer-bl { bottom: -5px; left: -5px; cursor: nesw-resize; } + /* When dragging/resizing, prevent text selection on the page */ + body.resizing, body.dragging { + user-select: none; + -webkit-user-select: none; + } + /* --- END: CSS for Resizable/Draggable Panel --- */ @@ -275,24 +298,39 @@