[PR #73] [CLOSED] Allow copying of signer's link #735

Closed
opened 2026-02-26 18:48:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/73
Author: @ephraimduncan
Created: 4/12/2023
Status: Closed

Base: mainHead: doc-70


📝 Commits (8)

  • 839a6c6 Allow copying of signer's link
  • 2a03b59 Add toast
  • 9208644 Hide the Not Sent badge when readStatus is seen
  • 6bdfa1e Merge branch 'main' into doc-70
  • 43a4d41 Set status to LINK_COPIED when a user copies a link
  • a3161c8 Show link copied on recipients page when the sendStatus is LINK_COPIED
  • ddbf49e Merge branch 'main' into doc-70
  • 2e9d71a Fixes from code-review

📊 Changes

10 files changed (+153 additions, -11 deletions)

View changed files

apps/web/pages/api/documents/[id]/copied.ts (+50 -0)
📝 apps/web/pages/documents/[id]/recipients.tsx (+47 -11)
📝 packages/lib/api/index.ts (+1 -0)
packages/lib/api/setCopiedField.ts (+21 -0)
packages/lib/copied/index.ts (+1 -0)
packages/lib/copied/setCopiedField.ts (+13 -0)
📝 packages/lib/mail/sendSigningRequest.ts (+1 -0)
packages/prisma/migrations/20230506063005_doc_70/migration.sql (+2 -0)
packages/prisma/migrations/20230506063158_doc_70_link_copied/migration.sql (+16 -0)
📝 packages/prisma/schema.prisma (+1 -0)

📄 Description

  • Copy link on icon click
  • Show toast on link copied
  • Hide the Not Sent when readStatus is seen
  • Add COPIED status and when the link is copied, the status is shown as "Public Link Copied" of Not Sent

Screenshot

Screenshot 2023-04-12 at 09 13 08

Closes #36


🔄 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/73 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 4/12/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `doc-70` --- ### 📝 Commits (8) - [`839a6c6`](https://github.com/documenso/documenso/commit/839a6c6fd69f385bdd57f81341c609204857a729) Allow copying of signer's link - [`2a03b59`](https://github.com/documenso/documenso/commit/2a03b59928d7a5623605ad37a39b79c2011f860e) Add toast - [`9208644`](https://github.com/documenso/documenso/commit/920864485cddf422f5435068a29c4bf39607f818) Hide the `Not Sent` badge when `readStatus` is seen - [`6bdfa1e`](https://github.com/documenso/documenso/commit/6bdfa1eb6baf81f56343f985a87b3a49158cf087) Merge branch 'main' into doc-70 - [`43a4d41`](https://github.com/documenso/documenso/commit/43a4d41f05d3645da1dc56fb67bad870107db0f4) Set status to LINK_COPIED when a user copies a link - [`a3161c8`](https://github.com/documenso/documenso/commit/a3161c8f1fefac9983c9bdd22cbc5d9b3b9b12ea) Show link copied on recipients page when the sendStatus is LINK_COPIED - [`ddbf49e`](https://github.com/documenso/documenso/commit/ddbf49e6ab2728dfe1de084f59afbf07f4335111) Merge branch 'main' into doc-70 - [`2e9d71a`](https://github.com/documenso/documenso/commit/2e9d71ac746052c879e5ce2a49434d4f41065c90) Fixes from code-review ### 📊 Changes **10 files changed** (+153 additions, -11 deletions) <details> <summary>View changed files</summary> ➕ `apps/web/pages/api/documents/[id]/copied.ts` (+50 -0) 📝 `apps/web/pages/documents/[id]/recipients.tsx` (+47 -11) 📝 `packages/lib/api/index.ts` (+1 -0) ➕ `packages/lib/api/setCopiedField.ts` (+21 -0) ➕ `packages/lib/copied/index.ts` (+1 -0) ➕ `packages/lib/copied/setCopiedField.ts` (+13 -0) 📝 `packages/lib/mail/sendSigningRequest.ts` (+1 -0) ➕ `packages/prisma/migrations/20230506063005_doc_70/migration.sql` (+2 -0) ➕ `packages/prisma/migrations/20230506063158_doc_70_link_copied/migration.sql` (+16 -0) 📝 `packages/prisma/schema.prisma` (+1 -0) </details> ### 📄 Description - [x] Copy link on icon click - [x] Show toast on link copied - [x] Hide the `Not Sent` when `readStatus` is seen - [x] Add `COPIED` status and when the link is copied, the status is shown as "Public Link Copied" of `Not Sent` ### Screenshot <img width="398" alt="Screenshot 2023-04-12 at 09 13 08" src="https://user-images.githubusercontent.com/55143799/231411831-a36bbbdb-0c4c-445d-8986-569d392d40f8.png"> Closes #36 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:42 +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#735
No description provided.