Add "Send Confirmation" feature for envelope sending

Introduced a "Send Confirmation" popup to improve user experience
when sending envelopes. The popup allows users to review recipients,
signature fields, and settings before confirming the send action.

- Added localized strings in `Resource.de-DE.resx`, `Resource.en-US.resx`,
  and `Resource.fr-FR.resx` for confirmation messages and actions.
- Updated `SenderEditorPage.razor` to include the confirmation popup
  (`DxPopup`) with body and footer templates.
- Added `RequestSendAsync` and `ConfirmSendAsync` methods to manage
  the confirmation process and sending logic.
- Replaced the old success popup logic with direct navigation to the
  sender dashboard after a successful send.
- Updated the toolbar button to trigger the confirmation popup.
- Styled the confirmation popup in `envelope-viewer.css`, including
  support for dark themes.
- Ensured proper state management for the popup and sending process.

These changes enhance usability by providing a clear confirmation
step and progress feedback during envelope sending.
This commit is contained in:
2026-11-11 16:17:34 +01:00
parent 47c4f33dfc
commit 31933f5568
5 changed files with 152 additions and 8 deletions

View File

@@ -2103,3 +2103,61 @@ body.resizing {
gap: 0.5rem;
justify-content: flex-end;
}
.sender-confirm-popup--send {
padding: 0.5rem 0.25rem;
}
.sender-confirm-popup--send .sender-confirm-popup__note {
margin: 0;
text-align: center;
}
.sender-confirm-popup__title {
margin: 0 0 0.4rem;
font-size: 1.02rem;
font-weight: 600;
color: #0f172a;
}
.sender-confirm-popup__note {
margin: 0 0 1rem;
font-size: 0.84rem;
color: #475569;
}
.sender-send-progress {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem 0.25rem;
}
.sender-send-progress__spinner {
width: 1.15rem;
height: 1.15rem;
color: #2563eb;
}
.sender-send-progress__title {
margin: 0 0 0.2rem;
font-size: 0.95rem;
font-weight: 600;
color: #0f172a;
}
.sender-send-progress__hint {
margin: 0;
font-size: 0.83rem;
color: #475569;
}
[data-sf-theme="blazing-dark"] .sender-confirm-popup__title,
[data-sf-theme="blazing-dark"] .sender-send-progress__title {
color: #e2e8f0;
}
[data-sf-theme="blazing-dark"] .sender-confirm-popup__note,
[data-sf-theme="blazing-dark"] .sender-send-progress__hint {
color: #94a3b8;
}