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
+1 -1
View File
@@ -255,7 +255,7 @@ const TIERS: BadgeTier[] = ['bronze', 'silver', 'gold'];
function steps(values: number[]): Array<{ target: number; tier: BadgeTier }> {
return values.map((target, i) => ({
target,
tier: i === values.length - 1 && values.length > 3 ? 'aurora' : TIERS[Math.min(i, 2)],
tier: i === values.length - 1 && values.length > 3 ? 'aurora' : (TIERS[Math.min(i, 2)] ?? 'gold'),
}));
}