Skip to content

Update charging duration strings every time data is refetched - #767

Open
WouterAms wants to merge 1 commit into
mainfrom
bug/AM-1391-boot-laden-laadtijd-update-niet
Open

WouterAms wants to merge 1 commit into
mainfrom
bug/AM-1391-boot-laden-laadtijd-update-niet

Conversation

@WouterAms

@WouterAms WouterAms commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Updates the boat-charging session provider so charging-duration strings refresh after each successful data refetch, even when the session data is unchanged.

Changes:

  • Adds fulfilledTimeStamp to the memoization dependencies.
  • Adds a scoped lint suppression for the intentional extra dependency.
File Description
src/​modules/​boat-charging/​providers/​BoatChargingSession.provider.tsx Recomputes duration strings when refetched data arrives.

Test instructions

Other notes

@WouterAms
WouterAms requested review from a team and a balanced review from Copilot November 13, 2026 13:39
@github-actions github-actions Bot added the module:boat-charging Module touched based on changed src/modules folder(s). label Nov 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the charging-duration refresh change.

No open issues 🎉

What changed in this PR

Updates the boat-charging session provider so charging-duration strings refresh after each successful data refetch, even when the session data is unchanged.

Changes:

  • Adds fulfilledTimeStamp to the memoization dependencies.
  • Adds a scoped lint suppression for the intentional extra dependency.
File Description
src/​modules/​boat-charging/​providers/​BoatChargingSession.provider.tsx Recomputes duration strings when refetched data arrives.

Review effort: Balanced

@github-actions github-actions Bot added the Copilot ready All Copilot comments are resolved label Nov 13, 2026
@WouterAms
WouterAms enabled auto-merge November 13, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Copilot ready All Copilot comments are resolved module:boat-charging Module touched based on changed src/modules folder(s).

Development

Successfully merging this pull request may close these issues.

2 participants