Skip to content

fix(charger): uploading a photo no longer blanks the page - #148

Merged
gnacho merged 1 commit into
mainfrom
fix/charger-image-refresh
Oct 12, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/charger-image-refresh

Conversation

@gnacho

@gnacho gnacho commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Regression from #147: the upload called invalidateExtensions(), which nulled the extensions cache and unmounted the page and the nav until a manual reload. The server already persists and re-resolves, so the client only needs to cache-bust the local (onUploaded callback).

invalidateExtensions() nulled the extensions cache, unmounting the
page and the nav until a manual reload. The upload endpoint already
persists and re-resolves server-side, so the client now only
cache-busts the local <img> via an onUploaded callback.
@gnacho
gnacho merged commit 7af1f6a into main Oct 12, 2026
4 checks passed
@gnacho
gnacho deleted the fix/charger-image-refresh branch October 12, 2026 07:47
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.

1 participant