From 2ad1006de4c782bb93618ccdbbf3930938a6e95c Mon Sep 17 00:00:00 2001 From: Nalvazhuthi Date: Sat, 3 May 2025 17:28:46 +0530 Subject: [PATCH] updating UI --- app/src/components/icons/analysis.tsx | 123 +++- .../ui/analysis/ProductionCapacity.tsx | 5 +- app/src/components/ui/analysis/ROISummary.tsx | 11 +- .../ui/analysis/ThroughputSummary.tsx | 9 +- app/src/components/ui/log/LoggerContext.tsx | 35 +- .../ui/simulation/simulationPlayer.tsx | 4 +- .../builder/groups/floorItemsGroup.tsx | 691 +++++++++++------- .../components/simulation/analysis.scss | 39 +- 8 files changed, 587 insertions(+), 330 deletions(-) diff --git a/app/src/components/icons/analysis.tsx b/app/src/components/icons/analysis.tsx index 76c7f42..444895d 100644 --- a/app/src/components/icons/analysis.tsx +++ b/app/src/components/icons/analysis.tsx @@ -1,19 +1,58 @@ export function ThroughputSummaryIcon() { return ( - + + + + + + + + + + + + + + + ); } @@ -21,28 +60,72 @@ export function ThroughputSummaryIcon() { export function ProductionCapacityIcon() { return ( - - - + + + + - + + + + + + + + + + + diff --git a/app/src/components/ui/analysis/ProductionCapacity.tsx b/app/src/components/ui/analysis/ProductionCapacity.tsx index 803ec47..ad69a43 100644 --- a/app/src/components/ui/analysis/ProductionCapacity.tsx +++ b/app/src/components/ui/analysis/ProductionCapacity.tsx @@ -8,6 +8,7 @@ import { PointElement, } from "chart.js"; import { PowerIcon, ProductionCapacityIcon } from "../../icons/analysis"; +import { ThroughputIcon } from "../../icons/3dChartIcons"; ChartJS.register(LineElement, CategoryScale, LinearScale, PointElement); @@ -84,8 +85,8 @@ const ThroughputSummary = () => { }; return ( -
-
+
+
Production Capacity
diff --git a/app/src/components/ui/analysis/ROISummary.tsx b/app/src/components/ui/analysis/ROISummary.tsx index 8be74e8..81441a2 100644 --- a/app/src/components/ui/analysis/ROISummary.tsx +++ b/app/src/components/ui/analysis/ROISummary.tsx @@ -117,7 +117,9 @@ const ROISummary = ({
- Net Profit + + Net Profit + {roiSummaryData.netProfit}
@@ -186,9 +188,10 @@ const ROISummary = ({ Increase CNC utilization by 10%{" "} to shave 0.5 months of payback period -
-
-
+
+
+
+