feat(ui): Hinweis-Icon und Meldung angezeigt, wenn kein Eingang ausgewählt ist

This commit is contained in:
ISA
2025-07-21 12:07:09 +02:00
parent 7cd0c41ec5
commit a75347a59f
6 changed files with 24 additions and 6 deletions

View File

@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.612 NEXT_PUBLIC_APP_VERSION=1.6.613
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)

View File

@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.612 NEXT_PUBLIC_APP_VERSION=1.6.613
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.613] 2025-07-21
- fix: Linien Littwin blau und anderen grau für die Chart Linien
---
## [1.6.612] 2025-07-21 ## [1.6.612] 2025-07-21
- feat(analogInputsChart): dynamische Linien je Zeitraum (m/i/a/g) - feat(analogInputsChart): dynamische Linien je Zeitraum (m/i/a/g)

View File

@@ -380,7 +380,20 @@ export default function AnalogInputsChart() {
</div> </div>
<div className="h-[50vh] w-full"> <div className="h-[50vh] w-full">
<Line ref={chartRef} data={chartData} options={chartOptions} /> {!selectedAnalogInput?.id ? (
<div className="flex items-center justify-center h-full text-gray-500 text-lg gap-2">
<i
className="bi bi-info-circle text-2xl mr-2"
aria-hidden="true"
></i>
<span>
Bitte wählen Sie einen Eingang aus von der Tabelle, um die
Messkurve anzuzeigen
</span>
</div>
) : (
<Line ref={chartRef} data={chartData} options={chartOptions} />
)}
</div> </div>
</div> </div>
); );

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.612", "version": "1.6.613",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.612", "version": "1.6.613",
"dependencies": { "dependencies": {
"@fontsource/roboto": "^5.1.0", "@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4", "@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.612", "version": "1.6.613",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",