Drop dead ProgramSummary.runner from dashboard types
The API's ProgramSummary no longer emits runner (a program has no launcher — that lives on its deployment). Remove the stale UI type field and the never-rendered Launcher row on the program detail page; a program's launcher already shows on its deployment in the Deployments section.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useState } from "react"
|
||||
import { useParams } from "react-router-dom"
|
||||
import { useProgram } from "@/services/api/hooks"
|
||||
import { launcherLabel, subdomainUrl } from "@/lib/labels"
|
||||
import { subdomainUrl } from "@/lib/labels"
|
||||
import { DetailHeader } from "@/components/detail/DetailHeader"
|
||||
import { ConfigPanel } from "@/components/detail/ConfigPanel"
|
||||
import { DeploymentsSection } from "@/components/detail/DeploymentsSection"
|
||||
@@ -93,12 +93,6 @@ export function ProgramDetailPage() {
|
||||
<span>{deployment.version}</span>
|
||||
</>
|
||||
)}
|
||||
{deployment.runner && (
|
||||
<>
|
||||
<span className="text-[var(--muted)]">Launcher</span>
|
||||
<span>{launcherLabel(deployment.runner)}</span>
|
||||
</>
|
||||
)}
|
||||
{deployment.active !== null && (
|
||||
<>
|
||||
<span className="text-[var(--muted)]">Active</span>
|
||||
|
||||
@@ -48,7 +48,6 @@ export interface ProgramSummary {
|
||||
description: string | null
|
||||
kind: string | null // derived: service | job | tool | static | reference
|
||||
stack: string | null
|
||||
runner: string | null // inferred launch hint (python | command)
|
||||
version: string | null
|
||||
source: string | null
|
||||
repo: string | null
|
||||
|
||||
Reference in New Issue
Block a user