From e4b93e14ccf46ea644e31a8e0e5dd0b2b129a8df Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Wed, 25 Feb 2026 08:44:22 +0100 Subject: [PATCH] Config UI: improve create loadpoint (#27665) --- assets/css/app.css | 2 + .../components/Config/DeviceCardEditIcon.vue | 8 +- assets/js/components/Config/DeviceRefBox.vue | 40 + .../js/components/Config/LoadpointModal.vue | 893 +++++++++--------- .../Config/Messaging/MessagingModal.vue | 21 +- assets/js/components/Helper/GenericModal.vue | 6 +- assets/js/configModal.ts | 5 +- assets/js/views/Config.vue | 6 + i18n/de.json | 3 +- i18n/en.json | 3 +- tests/config-fatals.spec.ts | 4 +- tests/config-loadpoint.spec.ts | 24 +- 12 files changed, 546 insertions(+), 469 deletions(-) create mode 100644 assets/js/components/Config/DeviceRefBox.vue diff --git a/assets/css/app.css b/assets/css/app.css index 1646e8b07..997593c5a 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -80,6 +80,8 @@ --bs-danger: var(--evcc-red); --bs-danger-rgb: var(--evcc-red-rgb); + --bs-form-invalid-border-color: var(--bs-danger); + --bs-body-font-size: 14px; --bs-font-sans-serif: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", diff --git a/assets/js/components/Config/DeviceCardEditIcon.vue b/assets/js/components/Config/DeviceCardEditIcon.vue index bcca7ab14..fabdc8e8a 100644 --- a/assets/js/components/Config/DeviceCardEditIcon.vue +++ b/assets/js/components/Config/DeviceCardEditIcon.vue @@ -2,8 +2,11 @@ - +
-
+