Skip to content

Conversation

@Brett-S-OWB
Copy link
Contributor

@Brett-S-OWB Brett-S-OWB commented May 2, 2025

Table view + Thema einstellungen für Fahrzeuge
BaseTable.vue bearbeitet - als wiederverwendbare Komponent
ChargepointInformation.vue and BaseTable.vue angepasst.

Zugehöriger PR - Add vehicle table-view settings for Koala Theme #712 bitte beachten

Zeitladen - Indicator zu Karte & Tabelle hinzugefügt

Größenänderungsproblem beim Verlassen des Vollbildmodus (HistoryChart) beheben

@Brett-S-OWB Brett-S-OWB force-pushed the koala-new-chargemodes branch from 2af6eea to 8be3b44 Compare May 5, 2025 08:33
@Brett-S-OWB
Copy link
Contributor Author

Fix: Chart-Darstellungsproblem beim Beenden des Vollbildmodus

Das Problem:

  • Chart.js aktualisiert die Größe des Diagramms nicht korrekt, wenn der Container
    (ChartCarousel) vom Vollbildmodus zurück in die normale Ansicht wechselt
  • Dies führt zu einer falschen Darstellung des HistoryChart nach dem Beenden des Vollbildmodus

Die Lösung:

  • Implementierung eines Mechanismus, der das HistoryChart-Component vollständig neu rendert,
    wenn der Vollbildmodus verlassen wird
  • Verwendung eines dynamischen Schlüssels (renderKey), der bei Beenden des
    Vollbildmodus inkrementiert wird
  • Dies zwingt Vue dazu, die Komponente neu zu erstellen, anstatt zu versuchen,
    die bestehende Komponente anzupassen

@Brett-S-OWB Brett-S-OWB force-pushed the koala-new-chargemodes branch from 62949df to 8147f9f Compare May 6, 2025 17:05
@Brett-S-OWB Brett-S-OWB force-pushed the koala-new-chargemodes branch from 772fe61 to 1ece50f Compare May 7, 2025 14:21
@LKuemmel LKuemmel requested a review from benderl May 8, 2025 12:57
@LKuemmel LKuemmel merged commit 96465b2 into openWB:feature_simplify_chargemode May 8, 2025
1 check passed
LKuemmel added a commit that referenced this pull request May 13, 2025
* phases to use in instant charging

* pv

* draft scheudled charging

* time charging

* eco

* fixes

* fix

* fix

* update tests

* refactor scheduled charging

* tests

* test

* update config

* update charge template, merge max phases

* fixes

* fixes

* fix

* fix tests

* plan once use todays date

* standard-legacy web-theme

* cards display-theme

* update setdata topics

* Feature dashboard temporary settings (#2218)

* ids in charge and ev template config

* dashboard temporary settings

* topics

* fixes

* flake8

* fix rebase

* update local mqtt bridge

* fix

* draft

* draft

* fixes

* Wiki

* format

* fix rebase

* fix rebase

* test compatibility

* fixes

---------

Co-authored-by: Lutz Bender <github@lutz-bender.de>

* temporary settings in standard_legacy web theme

* adopt standard_legacy web theme for complete charge template objects

* temporary settings in cards display theme

* remove obsolet code

* ammend

* update temporary settings if persistent settings are updated

* allow dis-/enabling of plans in standard-legacy web theme

* display wrapper: limit log messages

* enhance cards display theme

* move vehicle select modal into own component

* restructure display of plan details

* enhance format of weekday and date ranges

* display absolute values in flow chart

* display cards: add price chart to eco settings

* remove hammerjs package dependency

* fix after rebase

* update docs

* build settings

* adapt to new charge mode concept

* standard-legacy: fix history chart data truncation

* migration

* fix soc display without limit

* temporary disable smart home tab

* Add chargepoint table view

* Charge modes migrated to composable

* Add formating for longer text in state message

* Formatting

* Add display mode to drawer component in mainlayout

* Formatting

* update wiki

* Quasar table moved into a reuseable component

* Chargepoint message text format

* Update packages/modules/web_themes/koala/config.py

fix flake8 error

* fix merge error

* update README

* temporary disable vehicle tab

* phases to use in instant charging

* pv

* draft scheudled charging

* time charging

* eco

* fixes

* fix

* fix

* update tests

* refactor scheduled charging

* tests

* test

* update config

* update charge template, merge max phases

* fixes

* fixes

* fix

* fix tests

* plan once use todays date

* standard-legacy web-theme

* cards display-theme

* update setdata topics

* Feature dashboard temporary settings (#2218)

* ids in charge and ev template config

* dashboard temporary settings

* topics

* fixes

* flake8

* fix rebase

* update local mqtt bridge

* fix

* draft

* draft

* fixes

* Wiki

* format

* fix rebase

* fix rebase

* test compatibility

* fixes

---------

Co-authored-by: Lutz Bender <github@lutz-bender.de>

* temporary settings in standard_legacy web theme

* adopt standard_legacy web theme for complete charge template objects

* temporary settings in cards display theme

* remove obsolet code

* ammend

* update temporary settings if persistent settings are updated

* allow dis-/enabling of plans in standard-legacy web theme

* display wrapper: limit log messages

* enhance cards display theme

* move vehicle select modal into own component

* restructure display of plan details

* enhance format of weekday and date ranges

* display absolute values in flow chart

* fix after rebase

* update docs

* adapt to new charge mode concept

* standard-legacy: fix history chart data truncation

* update wiki

* fix merge error

* display cards: add price chart to eco settings

* remove hammerjs package dependency

* Koala: linting

* Add manual SoC input to charge point card

* Formatting / consistency changes

* Formatting

* Remove console.warn due to async error

* add koala github workflow

* fix merge

* fix subdata topic filter

* undo remove obsolet code for backwards compability

* theme name

* fix plan topics

* web theme fixes

* build Koala and settings UI

* fix subdata

* Manual SoC update icon only displayed if vehicle SoC type = "manual"

* cleanup mqtt-store

* target display for scheduled charging

* rewrite manual soc handling

* simplify manual soc de-/increment

* koala build

* increase openwb version of openwb_local.conf

* don't load persistent charge template when plugging

* formatting

* Fix reactivity for charge point vehicle selection + formatting

* Update vehicle list call

* fix charge plans after unplugging

* add time charging options to settings

* add slider to manual soc input modal

* add soc update button and message feedback

* Add information to vehicle cards

* Apply suggestions from code review

* soc module handling

* add vehicle state to vehicle card

* koala build

* settings build

* build settings UI

* fix eco electricity tariff

* fix pytest

* build settings UI

* build settings UI

* Koala theme Vehicle table view - base-table refactor (#2367)

* Refactor BaseTable as reuseable component

* Add Vehicle table view - refactor chargepoint table view

* Zeitladen - Indikator auf der Karte bzw. in der Tabelle

* Fix resizing issue exiting full srceen mode (HistoryChart)

* Add openWB favicon to koala theme

* flake8

---------

Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>

* fix

* build Koala UI

* build settings UI

* fix update plan at first click on saving

* fix scheduled data missed daily date for today

* flake8

* fix scheduled charging

* undo comment

* fix scheduled charging state string

* set default-chargemode to instant charging

* cleanup koala icons

* fix missed standby charge mode references

* fix publishing vehicle change

* koala build

* settings build

* build UI settings

* fix pytest due to new instant charging current default from 10 to 16A

* remove settings ui build files

* ammend

---------

Co-authored-by: LKuemmel <lena.kuemmel@openwb.de>
Co-authored-by: LKuemmel <76958050+LKuemmel@users.noreply.github.com>
Co-authored-by: Claus Hagen <cshagen@hagens.ch>
Co-authored-by: Brett-S-OWB <brett.scott@openwb.de>
Co-authored-by: BrettS <168732306+Brett-S-OWB@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants