Add separate WhatsApp Business templates for signature request and completion notifications
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Non sono indicati file né test. Inizia tracciando i percorsi delle notifiche WhatsApp Business di LibreSign per le richieste di firma e le firme completate, quindi valida entrambi i flussi con l’app TwoFactor Gateway e un account WhatsApp Business configurato. Il lavoro è completato quando ogni evento usa il proprio modello, i messaggi di completamento rispettano l’impostazione delle notifiche del firmatario e gli screenshot mostrano entrambi i messaggi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
LibreSign currently uses the same WhatsApp Business message template for different stages of the signing workflow. Signature requests and signature completion notifications have different purposes and recipients, so each event should use its own dedicated template.
To reproduce
- Enable WhatsApp Business notifications for LibreSign.
- Send a document to a recipient for signature.
- Verify the WhatsApp message received by the signer.
- Complete the signature process.
- Keep the notification for completed signatures enabled for the signer.
- Verify the WhatsApp message received after the signature is completed.
- Observe that the same WhatsApp Business template is currently being reused for both events, even though they represent different notification contexts.
Expected behavior
Add separate WhatsApp Business templates for signature request and completion notifications
To reproduce
- Enable WhatsApp Business notifications for LibreSign.
- Send a document to a recipient for signature.
- Verify the WhatsApp message received by the signer.
- Complete the signature process.
- Keep the notification for completed signatures enabled for the signer.
- Verify the WhatsApp message received after the signature is completed.
- Observe that the same WhatsApp Business template is currently being reused for both events, even though they represent different notification contexts.
Expected behavior
LibreSign should use two different WhatsApp Business templates:
-
Signature request template
- Sent to the person who must sign the document.
- Triggered when the document is sent for signature.
- The message must inform the recipient that a document is waiting for their signature and provide the signing link.
-
Signature completed template
- Sent to the signer after the signature process is successfully completed.
- It must only be sent when the signer has the corresponding completion notification enabled.
- The message must inform the signer that the document has been successfully signed.
Screenshots
Additional context
Additional context
To reproduce and validate this issue locally, the TwoFactor Gateway app must be installed and configured in the development environment.
A WhatsApp Business account must also be configured so the notification templates can be tested through the actual integration and both message flows can be validated locally.
When submitting the PR, please include screenshots of the implemented solution showing how both WhatsApp messages are received:
- The message requesting the recipient to sign the document.
- The message confirming that the document was signed successfully.
- Lingua principale
- PHP
- Stelle
- 818
- Fork
- 146
- Merge medio
- 6h 48m
- PR unite (30g)
- 622
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LibreSign/libresign
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
LibreSign/libresign#8284 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
backend enhancement php
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
backend enhancement php
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
backend php
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
frontend javascript
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di LibreSign/libresign
Issue simili
-
UX
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ProfessionalWiki/NeoWiki#1573 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno