From 5547daa689c16e188a51c3ecdc4987edb8d602cb Mon Sep 17 00:00:00 2001 From: tajniak81 <13187254+tajniak81@users.noreply.github.com> Date: Tue, 1 Sep 2026 20:10:13 +0200 Subject: [PATCH] The readings get their own card The register data was appended to the control card, which turned a card for acting on the charger into a long scroll with the buttons at the top of it. It is a separate concern and now a separate card: control above, readings below, alongside the charger information card that was already there. Its title says readings rather than information, since the card below it holds what the record knows about the charger while this one holds what the charger itself just said. Co-Authored-By: Claude Opus 5 --- Web App/web/src/i18n/da.json | 1 + Web App/web/src/i18n/en.json | 1 + Web App/web/src/i18n/pl.json | 1 + Web App/web/src/views/Charging.vue | 159 +++++++++++++++-------------- 4 files changed, 84 insertions(+), 78 deletions(-) diff --git a/Web App/web/src/i18n/da.json b/Web App/web/src/i18n/da.json index a074e2c..02a09a5 100644 --- a/Web App/web/src/i18n/da.json +++ b/Web App/web/src/i18n/da.json @@ -107,6 +107,7 @@ "modbusHint": "Indtast laderens adresse på dette netværk og gem den. Laderen skal være tændt og på samme netværk som DriverVault." }, "modbus": { + "title": "Laderaflæsninger", "phases": "Pr. fase", "live": "Live data", "settings": "Indstillinger", diff --git a/Web App/web/src/i18n/en.json b/Web App/web/src/i18n/en.json index 21e15bc..ed5d965 100644 --- a/Web App/web/src/i18n/en.json +++ b/Web App/web/src/i18n/en.json @@ -93,6 +93,7 @@ "modbusHint": "Enter the charger's address on this network and save it. The charger must be powered on and on the same network as DriverVault." }, "modbus": { + "title": "Charger readings", "phases": "Per phase", "live": "Live data", "settings": "Settings", diff --git a/Web App/web/src/i18n/pl.json b/Web App/web/src/i18n/pl.json index dc7e718..8755bfa 100644 --- a/Web App/web/src/i18n/pl.json +++ b/Web App/web/src/i18n/pl.json @@ -109,6 +109,7 @@ "modbusHint": "Podaj adres ładowarki w tej sieci i zapisz go. Ładowarka musi być włączona i w tej samej sieci co DriverVault." }, "modbus": { + "title": "Odczyty ładowarki", "phases": "Na fazę", "live": "Dane na żywo", "settings": "Ustawienia", diff --git a/Web App/web/src/views/Charging.vue b/Web App/web/src/views/Charging.vue index f383122..6277d80 100644 --- a/Web App/web/src/views/Charging.vue +++ b/Web App/web/src/views/Charging.vue @@ -855,84 +855,6 @@ onMounted(async () => { {{ t("charging.control.boost") }} - -
-
-

{{ t("charging.modbus.phases") }}

-
- - - - - - - - - - - - - - - - - - - - - -
{{ t("charging.modbus.phase") }}{{ t("charging.modbus.voltage") }}{{ t("charging.modbus.current") }}{{ t("charging.modbus.activePower") }}{{ t("charging.modbus.reactivePower") }}{{ t("charging.modbus.apparentPower") }}
{{ p.phase }}{{ p.volts }}{{ p.amps }}{{ p.watts }}{{ p.reactive }}{{ p.apparent }}
-
-

- {{ t("charging.modbus.lineToLine") }}: {{ modbusLineVoltages.join(" · ") }} -

-
- -
-

{{ t("charging.modbus.live") }}

-
- -
-
- -
-

{{ t("charging.modbus.settings") }}

-
- -
-
- -
-

{{ t("charging.modbus.device") }}

-
- -
-
- - -
-

{{ t("charging.modbus.alarms") }}

-

- - {{ t("charging.modbus.alarmWord", { n: a.n }) }} {{ a.hex }} - -

-

{{ t("charging.modbus.alarmsHint") }}

-
-
-