Skip to content

feat(ui): add one-click demo workload deploy - #321

Merged
mattdjenkinson merged 3 commits into
mainfrom
feat/ui-one-click-demo-deploy
Sep 18, 2026
Merged

mattdjenkinson merged 3 commits into
mainfrom
feat/ui-one-click-demo-deploy

Conversation

@kevwilliams

@kevwilliams kevwilliams commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a one-click demo deploy to the Workloads page: a new card offers to deploy a real, running workload, behind a confirm dialog that explains what will happen. The dialog then tracks the deploy through creation and readiness, letting the user leave and come back at any point rather than blocking on a spinner. Each deploy gets its own randomized name so repeat runs, or a workload deleted outside the portal, never collide with a prior one, and every object it creates carries a label identifying it as demo-origin for cleanup.

A project-home card and a small top-header hint point entitled projects at the same flow from elsewhere in the portal, using a new host extension point (companion PR: datum-cloud/cloud-portal#1560).

Screencast.From.2026-09-17.17-02-36.mp4

Test plan

  • Typecheck passes
  • Manually deploy the demo from the Workloads page: confirm, watch it come up, and land on the deployed workload
  • Manually deploy the demo again in the same project and confirm no naming collision with the first run
  • Manually confirm the project-home card and header hint only appear once Compute is Active for the project, and both open the same dialog

Wires "Try the Demo!" on the Workloads page's TryDemoWorkloadCard to
actually deploy a running demo workload (Network + Workload +
NetworkService + HTTPProxy) via a confirm dialog, with per-deploy
randomized resource names and an app.kubernetes.io/managed-by label so
runs never collide and stay identifiable for cleanup. Also adds a
project-home card and a top-header hint (behind a new
portal.header/project extension) that deep-link into the same dialog
via ?tryDemo=1, both gated to projects with an Active Compute
entitlement.
The unikernel demo image pulls anonymously, so the demo no longer
depends on a dockerhub-pull secret existing in the project.
@mattdjenkinson
mattdjenkinson merged commit 8ff21c5 into main Sep 18, 2026
10 checks passed
@mattdjenkinson
mattdjenkinson deleted the feat/ui-one-click-demo-deploy branch September 18, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants