Skip to content

Commit 524d619

Browse files
committed
Use 47 tags in API UI
1 parent 434d20e commit 524d619

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

statshouse-ui/src/api/enum.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,21 @@ export const TAG_KEY = {
191191
_29: '29',
192192
_30: '30',
193193
_31: '31',
194+
_32: '32',
195+
_33: '33',
196+
_34: '34',
197+
_35: '35',
198+
_36: '36',
199+
_37: '37',
200+
_38: '38',
201+
_39: '39',
202+
_40: '40',
203+
_41: '41',
204+
_42: '42',
205+
_43: '43',
206+
_44: '44',
207+
_45: '45',
208+
_46: '46',
194209
} as const;
195210
export type TagKey = Enum<typeof TAG_KEY>;
196211

statshouse-ui/src/common/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if (meta !== null) {
7070

7171
export const globalSettings: settings = metaSettings;
7272
export const pxPerChar = 8;
73-
export const maxTagsSize = 16; // max 32 or edit TAG_KEY enum
73+
export const maxTagsSize = 47; // edit TAG_KEY enum when changing
7474
export const yAxisSize = 54;
7575

7676
export const buildVersion = document.querySelector('meta[name="build-version"]')?.getAttribute('content') ?? null;

0 commit comments

Comments
 (0)