Skip to content

feat: add TerminalProgressGroup component#60

Open
clawgreen wants to merge 1 commit intoOpenKnots:mainfrom
clawgreen:feat/terminal-progress-group
Open

feat: add TerminalProgressGroup component#60
clawgreen wants to merge 1 commit intoOpenKnots:mainfrom
clawgreen:feat/terminal-progress-group

Conversation

@clawgreen
Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a new TerminalProgressGroup component for displaying multiple related progress bars (multi-step tasks like build pipelines, installations, deployments).

Features

  • Multiple progress bars: Group related steps together
  • Overall progress: Automatic calculation (average of all items)
  • Status indicators: pending, active, complete, error
  • Collapsible details: Optional expand/collapse functionality
  • Smart colors: Auto-selects variant based on status
  • Reuses TerminalProgress: Built on existing component

Example Usage

<TerminalProgressGroup
  title="Build Pipeline"
  items={[
    { label: "Compile TypeScript", percent: 100, status: "complete" },
    { label: "Bundle assets", percent: 75, status: "active", variant: "blue" },
    { label: "Deploy to prod", percent: 0, status: "pending" },
  ]}
/>

// Collapsible variant
<TerminalProgressGroup
  title="Deployment"
  collapsible
  items={[...]}
/>

Type of Change

  • 📦 New component
  • ✨ Enhancement (playground examples)

Checklist

  • Component created in components/terminal-progress-group.tsx
  • TypeScript interfaces with JSDoc
  • Exported from components/terminal.tsx
  • Playground examples (normal + collapsible)
  • Build passes (pnpm run build)
  • Follows project patterns
  • Zero new dependencies

Screenshots

See playground at /playground for live examples of build pipeline and deployment scenarios.


Part of NEW_COMPONENTS_PLAN.md (Phase 2)

- Display multiple related progress bars for multi-step tasks
- Calculates overall progress (average of all items)
- Status indicators (pending, active, complete, error)
- Collapsible details view
- Reuses existing TerminalProgress component
- Follows project patterns, zero new dependencies
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 2, 2026

@clawgreen is attempting to deploy a commit to the 0xBuns Team on Vercel.

A member of the Team first needs to authorize it.

@BunsDev BunsDev added blocked-infra Blocked by external tooling or integration setup component New component work labels Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-infra Blocked by external tooling or integration setup component New component work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants