[PR #1395] [MERGED] feat: add template page #1605

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1395
Author: @dguyen
Created: 10/11/2024
Status: Merged
Merged: 11/5/2024
Merged by: @dguyen

Base: mainHead: feat/add-template-page


📝 Commits (2)

📊 Changes

24 files changed (+1093 additions, -93 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/templates/[id]/edit/edit-template.tsx (+0 -0)
apps/web/src/app/(dashboard)/templates/[id]/edit/page.tsx (+14 -0)
apps/web/src/app/(dashboard)/templates/[id]/edit/template-edit-page-view.tsx (+96 -0)
📝 apps/web/src/app/(dashboard)/templates/[id]/page.tsx (+5 -4)
📝 apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx (+4 -2)
apps/web/src/app/(dashboard)/templates/[id]/template-page-view-documents-table.tsx (+281 -0)
apps/web/src/app/(dashboard)/templates/[id]/template-page-view-information.tsx (+66 -0)
apps/web/src/app/(dashboard)/templates/[id]/template-page-view-recent-activity.tsx (+163 -0)
apps/web/src/app/(dashboard)/templates/[id]/template-page-view-recipients.tsx (+69 -0)
📝 apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx (+137 -28)
📝 apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx (+6 -3)
📝 apps/web/src/app/(dashboard)/templates/data-table-templates.tsx (+1 -1)
📝 apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx (+1 -1)
📝 apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx (+10 -4)
apps/web/src/app/(teams)/t/[teamUrl]/templates/[id]/edit/page.tsx (+24 -0)
📝 apps/web/src/components/document/document-read-only-fields.tsx (+37 -7)
apps/web/src/components/forms/search-param-selector.tsx (+50 -0)
📝 packages/app-tests/e2e/templates-flow/template-settings-step.spec.ts (+4 -4)
📝 packages/app-tests/e2e/templates-flow/template-signers-step.spec.ts (+2 -2)
📝 packages/app-tests/e2e/templates/create-document-from-template.spec.ts (+2 -2)

...and 4 more files

📄 Description

Description

Add a template page view to allow users to see more details about a template at a glance.

This also allows users to view documents associated with a template, either created manually or created by a direct template link.

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced multiple new components for editing templates, including TemplateEditPage, TemplateEditPageView, and various supporting components for displaying template information, documents, and recipients.
    • Added functionality to redirect users to the edit page after creating a new template or signing in.
    • Implemented a SearchParamSelector component for managing URL search parameters.
  • Bug Fixes

    • Updated redirect paths in test cases to ensure users are directed to the correct edit pages.
  • Documentation

    • Enhanced documentation for new components and their props.
  • Chores

    • Improved error handling and user session management across various components.

🔄 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/1395 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 10/11/2024 **Status:** ✅ Merged **Merged:** 11/5/2024 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `feat/add-template-page` --- ### 📝 Commits (2) - [`f5bfc83`](https://github.com/documenso/documenso/commit/f5bfc83933d6f0aa2e2b6daf519f8f18b2c8f87b) feat: add template page - [`465d316`](https://github.com/documenso/documenso/commit/465d316e15ca54382664bf94607a8c685377c127) fix: refactor ### 📊 Changes **24 files changed** (+1093 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/templates/[id]/edit/edit-template.tsx` (+0 -0) ➕ `apps/web/src/app/(dashboard)/templates/[id]/edit/page.tsx` (+14 -0) ➕ `apps/web/src/app/(dashboard)/templates/[id]/edit/template-edit-page-view.tsx` (+96 -0) 📝 `apps/web/src/app/(dashboard)/templates/[id]/page.tsx` (+5 -4) 📝 `apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx` (+4 -2) ➕ `apps/web/src/app/(dashboard)/templates/[id]/template-page-view-documents-table.tsx` (+281 -0) ➕ `apps/web/src/app/(dashboard)/templates/[id]/template-page-view-information.tsx` (+66 -0) ➕ `apps/web/src/app/(dashboard)/templates/[id]/template-page-view-recent-activity.tsx` (+163 -0) ➕ `apps/web/src/app/(dashboard)/templates/[id]/template-page-view-recipients.tsx` (+69 -0) 📝 `apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx` (+137 -28) 📝 `apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx` (+6 -3) 📝 `apps/web/src/app/(dashboard)/templates/data-table-templates.tsx` (+1 -1) 📝 `apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx` (+1 -1) 📝 `apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx` (+10 -4) ➕ `apps/web/src/app/(teams)/t/[teamUrl]/templates/[id]/edit/page.tsx` (+24 -0) 📝 `apps/web/src/components/document/document-read-only-fields.tsx` (+37 -7) ➕ `apps/web/src/components/forms/search-param-selector.tsx` (+50 -0) 📝 `packages/app-tests/e2e/templates-flow/template-settings-step.spec.ts` (+4 -4) 📝 `packages/app-tests/e2e/templates-flow/template-signers-step.spec.ts` (+2 -2) 📝 `packages/app-tests/e2e/templates/create-document-from-template.spec.ts` (+2 -2) _...and 4 more files_ </details> ### 📄 Description ## Description Add a template page view to allow users to see more details about a template at a glance. This also allows users to view documents associated with a template, either created manually or created by a direct template link. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced multiple new components for editing templates, including `TemplateEditPage`, `TemplateEditPageView`, and various supporting components for displaying template information, documents, and recipients. - Added functionality to redirect users to the edit page after creating a new template or signing in. - Implemented a `SearchParamSelector` component for managing URL search parameters. - **Bug Fixes** - Updated redirect paths in test cases to ensure users are directed to the correct edit pages. - **Documentation** - Enhanced documentation for new components and their props. - **Chores** - Improved error handling and user session management across various components. <!-- 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>
kerem 2026-02-26 19:33:58 +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#1605
No description provided.