From b215188a3992beee90ed1cb9e91d4dc0115405ce Mon Sep 17 00:00:00 2001 From: Andreas Weyer Date: Mon, 24 Nov 2025 19:09:51 +0000 Subject: [PATCH] Update app main layout, diagram improvements --- src/App.js | 64 ++++++++++++++++--------------- src/components/Settings.js | 10 ++--- src/components/SimulationChart.js | 49 ++++++++++++----------- src/constants/defaults.js | 2 +- 4 files changed, 63 insertions(+), 62 deletions(-) diff --git a/src/App.js b/src/App.js index 5d97f72..3200a08 100644 --- a/src/App.js +++ b/src/App.js @@ -34,7 +34,7 @@ const MedPlanAssistant = () => { } = appState; const { - showDayTimeXAxis, + showDayTimeOnXAxis, chartView, yAxisMin, yAxisMax, @@ -67,35 +67,10 @@ const MedPlanAssistant = () => { -
- {/* Left Column - Controls */} -
- updateState('doses', newDoses)} - t={t} - /> +
- - - -
- - {/* Center Column - Chart */} -
+ {/* Both Columns - Chart */} +
- {/* Right Column - Settings */} + {/* Left Column - Controls */} +
+ updateState('doses', newDoses)} + t={t} + /> + + + + +
+ + {/* Right Column - Settings */}
{ t={t} />
+