HASH 4011c2077eb0
DATE 2025-09-14
SUBJECT refactor: treewide, wowsimstats 2.0
FILES 0 CHANGED
HASH 4011c2077eb0
DATE 2025-09-14
SUBJECT refactor: treewide, wowsimstats 2.0
FILES 0 CHANGED
*** PATCH TOO LARGE - DIFFSTAT ONLY ***
┌─ DIFFSTAT ─────────────────────────────────────────────────────────────────┐
│ .envrc | 1 + │
│ .github/workflows/challenge-mode-update.yml | 140 - │
│ .github/workflows/deploy.yml | 31 - │
│ .github/workflows/vercel-build-deploy-preview.yml | 73 + │
│ .github/workflows/vercel-build-deploy-prod.yml | 73 + │
│ .gitignore | 14 +- │
│ nix/apps/default.nix | 92 +- │
│ .../{ => deprecated}/challenge-mode-parser.nix | 5 +- │
│ .../challenge-mode/challenge-mode-leaderboard.nix | 372 + │
│ .../challenge-mode/player-aggregation.nix | 302 + │
│ .../deprecated/challenge-mode/player-profiles.nix | 285 + │
│ .../challenge-mode/ranking-processor.nix | 313 + │
│ nix/apps/deprecated/database/database-schema.nix | 304 + │
│ nix/apps/deprecated/database/populate-items.nix | 102 + │
│ .../player-leaderboard-generator.nix | 1 + │
│ .../team-leaderboard-generator.nix | 33 +- │
│ nix/apps/{ => utils}/getDB.nix | 0 │
│ nix/apps/utils/period-analyzer.nix | 235 + │
│ nix/pkgs/default.nix | 13 + │
│ nix/pkgs/ookstats/default.nix | 58 + │
│ nix/pkgs/ookstats/src/cmd/build.go | 333 + │
│ nix/pkgs/ookstats/src/cmd/fetch.go | 417 + │
│ nix/pkgs/ookstats/src/cmd/generate.go | 1232 ++ │
│ nix/pkgs/ookstats/src/cmd/populate.go | 230 + │
│ nix/pkgs/ookstats/src/cmd/process.go | 1116 ++ │
│ nix/pkgs/ookstats/src/cmd/root.go | 44 + │
│ nix/pkgs/ookstats/src/cmd/schema.go | 47 + │
│ nix/pkgs/ookstats/src/cmd/sync.go | 559 + │
│ nix/pkgs/ookstats/src/cmd/test.go | 41 + │
│ nix/pkgs/ookstats/src/go.mod | 16 + │
│ nix/pkgs/ookstats/src/go.sum | 26 + │
│ nix/pkgs/ookstats/src/internal/blizzard/client.go | 620 + │
│ .../ookstats/src/internal/blizzard/constants.go | 115 + │
│ nix/pkgs/ookstats/src/internal/blizzard/types.go | 243 + │
│ nix/pkgs/ookstats/src/internal/database/client.go | 437 + │
│ nix/pkgs/ookstats/src/internal/database/models.go | 161 + │
│ .../ookstats/src/internal/database/operations.go | 1142 ++ │
│ nix/pkgs/ookstats/src/internal/utils/utils.go | 72 + │
│ nix/pkgs/ookstats/src/main.go | 8 + │
│ nix/shell.nix | 8 +- │
│ nix/tests/trinket/trinket-comparison-test.nix | 6 +- │
│ nix/tests/trinket/trinket-single-test.nix | 6 +- │
│ web/.astro/content-assets.mjs | 2 +- │
│ web/.astro/content-modules.mjs | 2 +- │
│ web/.astro/content.d.ts | 422 +- │
│ web/.astro/content.db | 0 │
│ web/.astro/data-store.json | 10 +- │
│ web/.astro/integrations/astro_db/db.d.ts | 1180 ++ │
│ web/.astro/settings.json | 8 +- │
│ web/.astro/types.d.ts | 1 - │
│ web/.prettierignore | 3 + │
│ web/astro.config.mjs | 15 + │
│ web/package-lock.json | 1447 +- │
│ web/package.json | 3 + │
│ web/public/DB.json | 19811 +++++++++++++++++++ │
│ web/public/scripts/chart-logic.js | 1190 -- │
│ web/public/scripts/index.js | 3 - │
│ web/public/scripts/leaderboard-api.js | 203 - │
│ web/public/scripts/leaderboard-display.js | 546 - │
│ web/public/scripts/leaderboard-filters.js | 33 - │
│ web/public/scripts/leaderboard-utils.js | 30 - │
│ web/public/scripts/utils.js | 161 - │
│ web/src/client/best-runs-decorate.ts | 43 + │
│ web/src/client/filter-panel.ts | 168 + │
│ web/src/client/leaderboard-table.ts | 343 + │
│ web/src/client/player-leaderboard.ts | 328 + │
│ web/src/client/player-profile.ts | 330 + │
│ web/src/client/player-search.ts | 426 + │
│ web/src/client/sim-chart/loadout.ts | 225 + │
│ web/src/client/sim-chart/paths.ts | 47 + │
│ web/src/client/sim-chart/render/charts.ts | 225 + │
│ web/src/client/sim-chart/render/meta.ts | 64 + │
│ web/src/client/sim-chart/sorting.ts | 36 + │
│ web/src/client/sim-chart/ui.ts | 79 + │
│ web/src/client/simulation-benchmarks.ts | 104 + │
│ web/src/client/simulation-comparison.ts | 146 + │
│ web/src/client/url-utils.ts | 41 + │
│ web/src/components/BestRunsTable.astro | 39 + │
│ web/src/components/BestRunsTable.astro.backup | 294 + │
│ web/src/components/Callout.astro | 2 +- │
│ web/src/components/DungeonLeaderboard.astro | 66 + │
│ web/src/components/HorizontalSelector.astro | 19 +- │
│ web/src/components/ItemDatabase.astro | 4 +- │
│ web/src/components/ItemTooltip.astro | 41 +- │
│ web/src/components/LeaderboardControls.astro | 71 - │
│ web/src/components/LoadingState.astro | 90 +- │
│ web/src/components/Navigation.astro | 10 +- │
│ web/src/components/PageLayout.astro | 34 +- │
│ web/src/components/PlayerEquipment.astro | 109 + │
│ web/src/components/PlayerEquipment.scss | 165 + │
│ web/src/components/PlayerHeader.astro | 286 + │
│ web/src/components/SimulationControls.astro | 237 + │
│ web/src/components/SimulationMetadata.astro | 2 +- │
│ web/src/components/SpecIcon.astro | 157 +- │
│ web/src/components/TeamPlayerLeaderboard.astro | 67 + │
│ web/src/components/WoWClassColors.astro | 18 +- │
│ web/src/components/islands/FilterPanel.astro | 224 + │
│ web/src/components/islands/LeaderboardTable.astro | 520 + │
│ web/src/components/islands/PlayerLeaderboard.astro | 731 + │
│ web/src/components/islands/PlayerProfile.astro | 128 + │
│ web/src/components/islands/PlayerSearch.astro | 628 + │
│ web/src/data/realms.js | 70 - │
│ web/src/layouts/ChallengeModeLayout.astro | 270 - │
│ web/src/layouts/ChartLayout.astro | 877 - │
│ web/src/layouts/ModernChallengeModeLayout.astro | 462 + │
│ web/src/layouts/PlayerProfileLayout.astro | 72 + │
│ web/src/layouts/SimulationLayout.astro | 94 + │
│ web/src/lib/api.ts | 104 + │
│ web/src/lib/bestRunsRenderer.ts | 252 + │
│ web/src/lib/bracket-colors.ts | 62 + │
│ web/src/lib/client-utils.ts | 69 + │
│ web/src/lib/database.ts.bak | 1109 ++ │
│ web/src/lib/dungeonIcons.ts | 66 + │
│ web/src/lib/equipment-utils.ts | 480 + │
│ web/src/lib/ranking-utils.ts | 12 + │
│ web/src/lib/realms.ts | 66 + │
│ web/src/lib/sim-specs.ts | 66 + │
│ web/src/lib/types.ts | 188 + │
│ web/src/lib/utils.ts | 320 + │
│ .../wow-constants.js => src/lib/wow-constants.ts} | 387 +- │
│ web/src/pages/api/debug.ts | 42 + │
│ web/src/pages/api/search/players-index.ts | 61 + │
│ web/src/pages/api/test.ts | 23 + │
│ web/src/pages/benchmarks.astro | 6 - │
│ web/src/pages/challenge-mode/[...slug].astro | 116 +- │
│ web/src/pages/challenge-mode/index.astro | 7 +- │
│ web/src/pages/index.astro | 19 +- │
│ web/src/pages/player/PLAYER_PAGE_BACKUP.astro.bak | 172 + │
│ web/src/pages/player/[...slug].astro | 21 + │
│ web/src/pages/simulation/benchmark.astro | 83 + │
│ web/src/pages/simulation/comparison.astro | 88 + │
│ web/src/pages/simulation/index.astro | 15 + │
│ web/src/pages/test-endpoint.ts | 40 + │
│ web/src/scripts/chart-logic.js | 1190 -- │
│ web/src/scripts/index.js | 3 - │
│ web/src/scripts/utils.js | 162 - │
│ web/src/scripts/wow-constants.js | 341 - │
│ web/src/styles/best-runs.scss | 192 + │
│ web/src/styles/components.scss | 469 +- │
│ web/src/styles/global.css | 146 + │
│ web/src/styles/player-profile-header.css | 145 + │
│ web/src/styles/player-search.scss | 233 + │
│ web/tmp | 19 - │
│ 143 files changed, 43274 insertions(+), 6288 deletions(-) │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ DIFFSTAT ───────────────────────────┐
│ .envrc │
│ | 1 + │
│ .github/workflows/challenge-mode-update.yml │
│ | 140 - │
│ .github/workflows/deploy.yml │
│ | 31 - │
│ .github/workflows/vercel-build-deploy-previ │
│ ew.yml | 73 + │
│ .github/workflows/vercel-build-deploy-prod. │
│ yml | 73 + │
│ .gitignore │
│ | 14 +- │
│ nix/apps/default.nix │
│ | 92 +- │
│ .../{ => deprecated}/challenge-mode-parser. │
│ nix | 5 +- │
│ .../challenge-mode/challenge-mode-leaderboa │
│ rd.nix | 372 + │
│ .../challenge-mode/player-aggregation.nix │
│ | 302 + │
│ .../deprecated/challenge-mode/player-profil │
│ es.nix | 285 + │
│ .../challenge-mode/ranking-processor.nix │
│ | 313 + │
│ nix/apps/deprecated/database/database-schem │
│ a.nix | 304 + │
│ nix/apps/deprecated/database/populate-items │
│ .nix | 102 + │
│ .../player-leaderboard-generator.nix │
│ | 1 + │
│ .../team-leaderboard-generator.nix │
│ | 33 +- │
│ nix/apps/{ => utils}/getDB.nix │
│ | 0 │
│ nix/apps/utils/period-analyzer.nix │
│ | 235 + │
│ nix/pkgs/default.nix │
│ | 13 + │
│ nix/pkgs/ookstats/default.nix │
│ | 58 + │
│ nix/pkgs/ookstats/src/cmd/build.go │
│ | 333 + │
│ nix/pkgs/ookstats/src/cmd/fetch.go │
│ | 417 + │
│ nix/pkgs/ookstats/src/cmd/generate.go │
│ | 1232 ++ │
│ nix/pkgs/ookstats/src/cmd/populate.go │
│ | 230 + │
│ nix/pkgs/ookstats/src/cmd/process.go │
│ | 1116 ++ │
│ nix/pkgs/ookstats/src/cmd/root.go │
│ | 44 + │
│ nix/pkgs/ookstats/src/cmd/schema.go │
│ | 47 + │
│ nix/pkgs/ookstats/src/cmd/sync.go │
│ | 559 + │
│ nix/pkgs/ookstats/src/cmd/test.go │
│ | 41 + │
│ nix/pkgs/ookstats/src/go.mod │
│ | 16 + │
│ nix/pkgs/ookstats/src/go.sum │
│ | 26 + │
│ nix/pkgs/ookstats/src/internal/blizzard/cli │
│ ent.go | 620 + │
│ .../ookstats/src/internal/blizzard/constant │
│ s.go | 115 + │
│ nix/pkgs/ookstats/src/internal/blizzard/typ │
│ es.go | 243 + │
│ nix/pkgs/ookstats/src/internal/database/cli │
│ ent.go | 437 + │
│ nix/pkgs/ookstats/src/internal/database/mod │
│ els.go | 161 + │
│ .../ookstats/src/internal/database/operatio │
│ ns.go | 1142 ++ │
│ nix/pkgs/ookstats/src/internal/utils/utils. │
│ go | 72 + │
│ nix/pkgs/ookstats/src/main.go │
│ | 8 + │
│ nix/shell.nix │
│ | 8 +- │
│ nix/tests/trinket/trinket-comparison-test.n │
│ ix | 6 +- │
│ nix/tests/trinket/trinket-single-test.nix │
│ | 6 +- │
│ web/.astro/content-assets.mjs │
│ | 2 +- │
│ web/.astro/content-modules.mjs │
│ | 2 +- │
│ web/.astro/content.d.ts │
│ | 422 +- │
│ web/.astro/content.db │
│ | 0 │
│ web/.astro/data-store.json │
│ | 10 +- │
│ web/.astro/integrations/astro_db/db.d.ts │
│ | 1180 ++ │
│ web/.astro/settings.json │
│ | 8 +- │
│ web/.astro/types.d.ts │
│ | 1 - │
│ web/.prettierignore │
│ | 3 + │
│ web/astro.config.mjs │
│ | 15 + │
│ web/package-lock.json │
│ | 1447 +- │
│ web/package.json │
│ | 3 + │
│ web/public/DB.json │
│ | 19811 +++++++++++++++++++ │
│ web/public/scripts/chart-logic.js │
│ | 1190 -- │
│ web/public/scripts/index.js │
│ | 3 - │
│ web/public/scripts/leaderboard-api.js │
│ | 203 - │
│ web/public/scripts/leaderboard-display.js │
│ | 546 - │
│ web/public/scripts/leaderboard-filters.js │
│ | 33 - │
│ web/public/scripts/leaderboard-utils.js │
│ | 30 - │
│ web/public/scripts/utils.js │
│ | 161 - │
│ web/src/client/best-runs-decorate.ts │
│ | 43 + │
│ web/src/client/filter-panel.ts │
│ | 168 + │
│ web/src/client/leaderboard-table.ts │
│ | 343 + │
│ web/src/client/player-leaderboard.ts │
│ | 328 + │
│ web/src/client/player-profile.ts │
│ | 330 + │
│ web/src/client/player-search.ts │
│ | 426 + │
│ web/src/client/sim-chart/loadout.ts │
│ | 225 + │
│ web/src/client/sim-chart/paths.ts │
│ | 47 + │
│ web/src/client/sim-chart/render/charts.ts │
│ | 225 + │
│ web/src/client/sim-chart/render/meta.ts │
│ | 64 + │
│ web/src/client/sim-chart/sorting.ts │
│ | 36 + │
│ web/src/client/sim-chart/ui.ts │
│ | 79 + │
│ web/src/client/simulation-benchmarks.ts │
│ | 104 + │
│ web/src/client/simulation-comparison.ts │
│ | 146 + │
│ web/src/client/url-utils.ts │
│ | 41 + │
│ web/src/components/BestRunsTable.astro │
│ | 39 + │
│ web/src/components/BestRunsTable.astro.back │
│ up | 294 + │
│ web/src/components/Callout.astro │
│ | 2 +- │
│ web/src/components/DungeonLeaderboard.astro │
│ | 66 + │
│ web/src/components/HorizontalSelector.astro │
│ | 19 +- │
│ web/src/components/ItemDatabase.astro │
│ | 4 +- │
│ web/src/components/ItemTooltip.astro │
│ | 41 +- │
│ web/src/components/LeaderboardControls.astr │
│ o | 71 - │
│ web/src/components/LoadingState.astro │
│ | 90 +- │
│ web/src/components/Navigation.astro │
│ | 10 +- │
│ web/src/components/PageLayout.astro │
│ | 34 +- │
│ web/src/components/PlayerEquipment.astro │
│ | 109 + │
│ web/src/components/PlayerEquipment.scss │
│ | 165 + │
│ web/src/components/PlayerHeader.astro │
│ | 286 + │
│ web/src/components/SimulationControls.astro │
│ | 237 + │
│ web/src/components/SimulationMetadata.astro │
│ | 2 +- │
│ web/src/components/SpecIcon.astro │
│ | 157 +- │
│ web/src/components/TeamPlayerLeaderboard.as │
│ tro | 67 + │
│ web/src/components/WoWClassColors.astro │
│ | 18 +- │
│ web/src/components/islands/FilterPanel.astr │
│ o | 224 + │
│ web/src/components/islands/LeaderboardTable │
│ .astro | 520 + │
│ web/src/components/islands/PlayerLeaderboar │
│ d.astro | 731 + │
│ web/src/components/islands/PlayerProfile.as │
│ tro | 128 + │
│ web/src/components/islands/PlayerSearch.ast │
│ ro | 628 + │
│ web/src/data/realms.js │
│ | 70 - │
│ web/src/layouts/ChallengeModeLayout.astro │
│ | 270 - │
│ web/src/layouts/ChartLayout.astro │
│ | 877 - │
│ web/src/layouts/ModernChallengeModeLayout.a │
│ stro | 462 + │
│ web/src/layouts/PlayerProfileLayout.astro │
│ | 72 + │
│ web/src/layouts/SimulationLayout.astro │
│ | 94 + │
│ web/src/lib/api.ts │
│ | 104 + │
│ web/src/lib/bestRunsRenderer.ts │
│ | 252 + │
│ web/src/lib/bracket-colors.ts │
│ | 62 + │
│ web/src/lib/client-utils.ts │
│ | 69 + │
│ web/src/lib/database.ts.bak │
│ | 1109 ++ │
│ web/src/lib/dungeonIcons.ts │
│ | 66 + │
│ web/src/lib/equipment-utils.ts │
│ | 480 + │
│ web/src/lib/ranking-utils.ts │
│ | 12 + │
│ web/src/lib/realms.ts │
│ | 66 + │
│ web/src/lib/sim-specs.ts │
│ | 66 + │
│ web/src/lib/types.ts │
│ | 188 + │
│ web/src/lib/utils.ts │
│ | 320 + │
│ .../wow-constants.js => src/lib/wow-constan │
│ ts.ts} | 387 +- │
│ web/src/pages/api/debug.ts │
│ | 42 + │
│ web/src/pages/api/search/players-index.ts │
│ | 61 + │
│ web/src/pages/api/test.ts │
│ | 23 + │
│ web/src/pages/benchmarks.astro │
│ | 6 - │
│ web/src/pages/challenge-mode/[...slug].astr │
│ o | 116 +- │
│ web/src/pages/challenge-mode/index.astro │
│ | 7 +- │
│ web/src/pages/index.astro │
│ | 19 +- │
│ web/src/pages/player/PLAYER_PAGE_BACKUP.ast │
│ ro.bak | 172 + │
│ web/src/pages/player/[...slug].astro │
│ | 21 + │
│ web/src/pages/simulation/benchmark.astro │
│ | 83 + │
│ web/src/pages/simulation/comparison.astro │
│ | 88 + │
│ web/src/pages/simulation/index.astro │
│ | 15 + │
│ web/src/pages/test-endpoint.ts │
│ | 40 + │
│ web/src/scripts/chart-logic.js │
│ | 1190 -- │
│ web/src/scripts/index.js │
│ | 3 - │
│ web/src/scripts/utils.js │
│ | 162 - │
│ web/src/scripts/wow-constants.js │
│ | 341 - │
│ web/src/styles/best-runs.scss │
│ | 192 + │
│ web/src/styles/components.scss │
│ | 469 +- │
│ web/src/styles/global.css │
│ | 146 + │
│ web/src/styles/player-profile-header.css │
│ | 145 + │
│ web/src/styles/player-search.scss │
│ | 233 + │
│ web/tmp │
│ | 19 - │
│ 143 files changed, 43274 insertions(+), 628 │
│ 8 deletions(-) │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET