[PR #241] [MERGED] Publish template #398

Closed
opened 2026-03-03 11:29:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/241
Author: @jagadeesh507
Created: 6/11/2025
Status: Merged
Merged: 6/11/2025
Merged by: @jagadeesh507

Base: mainHead: publish-template


📝 Commits (7)

  • 9e8e537 fix: add imageUrl field to CreateNewTemplate form and update handling in submission
  • c46c703 fix: update sorting in getTemplates action to prioritize published templates
  • a2eec68 fix: add isPublished and publishedTemplateId fields to Template interface and configuration
  • 24c1c56 feat: enhance template management with publish/unpublish actions and UI updates
  • c92b588 fix: define PublicTemplate type and update filtering in getPublicTemplatesAction
  • 6f1a1e9 fix: improve error handling and update template card key usage
  • b9b9b3f fix: streamline accountId handling and improve condition check for Template visibility

📊 Changes

8 files changed (+609 additions, -73 deletions)

View changed files

📝 src/actions/pages/Template/index.ts (+1 -1)
📝 src/actions/templates/index.ts (+307 -7)
📝 src/actions/templates/validator.ts (+11 -0)
📝 src/app/(frontend)/(dashboard)/[organisation]/templates/page.tsx (+49 -19)
📝 src/components/templates/TemplateDetails.tsx (+213 -40)
📝 src/components/templates/compose/index.tsx (+8 -6)
📝 src/payload-types.ts (+4 -0)
📝 src/payload/collections/Templates/index.ts (+16 -0)

📄 Description

No description provided


🔄 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/dflow-sh/dflow/pull/241 **Author:** [@jagadeesh507](https://github.com/jagadeesh507) **Created:** 6/11/2025 **Status:** ✅ Merged **Merged:** 6/11/2025 **Merged by:** [@jagadeesh507](https://github.com/jagadeesh507) **Base:** `main` ← **Head:** `publish-template` --- ### 📝 Commits (7) - [`9e8e537`](https://github.com/dflow-sh/dflow/commit/9e8e537278754d713ae7b6ab61123cf515dbacb0) fix: add imageUrl field to CreateNewTemplate form and update handling in submission - [`c46c703`](https://github.com/dflow-sh/dflow/commit/c46c70345f21dac19c83aefb66cf35dcf74183b7) fix: update sorting in getTemplates action to prioritize published templates - [`a2eec68`](https://github.com/dflow-sh/dflow/commit/a2eec68efc8646f9088428fe119222a35a1bd2f2) fix: add isPublished and publishedTemplateId fields to Template interface and configuration - [`24c1c56`](https://github.com/dflow-sh/dflow/commit/24c1c56323cef8efe53093b51f6d302080c028e1) feat: enhance template management with publish/unpublish actions and UI updates - [`c92b588`](https://github.com/dflow-sh/dflow/commit/c92b588999cddb5428f396501c16951fe536f364) fix: define PublicTemplate type and update filtering in getPublicTemplatesAction - [`6f1a1e9`](https://github.com/dflow-sh/dflow/commit/6f1a1e97c41d81944a4fc22320dfc0b52afbd695) fix: improve error handling and update template card key usage - [`b9b9b3f`](https://github.com/dflow-sh/dflow/commit/b9b9b3fa5edd5274816def3c74dfbd3e2735f45c) fix: streamline accountId handling and improve condition check for Template visibility ### 📊 Changes **8 files changed** (+609 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `src/actions/pages/Template/index.ts` (+1 -1) 📝 `src/actions/templates/index.ts` (+307 -7) 📝 `src/actions/templates/validator.ts` (+11 -0) 📝 `src/app/(frontend)/(dashboard)/[organisation]/templates/page.tsx` (+49 -19) 📝 `src/components/templates/TemplateDetails.tsx` (+213 -40) 📝 `src/components/templates/compose/index.tsx` (+8 -6) 📝 `src/payload-types.ts` (+4 -0) 📝 `src/payload/collections/Templates/index.ts` (+16 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:29:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#398
No description provided.