Skip to content

[stable32] feat: improve signature request confirmation#6180

Merged
vitormattos merged 2 commits intostable32from
backport/6178/stable32
Dec 13, 2025
Merged

[stable32] feat: improve signature request confirmation#6180
vitormattos merged 2 commits intostable32from
backport/6178/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6178

The button in the signature positions modal now always shows 'Save'
instead of conditionally showing 'Send' or 'Save' based on draft status.

Changes:
- Button always calls save() method without changing status
- Removed confirmation dialog (showConfirm) from VisibleElements
- Removed request() method that was changing status to ABLE_TO_SIGN
- Removed unused Send icon component import
- Simplified button logic by removing isDraft condition

This improves UX by making the modal's purpose clear: it's for
positioning signatures, not for requesting them.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Added confirmation dialogs before sending signature requests to improve
user awareness and prevent accidental submissions.

Changes:
- Added confirmation dialog for global 'Request signatures' button
- Added confirmation dialog for individual signer 'Request signature' action
- Created confirmRequest() and confirmRequestSigner() methods
- Added state management: showConfirmRequest, showConfirmRequestSigner, selectedSigner
- Modified request() to show confirmation instead of directly executing
- Modified requestSignatureForSigner() to show confirmation and store selected signer

The confirmation dialogs use NcDialog with @closing event for proper
closing behavior when user clicks X, ESC, or Cancel button.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 13, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Dec 13, 2025
@vitormattos vitormattos merged commit 9ba325f into stable32 Dec 13, 2025
56 checks passed
@vitormattos vitormattos deleted the backport/6178/stable32 branch December 13, 2025 20:18
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant