fix(atlas): clear the client gates of the globe Atlas

Client lint, checks and tests were red on the globe Atlas:

- The views own the globe and sky refs and hand them into useAtlasGlobe,
  so reading its state while rendering no longer counts as reading refs.
- Helpers that shared a file with components move to their own modules
  (badge tiers, medal label, Dawarich notes, hub tabs, period label).
- The place search derives its loading state, the search resets its
  active row on input, and the two silenced hook dependencies are named.
- placeLabels, the hover chip and the overview figures are split up.
- Raw text sizes become type tiers, the badge unlock docks on --z-overlay.
- The stats card test follows the GlobeStat props; baselines lowered to
  the counts the run reported.
This commit is contained in:
Maurice
2026-11-28 23:14:17 +01:00
parent d78dc79e21
commit 10713e41cd
52 changed files with 478 additions and 390 deletions
+8 -8
View File
@@ -62,7 +62,7 @@ const atlas: TranslationStrings = {
'atlas.planned': 'Planificat',
'atlas.showPlanned': 'Mostra els països planificats',
'atlas.antarctica': 'Antàrtida',
'atlas.globe.continents': 'Continents',
'atlas.globe.continents': 'Continents', // same-as-en
'atlas.globe.colorBy': 'Acoloreix per',
'atlas.globe.colorCountry': 'País',
'atlas.globe.colorStatus': 'Estat',
@@ -113,8 +113,8 @@ const atlas: TranslationStrings = {
'atlas.badge.burstDesc': 'Arriba a {count} països nous en un any.',
'atlas.badge.burstDesc.one': 'Arriba a {count} país nou en un any.',
'atlas.badge.continentsDesc': 'Visita els sis continents habitats.',
'atlas.badge.continentsN': '{count} continents',
'atlas.badge.continentsN.one': '{count} continent',
'atlas.badge.continentsN': '{count} continents', // same-as-en
'atlas.badge.continentsN.one': '{count} continent', // same-as-en
'atlas.badge.continentsNDesc': 'Trepitja {count} continents.',
'atlas.badge.continentsNDesc.one': 'Trepitja {count} continent.',
'atlas.badge.countriesDesc': 'Visita {count} països.',
@@ -137,7 +137,7 @@ const atlas: TranslationStrings = {
'atlas.badge.polarDesc': "Visita un país que arriba a l'Àrtic.",
'atlas.badge.regionsAllDesc': 'Visita totes les regions de {country}.',
'atlas.badge.regionsHalfDesc': 'Visita la meitat de les regions de {country}.',
'atlas.badge.regionsN': '{count} regions',
'atlas.badge.regionsN': '{count} regions', // same-as-en
'atlas.badge.regionsN.one': '{count} regió',
'atlas.badge.regionsNDesc': 'Visita {count} estats, províncies o regions.',
'atlas.badge.regionsNDesc.one': 'Visita {count} estat, província o regió.',
@@ -153,13 +153,13 @@ const atlas: TranslationStrings = {
'atlas.badge.wishesDesc': 'Arriba a {count} llocs de la teva llista de desitjos.',
'atlas.badge.wishesDesc.one': 'Arriba a un lloc de la teva llista de desitjos.',
'atlas.badgeCat.collector': 'Col·leccionista',
'atlas.badgeCat.continents': 'Continents',
'atlas.badgeCat.continents': 'Continents', // same-as-en
'atlas.badgeCat.countries': 'Països',
'atlas.badgeCat.explorer': 'Explorador',
'atlas.badgeCat.flights': 'Vols',
'atlas.badgeCat.regions': 'Regions',
'atlas.badgeTier.aurora': 'Aurora',
'atlas.badgeTier.bronze': 'Bronze',
'atlas.badgeCat.regions': 'Regions', // same-as-en
'atlas.badgeTier.aurora': 'Aurora', // same-as-en
'atlas.badgeTier.bronze': 'Bronze', // same-as-en
'atlas.badgeTier.gold': 'Or',
'atlas.badgeTier.silver': 'Plata',
'atlas.globe.howTo': 'Com aconseguir-ho',