Skip to content

Commit f25aad6

Browse files
committed
feat: add datacenter field to runners table (#3016)
Closes FRONT-792 ### TL;DR Added a Datacenter column to the Runners Table to display runner datacenter information. ### What changed? - Added a new "Datacenter" column header to the Runners Table - Added a corresponding table cell in the RowSkeleton component to maintain proper layout when loading - Added a table cell to display the runner's datacenter value in the Row component ### How to test? 1. Navigate to the Runners Table view 2. Verify that the "Datacenter" column appears between the "Name" and "Slots" columns 3. Confirm that each runner's datacenter information is correctly displayed in the new column 4. Check that the loading skeleton properly includes the new column ### Why make this change? This change improves visibility of runner datacenter information, making it easier for users to identify where runners are located without having to drill down into individual runner details. This information is valuable for managing distributed runner deployments across multiple datacenters.
1 parent eec209e commit f25aad6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

frontend/src/app/runners-table.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export function RunnersTable({
3737
<TableHead />
3838
<TableHead>ID</TableHead>
3939
<TableHead>Name</TableHead>
40+
<TableHead>Datacenter</TableHead>
4041
<TableHead>Slots</TableHead>
4142
<TableHead>Last ping</TableHead>
4243
<TableHead>Created</TableHead>
@@ -117,6 +118,9 @@ function RowSkeleton() {
117118
<TableCell>
118119
<Skeleton className="w-full h-4" />
119120
</TableCell>
121+
<TableCell>
122+
<Skeleton className="w-full h-4" />
123+
</TableCell>
120124
</TableRow>
121125
);
122126
}
@@ -142,6 +146,7 @@ function Row(runner: Rivet.Runner) {
142146
{runner.name}
143147
</DiscreteCopyButton>
144148
</TableCell>
149+
<TableCell>{runner.datacenter}</TableCell>
145150

146151
<TableCell>
147152
{runner.remainingSlots}/{runner.totalSlots}

0 commit comments

Comments
 (0)