mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: logs
This commit is contained in:
1 parent
1a4ade76b7
commit
65705ebda0
4 files changed
+42
-1
No files matched your search
Vendored
+1
@@ -54,6 +54,7 @@
|
|||||||
"debugflags",
|
"debugflags",
|
||||||
"deburr",
|
"deburr",
|
||||||
"decalmask",
|
"decalmask",
|
||||||
|
"decompressor",
|
||||||
"defence",
|
"defence",
|
||||||
"degressive",
|
"degressive",
|
||||||
"devkrieg",
|
"devkrieg",
|
||||||
|
|||||||
@@ -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
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "blitzkit",
|
"name": "blitzkit",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.25.2",
|
"version": "1.25.3",
|
||||||
"description": "🎉 Tools for everything World of Tanks Blitz",
|
"description": "🎉 Tools for everything World of Tanks Blitz",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "./types.d.ts",
|
"types": "./types.d.ts",
|
||||||
|
|||||||
@@ -1,10 +1,24 @@
|
|||||||
import { MinusCircledIcon } from '@radix-ui/react-icons';
|
import { MinusCircledIcon } from '@radix-ui/react-icons';
|
||||||
import { Callout, Flex } from '@radix-ui/themes';
|
import { Callout, Flex } from '@radix-ui/themes';
|
||||||
|
import { uniq } from 'lodash-es';
|
||||||
|
import { useEffect } from 'react';
|
||||||
import { Duel } from '../../stores/duel';
|
import { Duel } from '../../stores/duel';
|
||||||
|
import { TankopediaPersistent } from '../../stores/tankopediaPersistent';
|
||||||
import { ExperimentIcon } from '../ExperimentIcon';
|
import { ExperimentIcon } from '../ExperimentIcon';
|
||||||
|
import { MAX_RECENTLY_VIEWED } from '../TankSearch/constants';
|
||||||
|
|
||||||
export function CalloutsSection() {
|
export function CalloutsSection() {
|
||||||
const tank = Duel.use((state) => state.protagonist.tank);
|
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;
|
if (!tank.testing && !tank.deprecated) return null;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user