mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: logs
This commit is contained in:
1 parent
f88ac8daf7
commit
25c40bcea2
4 files changed
+34
-5
No files matched your search
Vendored
+2
@@ -36,6 +36,7 @@
|
|||||||
"cacheable",
|
"cacheable",
|
||||||
"Callouts",
|
"Callouts",
|
||||||
"Camo",
|
"Camo",
|
||||||
|
"Carro",
|
||||||
"CCPAOPTOUT",
|
"CCPAOPTOUT",
|
||||||
"CDON",
|
"CDON",
|
||||||
"classname",
|
"classname",
|
||||||
@@ -43,6 +44,7 @@
|
|||||||
"closedkrieg",
|
"closedkrieg",
|
||||||
"cockroackdb",
|
"cockroackdb",
|
||||||
"Coef",
|
"Coef",
|
||||||
|
"Combattimento",
|
||||||
"cooldown",
|
"cooldown",
|
||||||
"corelations",
|
"corelations",
|
||||||
"corsproxy",
|
"corsproxy",
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# BlitzKit 1.27.10
|
||||||
|
|
||||||
|
This update changes the URLs across the whole website, removing the "tools" prefix and simplifying other aspects too.
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
- Removed "full" tank names
|
||||||
|
- For example, tanks like the "Carro 45t" had full names like "Carro Combattimento 45t" which remained pretty much unused, so they have been removed
|
||||||
|
- Reduced the shadow below the navigation bar
|
||||||
|
- Removed the "tools" prefix from the URLs; here are the paths:
|
||||||
|
- `/tools/tankopedia` -> `/tanks`
|
||||||
|
- `/tools/tankopedia/12345` -> `/tanks/tank-name`
|
||||||
|
- `/tools/compare` -> `/compare`
|
||||||
|
- `/tools/embed` -> `/embed`
|
||||||
|
- `/tools/embed/embed-name` -> `/embed/embed-name`
|
||||||
|
- `/tools/gallery` -> `/gallery`
|
||||||
|
- `/tools/performance` -> `/performance`
|
||||||
|
- `/tools/session` -> `/session`
|
||||||
|
- `/tools/tier-list` -> `/tier-list`
|
||||||
|
|
||||||
|
## Technical Features
|
||||||
|
|
||||||
|
- The asset mangler now uses http headers and even more heuristics to minimize re-creating unchanged assets
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "blitzkit",
|
"name": "blitzkit",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.27.9",
|
"version": "1.27.10",
|
||||||
"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",
|
||||||
|
|||||||
@@ -15,18 +15,22 @@ export async function fetchTankNames() {
|
|||||||
tankDefinitionsArray.map(async (tank) => {
|
tankDefinitionsArray.map(async (tank) => {
|
||||||
const searchableNameDeburr: I18nString = { locales: {} };
|
const searchableNameDeburr: I18nString = { locales: {} };
|
||||||
|
|
||||||
Object.entries(tank.name_full ?? tank.name).forEach(([key, value]) => {
|
Object.entries(tank.name).forEach(([key, value]) => {
|
||||||
searchableNameDeburr.locales[key] = deburr(value);
|
searchableNameDeburr.locales[key] = deburr(value);
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: tank.id,
|
id: tank.id,
|
||||||
name: tank.name,
|
name: tank.name,
|
||||||
nameFull: tank.name_full,
|
searchableName: tank.name,
|
||||||
searchableName: tank.name_full ?? tank.name,
|
|
||||||
searchableNameDeburr,
|
searchableNameDeburr,
|
||||||
camouflages: tank.camouflages
|
camouflages: tank.camouflages
|
||||||
?.map((id) => SUPPORTED_LOCALES.map((locale) => camouflageDefinitions.camouflages[id]?.name.locales[locale]))
|
?.map((id) =>
|
||||||
|
SUPPORTED_LOCALES.map(
|
||||||
|
(locale) =>
|
||||||
|
camouflageDefinitions.camouflages[id]?.name.locales[locale],
|
||||||
|
),
|
||||||
|
)
|
||||||
.flat()
|
.flat()
|
||||||
.filter(Boolean)
|
.filter(Boolean)
|
||||||
.map(deburr)
|
.map(deburr)
|
||||||
|
|||||||
Reference in new issue
Block a user