Dashboard: lifecycle is a deployment concern, not a program action
Install/Uninstall no longer live in the program's action cluster (they were a tool's PATH-deployment lifecycle masquerading as a program action). ProgramActions is now dev-verbs-only (build/test/lint/type-check/check). The program detail's Deployment section owns lifecycle, keyed on kind: a tool shows Installed-on-PATH with an Install/Uninstall toggle, a static shows served-by-gateway + its URL, services/jobs link to their own pages. Program list cards drop the quick toggle for a plain active dot. 'Remove program' stays as catalog deletion — no longer a dead-end now that the blocking deployment is visible in the Deployment section.
This commit is contained in:
@@ -48,8 +48,6 @@ export function ProgramDetailPage() {
|
||||
<ProgramActions
|
||||
name={deployment.id}
|
||||
actions={deployment.actions}
|
||||
active={deployment.active}
|
||||
kind={deployment.kind}
|
||||
onOutput={setActionOutput}
|
||||
/>
|
||||
</DetailHeader>
|
||||
|
||||
Reference in New Issue
Block a user