Skip to content

Conversation

@alexwarren
Copy link
Contributor

Cache icons, so that when offline, the buttons in the editor still look correct.

claude and others added 2 commits January 13, 2026 20:38
Bootstrap Icons are loaded as web fonts (.woff/.woff2 files). The service
worker was only caching {js,css,html,svg,png,ico} files, missing font files.

This caused icons to disappear when using the app offline, especially
noticeable on Safari/iPad where font loading failures don't gracefully
degrade.

Updated Workbox globPatterns to include {woff,woff2,ttf,otf} extensions
to ensure icon fonts are cached for offline use.

Fixes offline icon display issue on iPad Safari.
@alexwarren alexwarren merged commit 618163b into textadventures:main Jan 15, 2026
5 checks passed
@alexwarren alexwarren deleted the claude/fix-offline-icon-caching-zSKEO branch January 15, 2026 20:37
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