feat(frontend): implement deployment detail actions and shared status components#514
Merged
temma02 merged 1 commit intoStellerCraft:mainfrom Apr 29, 2026
Conversation
|
@iammrjude Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
Author
|
@temma02 I am done. Please review |
Contributor
Author
|
@temma02 Please review and merge
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Implements Issue #25 by adding a full deployment detail UI surface with reusable status treatments, progress indicators, action controls, logs shell, and history placeholders.
This PR also prepares frontend integration points for deployment detail/status/log/update/redeploy APIs and connects list rows to the new detail route.
Closes #25
What was implemented
1) New deployment detail screen
apps/frontend/src/app/app/deployments/[id]/page.tsx2) Shared status + progress components
apps/frontend/src/components/deployments/deployment-detail-status.tsapps/frontend/src/components/deployments/DeploymentDetailStatusBadge.tsxapps/frontend/src/components/deployments/DeploymentProgressIndicator.tsx3) Action controls + destructive confirmation
apps/frontend/src/components/deployments/DeploymentDetailActions.tsxRedeploy Now)4) Logs shell + history placeholder
apps/frontend/src/components/deployments/DeploymentLogViewerShell.tsxapps/frontend/src/components/deployments/DeploymentHistorySection.tsx5) API integration points
apps/frontend/src/services/deployment-detail-api.ts/api/deployments/:id/api/deployments/:id/status/api/deployments/:id/logs/api/deployments/:id/redeployDELETE /api/deployments/:id/api/drafts/deployment/:id6) Type contracts
apps/frontend/src/types/deployment.ts7) Deployments list integration
apps/frontend/src/components/deployments/DeploymentRow.tsxapps/frontend/src/components/deployments/index.tsFiles changed
New files
apps/frontend/src/app/app/deployments/[id]/page.tsxapps/frontend/src/components/deployments/DeploymentDetailActions.tsxapps/frontend/src/components/deployments/DeploymentDetailActions.test.tsxapps/frontend/src/components/deployments/DeploymentDetailStatusBadge.tsxapps/frontend/src/components/deployments/DeploymentDetailStatusBadge.test.tsxapps/frontend/src/components/deployments/DeploymentProgressIndicator.tsxapps/frontend/src/components/deployments/DeploymentProgressIndicator.test.tsxapps/frontend/src/components/deployments/DeploymentLogViewerShell.tsxapps/frontend/src/components/deployments/DeploymentHistorySection.tsxapps/frontend/src/components/deployments/deployment-detail-status.tsapps/frontend/src/services/deployment-detail-api.tsapps/frontend/src/services/deployment-detail-api.test.tsModified files
apps/frontend/src/components/deployments/DeploymentRow.tsxapps/frontend/src/components/deployments/index.tsapps/frontend/src/types/deployment.tsTesting performed
Ran targeted frontend tests for new and related components/services:
npm run test --workspace @craft/frontend -- src/components/deployments/DeploymentDetailActions.test.tsx src/components/deployments/DeploymentDetailStatusBadge.test.tsx src/components/deployments/DeploymentProgressIndicator.test.tsx src/services/deployment-detail-api.test.tsnpm run test --workspace @craft/frontend -- src/components/deployments/DeploymentStatusBadge.test.tsx src/components/deployments/DeploymentList.test.tsResult: all tests passed.
Acceptance criteria check (Issue #25)
Edge cases and assumptions