syoul
8d9a9a3c07
feat: show country flag next to city names in top villes
...
Determine country from geoPoint coordinates using bounding boxes
for the main Ğ1 community countries (FR, BE, CH, ES, DE, IT, ...).
Display the emoji flag before each city name in the top villes panel.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-22 18:52:00 +01:00
syoul
2f813c5fdf
feat: migration Ğ1v2 — Subsquid + Cesium+ g1.data.e-is.pro
...
Sources de données réelles Ğ1v2 (vérifiées par introspection) :
- SubsquidAdapter : https://squidv2s.syoul.fr/v1/graphql
transfers(filter: timestamp >= since, orderBy: TIMESTAMP_DESC)
with from.linkedIdentity.name pour jointure géo
- CesiumAdapter : https://g1.data.e-is.pro (59 841 profils)
recherche batch par nom d'identité (title.keyword)
g1.data.duniter.fr hors ligne depuis arrêt Ğ1v1
Schémas Zod mis à jour pour Ğ1v2 :
- G1v2KeySchema : SS58 "g1" + 47 chars = 49 chars (mesuré sur données réelles)
- SubsquidTransferSchema : id, blockNumber, timestamp ISO, amount BigInt string
- parseSubsquidAmount : BigInt string centimes → Ğ1 flottant
Activation : VITE_USE_LIVE_API=true dans .env.local
Badge "● live Ğ1v2 / ○ mock" ajouté dans l'UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-22 16:01:36 +01:00
syoul
d20d042bca
feat: initialisation de ĞéoFlux — visualisation géographique Ğ1
...
- Carte Leaflet plein écran avec heatmap (OpenStreetMap, dark mode)
- Sélecteur de période 24h / 7j / 30j
- Panneau latéral : volume total, compteur de transactions, top 3 villes
- mockData.ts : 2 400 transactions simulées sur 24 villes FR/EU
- DataService.ts : abstraction prête pour branchement Subsquid/Ğ1v2
- Schémas Zod (g1.schema.ts) : validation runtime Duniter GVA + Cesium+
- Adaptateurs DuniterAdapter et CesiumAdapter (Ğ1v1, à migrer v2)
- Suite de tests Vitest : 43 tests, conformité schéma Ğ1 vérifiée
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-22 15:49:01 +01:00