Add i18n keys and unit tests for overlays

- i18n: POI category names, panel UI strings (en + de)
- overpass.test.ts: Query building, response parsing, deduplication
- poi-cache.test.ts: Tile quantization, cache hit/miss, bbox filtering
- poi-categories.test.ts: Profile-to-overlay mapping, category validation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-11 01:19:27 +02:00
parent 6aa2229b39
commit c23c325965
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
6 changed files with 249 additions and 4 deletions

View file

@ -53,12 +53,12 @@
## 9. i18n
- [ ] 9.1 Add translation keys for all overlay names, POI category names, and UI strings (en + de)
- [x] 9.1 Add translation keys for all overlay names, POI category names, and UI strings (en + de)
## 10. Testing
- [ ] 10.1 Unit tests for Overpass client: query building, response parsing, deduplication
- [ ] 10.2 Unit tests for POI cache: tile quantization, TTL expiry, cache hit/miss
- [ ] 10.3 Unit tests for profile-to-overlay mapping
- [x] 10.1 Unit tests for Overpass client: query building, response parsing, deduplication
- [x] 10.2 Unit tests for POI cache: tile quantization, TTL expiry, cache hit/miss
- [x] 10.3 Unit tests for profile-to-overlay mapping
- [ ] 10.4 E2E test: enable hillshading overlay, verify tile requests
- [ ] 10.5 E2E test: enable POI category, verify markers appear (mock Overpass response)