Deployment Command Center
motiq/deployment-command-centerFreeBlock
A composed, app-controlled deploy console block: an Environment Switcher in the top bar, a Deployment Pipeline as the main column, a Live Log Stream beneath it, and an API Request Inspector in the side panel — wired behind one demo state machine (env selection, deploying, following logs, request inspection, failure, retry, completion). Provider-neutral fictional data; it never talks to a real deployment provider.
Live preview
live · rendered by the registry
Rendered by motiq on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://www.motiq.dev/r/deployment-command-center.jsonSource
1"use client";23import * as React from "react";4import { motion } from "motion/react";56import { cn } from "@/lib/utils";7import { useReducedMotion } from "@/lib/motiq";89import {10 EnvironmentSwitcher,11 type Environment,12} from "@/components/motiq/environment-switcher";13import {14 DeploymentPipeline,15 type Stage,16 type StageStatus,17} from "@/components/motiq/deployment-pipeline";18import {19 LiveLogStream,20 type LogEntry,21 type LogLevel,22 type LogStreamStatus,23} from "@/components/motiq/live-log-stream";24import {25 ApiRequestInspector,26 type ApiRequest,27 type ApiResponse,28 type InspectorState,29 type AuthSummary,30} from "@/components/motiq/api-request-inspector";3132/**33 * DeploymentCommandCenter — a composed, app-controlled "deploy console" block34 * that wires four presentation-only developer-tools components together behind a35 * single small demo state machine: an EnvironmentSwitcher in the top bar, a36 * DeploymentPipeline as the main column, a LiveLogStream beneath it, and an37 * ApiRequestInspector in the side panel.38 *39 * IMPORTANT — DEMO ONLY. Nothing here talks to a real deployment provider. Every40 * repo, endpoint, id, header, and timing is fictional and provider-neutral41 * (repo `acme/ledger-web`, host `api.acme-deploy.dev`). Credential headers are42 * pre-masked placeholders (`Bearer ••••••`) and the inspector redacts them43 * anyway. The block only feeds the components a scripted request/response/log44 * timeline in response to its own controls — it is a copy-paste starting point45 * you rewire to your real backend.46 *47 * Determinism: no `Date.now()` / `Math.random()` / `new Date()` runs during48 * render, initializers, or module scope. Timestamps derive from a fixed49 * baseline; the run only advances inside timers/handlers. Clean-room original.50 */5152/* -------------------------------------------------------------------------- */53/* Fixed, deterministic demo timeline */54/* -------------------------------------------------------------------------- */5556// A fixed baseline so the server-rendered first paint is deterministic. Handlers57// advance a step counter from here — never wall-clock now().58const BASE_TS = 1_700_000_000_000;5960type StageId = "build" | "test" | "deploy" | "promote";6162const STAGE_PLAN: { id: StageId; name: string; durationMs: number }[] = [63 { id: "build", name: "Build", durationMs: 42_100 },64 { id: "test", name: "Test", durationMs: 18_400 },65// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from motiq
All 100 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Agent Operations Heroagent-operations-hero | motiq | Blocks | Free | 1 dep | |
| AI Agent Workspaceai-agent-workspace | motiq | Blocks | Free | 1 dep | |
| AI Interface Packai-interface-pack | motiq | Blocks | Free | 1 dep | |
| Collaboration Packcollaboration-pack | motiq | Blocks | Free | 1 dep | |
| Collaborative Launch Herocollaborative-launch-hero | motiq | Blocks | Free | 1 dep | |
| Collaborative Review Workspacecollaborative-review-workspace | motiq | Blocks | Free | 1 dep | |
| Data Motion Packdata-motion-pack | motiq | Blocks | Free | 1 dep | |
| Deployment Control Herodeployment-control-hero | motiq | Blocks | Free | 1 dep |
