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
+6 -6
View File
@@ -65,7 +65,7 @@ const atlas: TranslationStrings = {
'atlas.globe.continents': 'Continentes',
'atlas.globe.colorBy': 'Colorir por',
'atlas.globe.colorCountry': 'País',
'atlas.globe.colorStatus': 'Status',
'atlas.globe.colorStatus': 'Status', // same-as-en
'atlas.globe.colorYear': 'Ano',
'atlas.globe.visited': 'Visitados',
'atlas.globe.flights': 'Voos',
@@ -127,7 +127,7 @@ const atlas: TranslationStrings = {
'atlas.badge.first': 'Primeiro país',
'atlas.badge.firstDesc': 'Marque ou visite seu primeiro país.',
'atlas.badge.flightsDesc': 'Faça {count} voos.',
'atlas.badge.flightsDesc.one': 'Faça seu primeiro voo.',
'atlas.badge.flightsDesc.one': 'Faça {count} voo.',
'atlas.badge.hemispheres': 'Leste e oeste',
'atlas.badge.hemispheresDesc': 'Visite países dos dois lados de Greenwich.',
'atlas.badge.islandsDesc': 'Visite {count} países insulares.',
@@ -149,17 +149,17 @@ const atlas: TranslationStrings = {
'atlas.badge.ultra': 'Ultra longo curso',
'atlas.badge.ultraDesc': 'Um único voo de mais de 13.000 km.',
'atlas.badge.wishes': '{count} desejos realizados',
'atlas.badge.wishes.one': 'Primeiro desejo realizado',
'atlas.badge.wishes.one': '{count} desejo realizado',
'atlas.badge.wishesDesc': 'Chegue a {count} lugares da sua lista de desejos.',
'atlas.badge.wishesDesc.one': 'Chegue a um lugar da sua lista de desejos.',
'atlas.badge.wishesDesc.one': 'Chegue a {count} lugar da sua lista de desejos.',
'atlas.badgeCat.collector': 'Colecionador',
'atlas.badgeCat.continents': 'Continentes',
'atlas.badgeCat.countries': 'Países',
'atlas.badgeCat.explorer': 'Explorador',
'atlas.badgeCat.flights': 'Voos',
'atlas.badgeCat.regions': 'Regiões',
'atlas.badgeTier.aurora': 'Aurora',
'atlas.badgeTier.bronze': 'Bronze',
'atlas.badgeTier.aurora': 'Aurora', // same-as-en
'atlas.badgeTier.bronze': 'Bronze', // same-as-en
'atlas.badgeTier.gold': 'Ouro',
'atlas.badgeTier.silver': 'Prata',
'atlas.globe.howTo': 'Como conseguir',