Commit Graph
5000 Commits
Author SHA1 Message Date
tresabhi 558a02b6ae compile tank search page 2026-09-27 13:22:34 -05:00
tresabhi d8f6a55ee4 Merge branch 'main' into data-driven 2026-09-27 13:11:01 -05:00
Mark Greene 85b8c7057d Redesign Spall Liner swap popover with icons
Replace wordy swap prompt with compact icon row (spall liner icon,
swap icon, current provisions) and drop unused ProvisionButton
tooltip that flashed on popover open.
2026-09-26 19:45:17 +12:00
TrèsAbhi 763ecf22b0 New Crowdin updates (#266) 2026-09-24 16:25:00 -05:00
Mark Greene 281e4abec7 Add peekaboo DPM stat to Tankopedia firepower
Adds a **Peekaboo DPM** entry nested under DPM for single-shot guns, estimating damage per minute when only firing after resetting camouflage (or waiting out the reload, whichever is slower), assuming at least 10 seconds between shots.

- Shots per minute are capped at `60/10` for reloads faster than 10s, and fall back to `60/reload` otherwise
- The result is multiplied by the currently selected shell's damage and rounded
- An (i) icon next to the label opens a popover explaining the calculation
- The row is hidden for auto-loader/auto-reloader guns
- No percentile ranking bar is shown, since no dataset exists yet for this new stat
2026-09-25 09:22:08 +12:00
TrèsAbhi 2beb084b67 Merge pull request #267 from Hitjack007/fix/session-missing-average-crash 2026-09-24 14:07:50 -07:00
tresabhi f7ca622906 correct assertions 2026-09-24 16:07:12 -05:00
tresabhi 960279bf00 huh i forgor 2026-09-23 17:37:52 -05:00
tresabhi 4247004b13 canvas 2026-09-23 17:25:51 -05:00
tresabhi 960ca4b0f4 Merge branch 'main' into data-driven 2026-09-23 17:14:22 -05:00
tresabhi 424d9944ad smarter trigger 2026-09-23 17:12:53 -05:00
tresabhi a75c47865b checkpoint 2026-09-23 17:09:43 -05:00
tresabhi c2714c4d6b tank search filters 2026-09-23 17:01:34 -05:00
tresabhi 1c505818a4 to core 2026-09-23 16:58:36 -05:00
tresabhi 444705347f imports 2026-09-23 16:51:09 -05:00
tresabhi 19556b5fc9 game strings 2026-09-23 16:45:07 -05:00
tresabhi e52f003c1b build protos indexing on first shot 2026-09-23 16:42:30 -05:00
tresabhi 4fc57d7fc1 Merge branch 'main' into data-driven 2026-09-23 16:37:39 -05:00
tresabhi 8af41b91b5 logs 2026-09-23 16:32:19 -05:00
tresabhi 347efa75fe add compatibility for string game mode ids 2026-09-23 16:31:35 -05:00
tresabhi 1619ee1e00 checkpoint 2026-09-23 15:36:22 -05:00
tresabhi a38239a6f9 tankClassOrder 2026-09-23 13:58:29 -05:00
tresabhi 9e26da3205 checkpoint 2026-09-23 13:48:50 -05:00
tresabhi 750bdd236a useCompatibility 2026-09-23 10:39:12 -05:00
tresabhi 33bb8ead3c reorganize 2026-09-23 10:25:47 -05:00
tresabhi 79e282e70e strings 2026-09-23 10:23:59 -05:00
tresabhi e911f36ea3 createTankStatus 2026-09-23 10:22:57 -05:00
tresabhi 4e470599e8 speed 2026-09-22 16:39:51 -05:00
tresabhi 5f24887535 api strings 2026-09-22 16:38:30 -05:00
tresabhi 99317c2075 hasUpgrades 2026-09-22 16:24:29 -05:00
tresabhi 99965118b3 useProtagonist 2026-09-22 16:20:39 -05:00
tresabhi 7592381b12 ComputedCharacteristics 2026-09-22 16:17:55 -05:00
tresabhi 7d02f6311f tank states 2026-09-22 16:13:27 -05:00
tresabhi 6c9ce58af5 scripts api 2026-09-22 15:36:12 -05:00
Mark Greene 9e38815475 Add Spall Liner toggle to Tankopedia model viewer 2026-09-23 08:32:53 +12:00
tresabhi 402b6d5113 blitz scripts 2026-09-22 15:25:25 -05:00
Mark Greene 88643d366d Fix: skip session delta entries with no tank definition or average
The /session/ page crashed when a tracked player's tank stats included
a tank with no matching tank definition or no average stats (WN8
baseline). The delta memo dereferenced `tank.id` on a possibly missing
definition and forced `average?.mu!` through as non-null, so a missing
average threw inside `compositeStats`/`calculateWN8` uncaught, breaking
the page on every load while the bad state persisted in localStorage.

Skip those entries instead of crashing: entries with no tank
definition or no average `mu` are dropped from the delta via
`flatMap`, so the rest of the session table still renders.
2026-09-23 08:21:16 +12:00
tresabhi 1733180f2c oh my god this is hideous 2026-09-22 14:52:33 -05:00
tresabhi 11c2c9749c more entries 2026-09-22 11:55:03 -05:00
tresabhi 267bb271c9 some notes 2026-09-22 11:52:39 -05:00
tresabhi 3c01056f4e implement rest 2026-09-16 09:56:13 -05:00
tresabhi 66f9c9d106 start of data driven provisions 2026-09-16 09:42:20 -05:00
tresabhi 3be91469aa strict types 2026-09-13 13:20:45 -05:00
tresabhi 491b03ad00 proto compiling 2026-09-13 12:52:25 -05:00
tresabhi 054f33a649 move protos 2026-09-13 12:36:29 -05:00
tresabhi 5b4ad95a14 clean up a bit 2026-09-06 21:06:02 -05:00
tresabhi fe7282aae7 Merge branch 'main' into data-driven 2026-09-06 20:58:34 -05:00
tresabhi 84f950ade4 fix tag0 assumption 2026-09-02 16:32:46 -05:00
tresabhi 8842283f0e some data driven characteristics 2026-08-31 20:13:31 -05:00
tresabhi b6f9ae9187 some more updates to imports 2026-08-30 15:02:01 -05:00