spotters: most-active-in sort with country/region selector, collection tracking (seen marks, progress, filters), refresh scripts score activity and report new NL entries
Some checks failed
Deploy production / deploy (push) Has been cancelled

This commit is contained in:
2026-10-25 13:24:37 +00:00
parent 3f294df337
commit 253cd69424
58 changed files with 2151 additions and 72 deletions

View File

@@ -42,6 +42,7 @@ export const ERAS = {
} as const;
export type TrainEra = keyof typeof ERAS;
export const SORTS = {
active: 'most active in…',
built: 'most built',
dex: 'dex #',
name: 'name',
@@ -205,6 +206,8 @@ export const fmtM = (m: number) => `${m >= 100 ? Math.round(m) : Math.round(m *
export const fmtT = (t: number) => `${t >= 100 ? Math.round(t) : Math.round(t * 10) / 10} t`;
export type TrainCard = {
id: number;
seen: boolean;
dex: number;
slug: string;
name: string;
@@ -225,6 +228,8 @@ export type TrainCard = {
};
export type MakerTileData = {
/** Entries Stan has collected in this group (optional). */
seen?: number;
slug: string;
name: string;
types: number;