Closed sarayourfriend closed 6 years ago
This doesn't happen. There was a mis-communication re: the actual problem. Opening a new ticket for it.
@marcondag I'll confirm this with product
@debtcollective/engineers this was confirmed by @dawn3296, we do need to remove all the notifications sent to the user when an admin edits the dispute form
My understanding based on our call just now:
Is that correct? If so, the title and acceptance criteria need to be rewritten.
I am confused by this because we definitely do not send a discourse message when an admin updates the form data, but I've heard Orlando and Dawn both say this?
Hello.. Regarding removing alerts. For emails to user and admin when the dispute tool form is edited. Should be removed.
For example, I change the $$$ of debt on form and save. No alert. If i fix a typo in collector address on form. No alert.
If i change status.... Yes alert... .....how every that works with discourse.
On Mon, Sep 3, 2018, 1:39 PM Orlando Del Aguila notifications@github.com wrote:
@debtcollective/engineers https://github.com/orgs/debtcollective/teams/engineers this was confirmed by @dawn3296 https://github.com/dawn3296, we do need to remove all the notifications sent to the user when an admin edits the dispute form
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/debtcollective/parent/issues/198#issuecomment-418190002, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao7wV3-IqeMqaAma2z72uZqZyqRHl0ntks5uXZORgaJpZM4WX65J .
I'm taking a look at this again and am still confused. Could another developer confirm this for me (@orlando @shoshber)?
The admin dispute form edit endpoint that gets hit routes to Admin/DisputesController#updateDisputeData
(/views/includes/disputes/information-form.pug:L5
). Then that controller method calls the Dispute.prototype.setForm
(/models/Dispute.js:L306
) function which does not send any messages. That controller method then saves the dispute and redirects the request to the admin/disputes/show
view.
Could this have been solved just by changing the way statuses were notified?
I'll check the code tomorrow morning, but if we are not sending anything, we can close this ticket
@orlando Did you get a chance to verify this?
@marcondag yes and you are right, there's no code for sending a message. I'll close this as invalid.
I didn't see a call to regenerate the zip files after we modify the Dispute either, is this happening somewhere else or we are not doing that when the admin modifies a dispute?
@dawn3296 You said:
For emails to user and admin when the dispute tool form is edited. Should be removed.
For example, I change the $$$ of debt on form and save. No alert. If i fix a typo in collector address on form. No alert.
We believe that alerts were not being sent in this scenario. Is that not correct?
Broken out from https://github.com/debtcollective/parent/issues/194
According to Dawn, most admin edits to the dispute forms are to correct typos. The member doesn't need to be notified of every change the admin makes. To remedy this, we'll just remove the code that makes the call to create the discourse message.
Tasks
Acceptance criteria