[PR #18] [MERGED] Add compose service selection UI and improve template import flow #12

Closed
opened 2026-05-16 06:44:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hhftechnology/Dock-Dploy/pull/18
Author: @hhftechnology
Created: 5/15/2026
Status: ✅ Merged
Merged: 5/19/2026
Merged by: @hhftechnology

Base: main ← Head: dev-ui


📝 Commits (6)

📊 Changes

41 files changed (+3519 additions, -682 deletions)

View changed files

📝 package-lock.json (+4 -27)
📝 src/__tests__/setup.ts (+34 -0)
📝 src/components/ConversionDialog.tsx (+16 -5)
📝 src/components/Header.tsx (+1 -1)
📝 src/components/__tests__/ServicesTab.test.tsx (+8 -9)
📝 src/components/compose-builder/CodePanel.tsx (+47 -31)
📝 src/components/compose-builder/ConfigColumn/ServicesTab.tsx (+3 -4)
📝 src/components/templates/TemplateDetailModal.tsx (+19 -10)
➕ src/components/templates/__tests__/TemplateDetailModal.test.tsx (+47 -0)
📝 src/components/ui/alert.tsx (+1 -1)
📝 src/components/ui/toast.tsx (+6 -6)
📝 src/hooks/__tests__/useTemplateStore.test.ts (+25 -0)
📝 src/hooks/useConversionDialog.ts (+28 -43)
📝 src/hooks/useTemplateStore.ts (+59 -22)
📝 src/routes/blueprint-builder.tsx (+710 -235)
📝 src/routes/config-builder.tsx (+91 -41)
📝 src/routes/docker/compose-builder.tsx (+42 -27)
📝 src/routes/scheduler-builder.tsx (+88 -35)
📝 src/types/blueprint.ts (+110 -6)
➕ src/utils/__tests__/compose-version.test.ts (+47 -0)

...and 21 more files

📄 Description

Summary by CodeRabbit

  • New Features

    • Compose-version sanitization across import/preview flows; validation-driven builders and outputs with blocked views and disabled copy/download when invalid.
    • UI: list/add available compose services; improved template import flow with success/warning toasts and sanitized imports.
    • New validation modules and scheduler/config/template validators; richer blueprint/site/private-resource support surfaced to UIs.
  • Bug Fixes

    • Corrected deletion/selection edge cases for services/resources; template/modal state reliably resets.
  • Tests

    • Expanded tests and test-environment setup for validation, templates, outputs, and compose-version handling.

Review Change Stack


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hhftechnology/Dock-Dploy/pull/18 **Author:** [@hhftechnology](https://github.com/hhftechnology) **Created:** 5/15/2026 **Status:** ✅ Merged **Merged:** 5/19/2026 **Merged by:** [@hhftechnology](https://github.com/hhftechnology) **Base:** `main` ← **Head:** `dev-ui` --- ### 📝 Commits (6) - [`8bcc551`](https://github.com/hhftechnology/Dock-Dploy/commit/8bcc55193b723c19deda4d0e4a90e5a6895a3054) Import compose services and blueprint fixes - [`65fda48`](https://github.com/hhftechnology/Dock-Dploy/commit/65fda48f7d9514120cc2b38a2a2e12faa84311e1) testfiles - [`a70c6f8`](https://github.com/hhftechnology/Dock-Dploy/commit/a70c6f8c8faf32f2b46e7b83ddfa67fc932c1ccf) bugfixes-ui-valadations - [`d01fcf3`](https://github.com/hhftechnology/Dock-Dploy/commit/d01fcf31dbd099648f1f3a0d1894e212532b3be7) bugfixes - [`9ae2847`](https://github.com/hhftechnology/Dock-Dploy/commit/9ae2847552d1128b78ea89eb0ef26a4bb4308d61) updates - [`2d0b8a4`](https://github.com/hhftechnology/Dock-Dploy/commit/2d0b8a49186dd1e136dfa3b2bf155ec83774355b) bugfixes-ui-updates ### 📊 Changes **41 files changed** (+3519 additions, -682 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+4 -27) 📝 `src/__tests__/setup.ts` (+34 -0) 📝 `src/components/ConversionDialog.tsx` (+16 -5) 📝 `src/components/Header.tsx` (+1 -1) 📝 `src/components/__tests__/ServicesTab.test.tsx` (+8 -9) 📝 `src/components/compose-builder/CodePanel.tsx` (+47 -31) 📝 `src/components/compose-builder/ConfigColumn/ServicesTab.tsx` (+3 -4) 📝 `src/components/templates/TemplateDetailModal.tsx` (+19 -10) ➕ `src/components/templates/__tests__/TemplateDetailModal.test.tsx` (+47 -0) 📝 `src/components/ui/alert.tsx` (+1 -1) 📝 `src/components/ui/toast.tsx` (+6 -6) 📝 `src/hooks/__tests__/useTemplateStore.test.ts` (+25 -0) 📝 `src/hooks/useConversionDialog.ts` (+28 -43) 📝 `src/hooks/useTemplateStore.ts` (+59 -22) 📝 `src/routes/blueprint-builder.tsx` (+710 -235) 📝 `src/routes/config-builder.tsx` (+91 -41) 📝 `src/routes/docker/compose-builder.tsx` (+42 -27) 📝 `src/routes/scheduler-builder.tsx` (+88 -35) 📝 `src/types/blueprint.ts` (+110 -6) ➕ `src/utils/__tests__/compose-version.test.ts` (+47 -0) _...and 21 more files_ </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Compose-version sanitization across import/preview flows; validation-driven builders and outputs with blocked views and disabled copy/download when invalid. * UI: list/add available compose services; improved template import flow with success/warning toasts and sanitized imports. * New validation modules and scheduler/config/template validators; richer blueprint/site/private-resource support surfaced to UIs. * **Bug Fixes** * Corrected deletion/selection edge cases for services/resources; template/modal state reliably resets. * **Tests** * Expanded tests and test-environment setup for validation, templates, outputs, and compose-version handling. <!-- review_stack_entry_start --> [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/hhftechnology/Dock-Dploy/pull/18) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-16 06:44:37 -05:00
GiteaMirror changed title from [PR #18] Add compose service selection UI and improve template import flow to [PR #18] [MERGED] Add compose service selection UI and improve template import flow 2026-05-22 03:09:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/Dock-Dploy#12