Commit ef3a949
feat: add confirmation dialogs for signature requests
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>1 parent 4315ba4 commit ef3a949
1 file changed
Lines changed: 54 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
137 | 175 | | |
138 | 176 | | |
139 | 177 | | |
| |||
241 | 279 | | |
242 | 280 | | |
243 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
244 | 285 | | |
245 | 286 | | |
246 | 287 | | |
| |||
518 | 559 | | |
519 | 560 | | |
520 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
521 | 568 | | |
522 | 569 | | |
523 | 570 | | |
524 | 571 | | |
525 | | - | |
| 572 | + | |
526 | 573 | | |
527 | 574 | | |
528 | 575 | | |
| |||
532 | 579 | | |
533 | 580 | | |
534 | 581 | | |
| 582 | + | |
| 583 | + | |
535 | 584 | | |
536 | 585 | | |
537 | 586 | | |
| |||
572 | 621 | | |
573 | 622 | | |
574 | 623 | | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
575 | 627 | | |
576 | 628 | | |
577 | 629 | | |
578 | 630 | | |
| 631 | + | |
579 | 632 | | |
580 | 633 | | |
581 | 634 | | |
| |||
0 commit comments