feat: logs

This commit is contained in:
tresabhi committed 2024-11-12 21:53:22 -06:00
1 parent 1a4ade76b7
commit 65705ebda0
4 files changed
+42 -1

No files matched your search

+1
View File
@@ -54,6 +54,7 @@
"debugflags",
"deburr",
"decalmask",
"decompressor",
"defence",
"degressive",
"devkrieg",
+26
View File
@@ -0,0 +1,26 @@
# BlitzKit 1.25.3
## Features
- Added a "popular tanks" list under the Tankopedia link on the homepage
- The render engine has been sped up by about 50% thanks to cheaper lighting
- Added a caliber discriminator for the antagonist gun selector in the Tankopedia sandbox
- Added 30+ new stats to the Session tool
- Added relative stat bars to the Tankopedia tank pages
- This compares each stat against other tanks of the same class & tier, tier, or every other tank
- Added a recently viewed tanks list to the Tankopedia tank pages
## Fixes
- The shot result card is now displayed in the sandbox even on mobile devices now
- Removed ad settings and referenced from the policies prompt
- Removed draco compression as it usually only saved about 0.7mb per tank but added an extra 1mb to the decompressor
- The tank type colors are back in the tank search
- Frames are once again rendered when posing tanks
- Removed the "ghost column" in the Session tool
- The "total" cell is now sticky too much-like the tank name cells
- The reset button in the tank search now resets the sort as well
- The provisions list is now centered on smaller screens
- The navbar can once again be scrolled
- Provisions and consumables are no longer off by 1
- Allow up to 24 hours for this to update as BlitzKit re-syncs with the game
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "blitzkit",
"private": true,
"version": "1.25.2",
"version": "1.25.3",
"description": "🎉 Tools for everything World of Tanks Blitz",
"type": "module",
"types": "./types.d.ts",
@@ -1,10 +1,24 @@
import { MinusCircledIcon } from '@radix-ui/react-icons';
import { Callout, Flex } from '@radix-ui/themes';
import { uniq } from 'lodash-es';
import { useEffect } from 'react';
import { Duel } from '../../stores/duel';
import { TankopediaPersistent } from '../../stores/tankopediaPersistent';
import { ExperimentIcon } from '../ExperimentIcon';
import { MAX_RECENTLY_VIEWED } from '../TankSearch/constants';
export function CalloutsSection() {
const tank = Duel.use((state) => state.protagonist.tank);
const mutateTankopediaPersistent = TankopediaPersistent.useMutation();
useEffect(() => {
mutateTankopediaPersistent((draft) => {
draft.recentlyViewed = uniq([tank.id, ...draft.recentlyViewed]).slice(
0,
MAX_RECENTLY_VIEWED,
);
});
}, [tank]);
if (!tank.testing && !tank.deprecated) return null;