fix: géolocalisation Cesium+ et tests déterministes
- CesiumAdapter : utilise le champ `title` (analysé ES) au lieu de `title.keyword` qui retournait 0 résultats ; coerce lat/lon en number (certains profils stockent des strings) - DataService : sépare totalVolume (all tx blockchain) de geoCount (tx heatmap) - StatsPanel : barre de couverture géo uniquement en mode live - App : badge source "● live Ğ1v2" ou "○ mock" - DataService.test.ts : mock SubsquidAdapter + CesiumAdapter directement (vi.mock hoistés) pour que les tests soient déterministes quel que soit VITE_USE_LIVE_API dans .env.local - tsconfig.app.json : exclude src/test pour éviter les erreurs de build prod Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ export default function App() {
|
||||
return (
|
||||
<div className="flex h-svh w-full overflow-hidden bg-[#0a0b0f] text-white">
|
||||
{/* Side panel */}
|
||||
<StatsPanel stats={stats} loading={loading} periodDays={periodDays} />
|
||||
<StatsPanel stats={stats} loading={loading} periodDays={periodDays} source={source} />
|
||||
|
||||
{/* Map area */}
|
||||
<div className="relative flex-1 min-w-0">
|
||||
|
||||
Reference in New Issue
Block a user