mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-05-03 12:02:34 +02:00
Complete the offline support implementation by hosting emoji-picker-element locally, eliminating the last external CDN dependency. Application now works 100% offline without any internet connection. Changes: - Download and host emoji-picker-element 1.28.1 locally (~100 KB) - index.js, picker.js, database.js - Download and host emoji data JSON (~429 KB) - en/emojibase/data.json with full emoji database - Update index.html and dm.html: - Replace CDN emoji picker import with local version - Also migrate Bootstrap CSS/JS to local in dm.html (was missed before) - Configure emoji picker to use local data source in app.js and dm.js - Set picker.dataSource to local JSON path - Update Service Worker (v2 → v3): - Add emoji picker files to pre-cache list - Total offline cache size: ~1.2 MB - Update documentation: - README.md: Add emoji picker to offline support features - CLAUDE.md: Document emoji picker implementation and file structure Total offline package breakdown: - Bootstrap CSS/JS: ~307 KB - Bootstrap Icons: ~398 KB - Emoji Picker: ~100 KB - Emoji Data: ~429 KB - Total: ~1.2 MB Benefits: - Zero external dependencies (no CDN calls) - Full emoji picker functionality offline - Faster page load (no external requests) - Perfect for air-gapped mesh network deployments 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>