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': 'Continenten',
'atlas.globe.colorBy': 'Kleur op',
'atlas.globe.colorCountry': 'Land',
'atlas.globe.colorStatus': 'Status',
'atlas.globe.colorStatus': 'Status', // same-as-en
'atlas.globe.colorYear': 'Jaar',
'atlas.globe.visited': 'Bezocht',
'atlas.globe.flights': 'Vluchten',
@@ -89,7 +89,7 @@ const atlas: TranslationStrings = {
'atlas.badge.streak.one': '{count} jaar op rij',
'atlas.badge.islands': '{count} eilandstaten',
'atlas.badge.islands.one': '{count} eilandstaat',
'atlas.globe.badges': 'Badges',
'atlas.globe.badges': 'Badges', // same-as-en
'atlas.globe.travellers': 'Reizigers',
'atlas.globe.reachedIn': 'Bereikt in {year}',
'atlas.globe.collected': '{earned} van {total} verzameld',
@@ -114,7 +114,7 @@ const atlas: TranslationStrings = {
'atlas.badge.burstDesc.one': 'Bereik {count} nieuw land in één jaar.',
'atlas.badge.continentsDesc': 'Bezoek alle zes bewoonde continenten.',
'atlas.badge.continentsN': '{count} continenten',
'atlas.badge.continentsN.one': '{count} continent',
'atlas.badge.continentsN.one': '{count} continent', // same-as-en
'atlas.badge.continentsNDesc': 'Zet voet op {count} continenten.',
'atlas.badge.continentsNDesc.one': 'Zet voet op {count} continent.',
'atlas.badge.countriesDesc': 'Bezoek {count} landen.',
@@ -158,7 +158,7 @@ const atlas: TranslationStrings = {
'atlas.badgeCat.explorer': 'Ontdekker',
'atlas.badgeCat.flights': 'Vluchten',
'atlas.badgeCat.regions': 'Regio’s',
'atlas.badgeTier.aurora': 'Aurora',
'atlas.badgeTier.aurora': 'Aurora', // same-as-en
'atlas.badgeTier.bronze': 'Brons',
'atlas.badgeTier.gold': 'Goud',
'atlas.badgeTier.silver': 'Zilver',
@@ -191,8 +191,8 @@ const atlas: TranslationStrings = {
'atlas.globe.someday': 'Ooit',
'atlas.globe.stages': 'Niveaus',
'atlas.globe.toGo': 'Nog te gaan',
'atlas.globe.tourCount': '{count} tours',
'atlas.globe.tourCount.one': '{count} tour',
'atlas.globe.tourCount': '{count} tours', // same-as-en
'atlas.globe.tourCount.one': '{count} tour', // same-as-en
'atlas.globe.wishJustName': '“{name}” zonder plek gebruiken',
'atlas.globe.wishNoPlace': 'Geen plek op de kaart',
'atlas.globe.wishNote': 'Notitie',