Commit Graph

222 Commits

Author SHA1 Message Date
ISA
e86de5cefe feat: implement modal chart system with conditional UI and message filtering
- Add automatic data loading on IsoChartView modal open with timeout to prevent infinite loops
- Implement conditional UI visibility in IsoChartActionBar using CSS visibility property
- Create stable layout where controls reserve space when hidden (DatePicker, DIA dropdown, "Daten laden" button)
- Add Report.tsx component with precise CableLine filtering using exact string matching
- Enhance message filtering with debug logging and fallback identifier support
- Integrate chartTitle state management for seamless switching between "Messkurve" and "Meldungen"
- Add useIsoDataLoader hook for automatic chart data loading without user interaction
- Implement enhanced filtering logic to prevent false matches (CableLine1 vs CableLine16)
- Style Report component with consistent table layout matching MeldungenView design
- Add visual filter indicators and improved error messaging for better UX

Technical improvements:
- Replace conditional rendering with visibility control to maintain layout stability
- Add comprehensive logging for debugging message source filtering
- Implement proper cleanup for timeouts to prevent memory leaks
- Use exact string matching and prefix validation for precise slot identification
2025-07-31 16:02:04 +02:00
ISA
63e1b85a44 feat: Meldungen in in Iso Chart 2025-07-31 15:57:50 +02:00
ISA
cdd26931a1 feat: implement chart modal with report functionality for cable monitoring
- Add chartTitle state management to kabelueberwachungChartSlice with "Messkurve"/"Meldungen" options
- Update IsoChartActionBar dropdown to show current chartTitle value with proper binding
- Implement conditional rendering in IsoChartView between IsoMeasurementChart and Report components
- Create Report.tsx component using same data structure as MeldungenView (Meldung type)
- Add slot-based message filtering for specific cable monitoring units (KÜ)
- Integrate getMessagesThunk for consistent data loading across components
- Style Report component with consistent table layout, German date formatting, and Littwin branding
- Enable seamless switching between measurement chart and filtered messages in modal
2025-07-31 15:25:46 +02:00
ISA
638b7bf519 feat: TDR --> Messkurven TDR anzeigen und dort Schalter Messung aktivieren 2025-07-31 14:45:40 +02:00
ISA
46ba692af0 feat: KVZ JSON Daten für mock auf CPL hochgeladen und getestet 2025-07-31 14:32:52 +02:00
ISA
90b9616d50 style: KVZ LEDs style 2025-07-31 14:11:24 +02:00
ISA
85860ae9f0 style: LEDs style 2025-07-31 13:54:56 +02:00
ISA
421e1f5425 feat: KVZ API JSON Data 2025-07-31 13:44:30 +02:00
ISA
97eb40e1c6 Feat: KVz Bereich in EinstellungsModal in KÜs Modal 2025-07-31 10:42:06 +02:00
ISA
b68eb10ad4 feat: TDR starten Button in KÜ Chart 2025-07-31 10:13:33 +02:00
ISA
86b35e9925 fix: Schleifenwiderstand (TDR) Messung starten Button auf der Produktion 2025-07-31 09:54:22 +02:00
ISA
ad6642b5e7 feat: Display und Chart für KÜs 2025-07-31 09:37:34 +02:00
ISA
e76c8d9bd2 feat; in KÜ Chart RSL und ISO start button 2025-07-28 14:36:03 +02:00
ISA
d4335960bf deat: KVz anzeigen 2025-07-28 14:28:11 +02:00
ISA
9457233c7d fix: Chart Titel Isolationsmessung zu schleifenmessung 2025-07-28 13:58:14 +02:00
ISA
9a8a0501a5 cleanup: Kue705FO 2025-07-28 13:47:21 +02:00
ISA
ce1dacda9b feat: ISO, RSL und TDR separate Charts ohne den Switcher 2025-07-28 13:39:46 +02:00
ISA
7a9fbc97dd fix: KÜ slotnummer in der Messkurven Modal 2025-07-28 08:29:48 +02:00
ISA
f79c225b71 fix(Kue705FO): maintain consistent 3-line display layout
- Keep alarm status line with empty space when no alarm is present
- Use non-breaking space (\u00A0) to preserve line height and layout
- Remove green "Status: OK" text for cleaner display
- Ensure consistent 3-line structure: Alarm/Empty, ISO, RSL
2025-07-25 13:45:16 +02:00
ISA
afdcb6b92f refactor(Kue705FO): integrate chart functionality into detail view buttons
- Remove separate TDR/Schleife Messkurve buttons section
- Add direct chart opening to ISO, RSL, and TDR buttons in detail view
- ISO and RSL buttons now open Schleife chart with proper state setup
- TDR button opens TDR chart with distance calculation
- Remove unused button container but keep structure for future use
- Clean up unused imports and variables needed
2025-07-25 11:56:46 +02:00
ISA
4af7836a54 feat(Kue705FO): replace switch buttons with direct chart access buttons
- Remove Schleife/TDR switch buttons and separate Messkurve button
- Add "TDR Messkurve" and "Schleife Messkurve" buttons for direct chart access
- Each button opens the corresponding chart type directly
- Improve user experience by reducing clicks needed to access specific charts
- Clean up unused imports (handleButtonClick, tdrLocation, tdrActive)
2025-07-25 11:47:38 +02:00
ISA
cfe838dd07 TDR und Schleife Button in KÜs wieder für die Funktionen 2025-07-24 14:56:24 +02:00
ISA
8dafd5fe67 TDR und Schleife Button in KÜs wieder für die Funktionen 2025-07-24 14:55:48 +02:00
ISA
e932bee120 feat:
Anzeige KÜ-Display:

1. Zeile Alarm: Isolationsfehler, Schleifenfehler, Aderbruch, Erdschluß, Messpannung: Immer in Rot; wenn kein Alarm, bleibt die Zeile leer

2. Zeile: Isowert: xx MOhm (großes M)

in Rot, wenn Iso-Fehler ansteht

Beispiel: ISO: 100 MOHm der beim Abliech:  ISO: Abgleich

3. Zeile: Schleifenwert, xx kOhm (kleines k)

in Rot, wenn Schleifenfehler ansteht

Beispiel:: RSL: 1,7 kOhm oder wenn Schleifenmessung aktiv: RSL: Messung
2025-07-24 13:59:44 +02:00
ISA
c1f6c19fdf Feat: Fenster nicht schließen für Firmware Update 2025-07-24 12:15:50 +02:00
ISA
b7ff3b07cd Firmware Update Bestätigung in Littwin blau 2025-07-24 11:55:28 +02:00
ISA
9bd69f7a07 feat Schleifeund TDR in sepaterate Bereiche in KÜ 2025-07-24 09:32:56 +02:00
ISA
357fb6c816 feat: Isowert und Schleifenwiderstanf in schwarzen Display zusammen 2025-07-24 08:25:52 +02:00
ISA
628cbc405e Hide fallsensors 2025-07-23 15:35:48 +02:00
ISA
ada2f5e2a7 feat: Fallsensors 2025-07-23 15:11:13 +02:00
ISA
bdbdd27963 feat: Add cursor wait state to AnalogInputsTable rows during data loading
- Applied `cursor-wait` style to table rows (`<tr>`) in AnalogInputsTable when loading is true.
- Ensured consistent cursor behavior across the entire table and rows
2025-07-23 13:40:43 +02:00
ISA
2272668ace feat: Add cursor wait during chart data loading
- Implemented cursor wait state while chart data is being loaded in `AnalogInputsChart.tsx`.
- Fixed missing dependencies in `useEffect` and defined `loading` state.
- Updated `handleFetchData` to manage
2025-07-23 13:17:31 +02:00
ISA
bc554d3474 feat: Add cursor wait during chart data loading
- Implemented cursor wait state while chart data is being loaded in `AnalogInputsChart.tsx`.
- Fixed missing dependencies in `useEffect` and defined `loading` state.
- Updated `handleFetchData` to manage
2025-07-23 13:16:57 +02:00
ISA
4d48100375 Isolationsfehler in Display anzeigen -> aktuell Zahl ist rot ohne Beschrifftung , es soll Zahl ISO MOhm und Isolationsfehler 2025-07-23 12:30:18 +02:00
ISA
5cf5e34c4f Isolationsfehler in Display anzeigen -> aktuell Zahl ist rot ohne Beschrifftung , es soll Zahl ISO MOhm und Isolationsfehler 2025-07-23 12:28:12 +02:00
ISA
36863d3c6a refactor: order Minimum, Messwert und Maximum, sowie Durchschnitt 2025-07-23 08:07:12 +02:00
ISA
5a0188c635 feat(analogInputs): auto-load chart data when table row is selected
- Added useEffect to AnalogInputsChart to automatically trigger "Daten laden" when a row is selected and selectedAnalogInput.id is not 0.
- Improves UX by syncing table selection with chart data fetch, no manual
2025-07-22 15:09:47 +02:00
ISA
d44fe916da Fix: Always show vonDatum and bisDatum in fetch URL for analog inputs chart
- Ensure local date state is never empty by falling back to default date if Redux is empty
- Prevent missing date values in fetch URL after multiple dropdown or button interactions
- Improves reliability of
2025-07-22 11:59:31 +02:00
ISA
2d166a204b Fix: Preserve chart state during zoom, pan, and date changes
- Added React.useMemo to memoize chartData and chartOptions to prevent unnecessary re-renders.
- Ensured chart zoom and pan states are maintained during interactions.
- Improved performance and user experience by avoiding chart
2025-07-22 10:58:01 +02:00
ISA
b7ca20f7c3 Fix: Preserve chart state during zoom, pan, and date changes
- Added React.useMemo to memoize chartData and chartOptions to prevent unnecessary re-renders.
- Ensured chart zoom and pan states are maintained during interactions.
- Improved performance and user experience by avoiding chart
2025-07-22 10:57:25 +02:00
ISA
ed9f693098 Fix: Preserve chart state during zoom, pan, and date changes
- Added React.useMemo to memoize chartData and chartOptions to prevent unnecessary re-renders.
- Ensured chart zoom and pan states are maintained during interactions.
- Improved performance and user experience by avoiding chart
2025-07-22 10:19:50 +02:00
ISA
773e2c12b8 Fix: Preserve chart state during zoom, pan, and date changes
- Added React.useMemo to memoize chartData and chartOptions to prevent unnecessary re-renders.
- Ensured chart zoom and pan states are maintained during interactions.
- Improved performance and user experience by avoiding chart
2025-07-22 10:19:14 +02:00
ISA
03ee4fb08e feat(AnalogInputsChart): Zeitraum im DatePicker und Redux initialisieren und synchronisieren
- Initialwert für Zeitraum (letzte 30 Tage) im Redux-Store gesetzt
- DatePicker-Änderungen werden im Redux gespeichert
- Fetch-Button verwendet Zeitraum aus Redux und loggt die Fetch-URL
- Chart zeigt Daten entsprechend ausgewähltem Zeitraum
2025-07-21 15:20:04 +02:00
ISA
697cae9848 feat(mock): Script fetchAnalogInputsData auf ES-Module (.mjs) umgestellt, Datum automatisch gesetzt 2025-07-21 14:21:38 +02:00
ISA
30d396896d feat(service): CPL-Request verwendet DIA0, DIA1 oder DIA2 je nach Zeitraum für analoge Eingänge 2025-07-21 13:46:13 +02:00
ISA
fb68d59da4 feat(service): Produktions-URL für CPL angepasst, erkennt Umgebung und baut Anfrage dynamisch 2025-07-21 13:04:46 +02:00
ISA
6b43435097 feat(chart): Zeitauswahl im Listbox nur lokal speichern, Daten-Fetch erst beim Button-Klick 2025-07-21 12:22:18 +02:00
ISA
a75347a59f feat(ui): Hinweis-Icon und Meldung angezeigt, wenn kein Eingang ausgewählt ist 2025-07-21 12:07:09 +02:00
ISA
7cd0c41ec5 fix: Linien Littwin blau und anderen grau für die Chart Linien 2025-07-21 10:46:54 +02:00
ISA
c73b7ec252 feat(analogInputsChart): dynamische Linien je Zeitraum (m/i/a/g)
- Chart zeigt für 'Alle Messwerte' (DIA0) Messwert (m), Minimum (i), Maximum (a)
- Für 'Stündlich' und 'Täglich' (DIA1/DIA2) werden Minimum (i), Maximum (a), Durchschnitt (g) angezeigt
- Farben und Legende entsprechend
2025-07-21 10:32:41 +02:00