-
- {/* hourlySimulation */}
-
-
-
-
+ {subModule === "analysis" && (
+
+ {/* hourlySimulation */}
+
+
+
+
+
+
Hourly Simulation
+
+
-
Hourly Simulation
-
-
+ {/* dailyProduction */}
+
+
+
+
+
+
Daily Production
+
+
+
+ {/* monthlyROI */}
+
- {/* dailyProduction */}
-
-
-
-
-
-
Daily Production
-
-
+ )}
+ {subModule === "simulations" && (
+
+
+ {playSimulation
+ ? "Paused - system idle."
+ : "Running simulation..."}
- {/* monthlyROI */}
-
-
+ )}
-
+ {subModule === "analysis" && (
+
+ )}
@@ -330,37 +345,39 @@ const SimulationPlayer: React.FC = () => {
-
-
00:00
-
24:00
-
+ {subModule === "analysis" && (
+
+
00:00
+
24:00
- {process.map((item, index) => (
-
+
+ {process.map((item, index) => (
-
- ))}
+ key={index}
+ className="process"
+ style={{
+ width: `${item.completed}%`,
+ backgroundColor: getAvatarColor(index),
+ }}
+ >
+
+
+ ))}
+
-
+ )}
);
diff --git a/app/src/modules/visualization/RealTimeVisulization.tsx b/app/src/modules/visualization/RealTimeVisulization.tsx
index caf37a1..ad24e58 100644
--- a/app/src/modules/visualization/RealTimeVisulization.tsx
+++ b/app/src/modules/visualization/RealTimeVisulization.tsx
@@ -76,8 +76,6 @@ const RealTimeVisulization: React.FC = () => {
const { setSelectedChartId } = useWidgetStore();
const [waitingPanels, setWaitingPanels] = useState(null);
- console.log("waitingPanels: ", waitingPanels);
-
OuterClick({
contextClassName: [
"chart-container",
diff --git a/app/src/styles/components/simulation/simulation.scss b/app/src/styles/components/simulation/simulation.scss
index 0fc3df8..f40ead1 100644
--- a/app/src/styles/components/simulation/simulation.scss
+++ b/app/src/styles/components/simulation/simulation.scss
@@ -32,10 +32,17 @@
}
.controls-container {
- @include flex-center;
+ @include flex-space-between;
gap: 12px;
justify-content: space-between;
-
+ .header{
+ @include flex-center;
+ gap: 6px;
+ padding: 0 8px;
+ svg{
+ scale: 1.3;
+ }
+ }
.production-details,
.controls-wrapper {
@include flex-center;
@@ -72,7 +79,7 @@
.expand-icon-container {
@include flex-center;
- padding: 6px 8px;
+ padding: 0 8px;
cursor: pointer;
}
diff --git a/app/src/styles/components/tools.scss b/app/src/styles/components/tools.scss
index e476c3c..0a23871 100644
--- a/app/src/styles/components/tools.scss
+++ b/app/src/styles/components/tools.scss
@@ -124,6 +124,8 @@
padding: 4px;
border-radius: #{$border-radius-medium};
background: var(--background-color);
+ outline: 1px solid var(--border-color);
+ outline-offset: -1px;
gap: 5px;
position: relative;
diff --git a/app/src/styles/layout/sidebar.scss b/app/src/styles/layout/sidebar.scss
index c7f1694..f23d08e 100644
--- a/app/src/styles/layout/sidebar.scss
+++ b/app/src/styles/layout/sidebar.scss
@@ -58,12 +58,8 @@
fill: var(--icon-default-color-active);
}
&:hover {
- rect {
- stroke: var(--icon-default-color);
- }
- circle {
- fill: var(--icon-default-color);
- }
+ filter: saturate(0.8);
+ background: var(--background-color-accent);
}
}
}
@@ -714,10 +710,10 @@
.add-button {
@include flex-center;
- padding: 2px 4px;
+ padding: 4px 8px;
background: var(--background-color-button);
color: var(--text-button-color);
- border-radius: #{$border-radius-small};
+ border-radius: #{$border-radius-large};
cursor: pointer;
outline: none;
border: none;
@@ -832,10 +828,10 @@
transform: translateX(4px);
&:hover {
- background: var(--accent-color);
+ background: var(--background-color-accent);
path {
- stroke: var(--primary-color);
+ stroke: var(--text-button-color);
}
}
}
@@ -1003,10 +999,10 @@
border-radius: 8px 0 0 8px;
&:hover {
- background: var(--accent-color);
+ background: var(--background-color-accent);
path {
- stroke: var(--primary-color);
+ stroke: var(--text-button-color);
}
}
}
@@ -1067,7 +1063,13 @@
.dropdown-content-container {
padding: 6px 12px;
}
-
+ .value-field-container {
+ padding: 6px;
+ .dropdown {
+ min-width: 44px;
+ text-align: center;
+ }
+ }
.input-range-container {
.input-container {
width: 75%;