Skip to content

Commit 49a0318

Browse files
asuzuki-jumptradingjherrera-jump
authored andcommitted
fix: tiles
1 parent 46313b8 commit 49a0318

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

src/api/entities.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,16 @@ export const tileTypeSchema = z.enum([
7070
"poh",
7171
"shred",
7272
"store",
73-
"sign",
74-
"metric",
75-
"http",
76-
"plugin",
77-
"gui",
78-
"cswtch",
79-
"snaprd",
73+
74+
// snapshot
75+
"snapct",
76+
"snapld",
8077
"snapdc",
8178
"snapin",
79+
8280
// shred tiles
8381
"netlnk",
82+
"metric",
8483
"ipecho",
8584
"gossvf",
8685
"gossip",
@@ -89,7 +88,15 @@ export const tileTypeSchema = z.enum([
8988
"exec",
9089
"tower",
9190
"send",
91+
"sign",
9292
"rpc",
93+
"gui",
94+
95+
// others
96+
"http",
97+
"plugin",
98+
"cswtch",
99+
"genesi",
93100
]);
94101

95102
export const tileSchema = z.object({

src/features/Overview/ShredsProgression/ShredsTiles.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { useTilesPerformance } from "../SlotPerformance/useTilesPerformance";
55

66
const tiles: TileType[] = [
77
"netlnk",
8+
"metric",
89
"ipecho",
910
"gossvf",
1011
"gossip",
@@ -13,9 +14,10 @@ const tiles: TileType[] = [
1314
"exec",
1415
"tower",
1516
"send",
17+
"sign",
1618
"rpc",
19+
"gui",
1720
];
18-
1921
export default function ShredTiles() {
2022
const { tileCounts, groupedLiveIdlePerTile, showLive, queryIdleData } =
2123
useTilesPerformance();

src/features/Overview/SlotPerformance/atoms.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const groupedLiveIdlePerTileAtom = atom((get) => {
156156
export const snapshotTimerIndicesAtom = atom(
157157
(get): [TileType, number[]][] | undefined => {
158158
const tiles = get(tilesAtom);
159-
const tileTypes: TileType[] = ["snaprd", "snapdc", "snapin"];
159+
const tileTypes: TileType[] = ["snapld", "snapdc", "snapin"];
160160

161161
if (!tiles) return;
162162

src/features/StartupProgress/Firedancer/SnapshotProgress.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function SnapshotProgress() {
8787
/>
8888
<SnapshotSparklineCard
8989
title="CPU Utilization"
90-
tileType="snaprd"
90+
tileType="snapld"
9191
isComplete={!!readBytes && readBytes === totalBytes}
9292
/>
9393
</Flex>

0 commit comments

Comments
 (0)