Skip to content

Koala-Theme: Plans - temporary mode warning, link to plan settings#3147

Merged
benderl merged 28 commits intoopenWB:masterfrom
Brett-S-OWB:plans-persist-link
Mar 17, 2026
Merged

Koala-Theme: Plans - temporary mode warning, link to plan settings#3147
benderl merged 28 commits intoopenWB:masterfrom
Brett-S-OWB:plans-persist-link

Conversation

@Brett-S-OWB
Copy link
Contributor

Wenn „Temporäre Ladeeinstellungen“ aktiviert sind:
• In den Ladeplänen wird ein Warnhinweis angezeigt, der den Nutzer darüber informiert, dass Änderungen am Plan nach dem Abstecken des Fahrzeugs verworfen werden.
• Wird in diesem Modus ein neuer Plan erstellt, erscheint zusätzlich ein Hinweis, dass der gesamte Plan nach der Ladesession (nach dem Abstecken) verworfen wird.
• Unteren in Plan wird ein Button zur direkten Navigation in die Fahrzeug-Ladeprofil-Einstellungen eingeblendet, damit Änderungen dort dauerhaft verändert werden können.

Bildschirmfoto 2026-02-17 um 15 45 13 Bildschirmfoto 2026-02-17 um 15 45 21 Bildschirmfoto 2026-02-17 um 15 45 47 Bildschirmfoto 2026-02-17 um 15 45 54 Bildschirmfoto 2026-02-17 um 15 53 59

@benderl benderl added the user-management Anpassung an die Benutzerverwaltung erforderlich! label Feb 26, 2026
@LKuemmel LKuemmel requested review from benderl and Copilot March 10, 2026 07:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds UI hints and navigation to help users understand and handle “temporary charge settings mode” while editing charging plans in the Koala web theme.

Changes:

  • Expose a new MQTT-store computed flag for temporary charge template mode.
  • Show a warning banner in scheduled/time plan detail dialogs when temporary mode is active.
  • Add a “go to persistent plan settings” button and introduce a theme color variable for it; refactor charge point messages into a reusable BaseMessage.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
packages/modules/web_themes/koala/source/src/stores/mqtt-store.ts Adds temporaryChargeModeAktiv computed and exports it from the store.
packages/modules/web_themes/koala/source/src/css/quasar.variables.scss Introduces --q-charge-plan-link-button CSS variable for button styling.
packages/modules/web_themes/koala/source/src/components/ChargePointTimeChargingPlanDetails.vue Adds temporary-mode warning + link button in time plan details and sets fixed card width.
packages/modules/web_themes/koala/source/src/components/ChargePointScheduledPlanDetails.vue Adds temporary-mode warning + link button in scheduled plan details and sets fixed card width.
packages/modules/web_themes/koala/source/src/components/ChargePointMessage.vue Refactors to use new BaseMessage component.
packages/modules/web_themes/koala/source/src/components/BaseMessage.vue New reusable message component with collapse behavior and styling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@benderl benderl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitte zusätzlich auch die von mir mit 👍 gekennzeichneten Kommentare von Copilot beachten.

@benderl benderl merged commit 17589f2 into openWB:master Mar 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

user-management Anpassung an die Benutzerverwaltung erforderlich!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants