Koala - add schedule plan info box (next scheduled charging session) to scheduled plan input dialog#3067
Merged
benderl merged 2 commits intoopenWB:masterfrom Dec 22, 2025
Conversation
benderl
approved these changes
Dec 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Neues, wiederverwendbares ChargePointScheduledPlanSummary-Component eingeführt, das Plan-Name, Datum/Zeit und Ziel (SoC/Energie) sowohl im Button als auch im Info-Kasten anzeigt (mode="button" | "info").
In ChargePointScheduledPlanDetails den bisherigen Ziel-Termin-Block angepasst: Datum nur noch im Input (einmalig) bearbeitbar, zusätzlich Infobox „Nächster geplanter Termin“ mit berechnetem Datum (once/daily/weekly) und Uhrzeit.
Wochentags-Anzeige (z. B. „Mo–Fr“) und Berechnung des nächsten Wochentags in das Summary-Component ausgelagert und an den Store (vehicleScheduledChargingPlanWeeklyDays) angebunden.
In ChargePointScheduledSettings die Auswahl des Plans auf eine ID-basierte Lösung umgestellt (selectedPlanId + selectedPlan als computed), damit Dialog und Buttons immer konsistent die aktuellen Store-Daten anzeigen.