[PR #1146] [CLOSED] feat: add template settings to create template flow #1424

Closed
opened 2026-02-26 19:33:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1146
Author: @adithyaakrishna
Created: 5/6/2024
Status: Closed

Base: mainHead: feat/redirect-templates


📝 Commits (10+)

📊 Changes

28 files changed (+549 additions, -23 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx (+57 -6)
📝 apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx (+2 -1)
📝 apps/web/src/app/(signing)/sign/[token]/complete/page.tsx (+1 -1)
📝 packages/lib/client-only/hooks/use-element-scale-size.ts (+1 -1)
📝 packages/lib/client-only/hooks/use-field-page-coords.ts (+1 -1)
📝 packages/lib/client-only/providers/feature-flag.tsx (+1 -1)
📝 packages/lib/constants/toast.ts (+1 -1)
📝 packages/lib/next-auth/guards/is-admin.ts (+2 -1)
📝 packages/lib/server-only/2fa/get-backup-code.ts (+1 -1)
📝 packages/lib/server-only/2fa/verify-backup-code.ts (+1 -1)
📝 packages/lib/server-only/http/with-swr.ts (+2 -2)
packages/lib/server-only/template-document-meta/upsert-template-document-meta.ts (+58 -0)
📝 packages/lib/server-only/template/create-document-from-template.ts (+10 -0)
📝 packages/lib/server-only/template/duplicate-template.ts (+1 -0)
📝 packages/lib/server-only/template/find-templates.ts (+1 -0)
📝 packages/lib/server-only/template/get-template-by-id.ts (+1 -0)
📝 packages/lib/server-only/user/forgot-password.ts (+1 -1)
📝 packages/lib/utils/fields.ts (+1 -1)
packages/prisma/migrations/20240416212742_create_template_document_meta/migration.sql (+19 -0)
📝 packages/prisma/schema.prisma (+13 -0)

...and 8 more files

📄 Description

Description:

This PR adds TemplateMeta and Template Settings to Create Template Flow

Note: PR is WIP


🔄 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/documenso/documenso/pull/1146 **Author:** [@adithyaakrishna](https://github.com/adithyaakrishna) **Created:** 5/6/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/redirect-templates` --- ### 📝 Commits (10+) - [`9715dbf`](https://github.com/documenso/documenso/commit/9715dbfeaac01eae62f2f2be6ef5e39b2763aaa6) chore: fix ordering of recipients - [`cce0cdf`](https://github.com/documenso/documenso/commit/cce0cdfbe26faaaac94aca93ea835e589b6e5e58) feat: add template meta for templates - [`f84b2fb`](https://github.com/documenso/documenso/commit/f84b2fbed03ba988f8f44fc65a946648b7b60172) Merge branch 'main' of https://github.com/documenso/documenso into feat/redirect-templates - [`2d6c613`](https://github.com/documenso/documenso/commit/2d6c613e2d80ed5e212eab457b8f56789bd93a07) chore: revert filename extension change - [`bb15f29`](https://github.com/documenso/documenso/commit/bb15f2994ae8f7c445bc682abe3319f0e3e4230d) chore: revert recipient reordering - [`279e758`](https://github.com/documenso/documenso/commit/279e7583ccb72bdcca063ba57922229ff1037c35) Merge branch 'main' of https://github.com/documenso/documenso into feat/redirect-templates - [`785b0e9`](https://github.com/documenso/documenso/commit/785b0e9085fff45253429ade4c06ce4e5d7f5e5e) Merge branch 'main' of https://github.com/documenso/documenso into feat/redirect-templates - [`3c23624`](https://github.com/documenso/documenso/commit/3c23624fdb2382a0f57e700f2aca1af3ec2f1f8e) chore: finalize template settings - [`2336e70`](https://github.com/documenso/documenso/commit/2336e70495856e094ad45ef2113729c954831b58) chore: fix linting issues - [`ba208d9`](https://github.com/documenso/documenso/commit/ba208d9397aacd0ad81e8bfe0a1941a86097716d) chore: fix conflicts and update branch ### 📊 Changes **28 files changed** (+549 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx` (+57 -6) 📝 `apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx` (+2 -1) 📝 `apps/web/src/app/(signing)/sign/[token]/complete/page.tsx` (+1 -1) 📝 `packages/lib/client-only/hooks/use-element-scale-size.ts` (+1 -1) 📝 `packages/lib/client-only/hooks/use-field-page-coords.ts` (+1 -1) 📝 `packages/lib/client-only/providers/feature-flag.tsx` (+1 -1) 📝 `packages/lib/constants/toast.ts` (+1 -1) 📝 `packages/lib/next-auth/guards/is-admin.ts` (+2 -1) 📝 `packages/lib/server-only/2fa/get-backup-code.ts` (+1 -1) 📝 `packages/lib/server-only/2fa/verify-backup-code.ts` (+1 -1) 📝 `packages/lib/server-only/http/with-swr.ts` (+2 -2) ➕ `packages/lib/server-only/template-document-meta/upsert-template-document-meta.ts` (+58 -0) 📝 `packages/lib/server-only/template/create-document-from-template.ts` (+10 -0) 📝 `packages/lib/server-only/template/duplicate-template.ts` (+1 -0) 📝 `packages/lib/server-only/template/find-templates.ts` (+1 -0) 📝 `packages/lib/server-only/template/get-template-by-id.ts` (+1 -0) 📝 `packages/lib/server-only/user/forgot-password.ts` (+1 -1) 📝 `packages/lib/utils/fields.ts` (+1 -1) ➕ `packages/prisma/migrations/20240416212742_create_template_document_meta/migration.sql` (+19 -0) 📝 `packages/prisma/schema.prisma` (+13 -0) _...and 8 more files_ </details> ### 📄 Description **Description:** This PR adds TemplateMeta and Template Settings to Create Template Flow Note: PR is WIP --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:11 +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/documenso#1424
No description provided.