Skip to content

feat(esign): delete finished signature requests - #118

Merged
lorenzocorallo merged 1 commit into
mainfrom
t3/add-delete-action
Oct 17, 2026
Merged

lorenzocorallo merged 1 commit into
mainfrom
t3/add-delete-action

Conversation

@lorenzocorallo

Copy link
Copy Markdown
Member

Adds a Delete request action to the request page. Before this, a completed request had no way to be removed.

  • Shown to esign:requests:manage users on completed, cancelled and declined requests. An in-progress request still shows Cancel request and must be cancelled first. Hidden while a delivery is pending.
  • The ConfirmDialog warns that signers, activity and every document version are deleted too. It suggests downloading the PDF first, or says the OneDrive copy stays when there is one.
  • New deleteEsignRequest server function behind esignRequestsManageMiddleware, calling esign.requests.delete from feat(esign): let managers delete finished requests backend#82 (bumps @polinetwork/backend to 1.11.0). Listed in tests/server-security.test.mjs.
  • After the delete it goes to the requests list, then runs router.invalidate({ sync: true }). A NOT_FOUND is treated as already deleted.

pnpm check, pnpm typecheck, pnpm test and pnpm build pass. Not checked in a running app: no local backend was available.

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c0d4ecd7-affe-46fa-9d42-20cf0d6fd9f2
📥 Commits

Reviewing files that changed from the base of the PR and between d20b660 and 70494de.

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 4
  • package.json
  • src/features/esign/request-page.tsx
  • src/features/esign/requests.functions.ts
  • tests/server-security.test.mjs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Managers get a Delete request action on a completed, cancelled or
declined request, through the backend's new esign.requests.delete
(@polinetwork/backend 1.11.0). In-progress requests are cancelled first,
and a pending delivery hides the action. After deleting, the page goes
back to the requests list before reloading the loaders, since reloading
the detail page would look the deleted request up again.
@lorenzocorallo
lorenzocorallo merged commit 039e0eb into main Oct 17, 2026
2 checks passed
@lorenzocorallo
lorenzocorallo deleted the t3/add-delete-action branch October 17, 2026 17:36
BIA3IA pushed a commit that referenced this pull request Oct 20, 2026
Managers get a Delete request action on a completed, cancelled or
declined request, through the backend's new esign.requests.delete
(@polinetwork/backend 1.11.0). In-progress requests are cancelled first,
and a pending delivery hides the action. After deleting, the page goes
back to the requests list before reloading the loaders, since reloading
the detail page would look the deleted request up again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant