keeleinstituut / tv-tolkevarav

Tõlkevärav (Translation Hub)
1 stars 0 forks source link

Sending notifications (BE) #395

Open MariusJulius opened 1 year ago

MariusJulius commented 1 year ago

Wiki

Notifcation events combined from wiki subchapters: https://pundar.atlassian.net/wiki/spaces/TLKEV/pages/2135457833/Notifications Ask credentials from Marius.

To-do:

MariusJulius commented 9 months ago

@thenouan this also needs some troubleshooting why notifications are not received.

MariusJulius commented 9 months ago

Working in general, haven't tested all the cases.

plakitkelly commented 9 months ago

Message reference - Result 17 - ok 18 - ok: 1 - ok 2 - PM: ok, client: ok 3 - PM: ok, client: ok 4 - NOT OK (${vendorName} is missing from e-mail. (Tere, Testin teavitust! võttis ülesande nr LOL-2024-03-T-402-af-ZAar-EG-1/1.1 (Tõlkimine) vastu. Parimate soovidega Tõlkevärava meeskond)) 16 - NOT OK (${vendorName} is missing from e-mail. (Tere, Testin teavitust! võttis ülesande nr LOL-2024-03-T-402-af-ZAar-EG-1/1.1 (Tõlkimine) vastu. Parimate soovidega Tõlkevärava meeskond) 5 - vendor marks done: ok, pm marks done: ok 15 - vendor marks done: ok, pm marks done: ok 6 - ok 7 - ok 8 - PM: ok, client: ok 9 - PM: ok, client: ok 11 - ok 12 NOT OK (${projectID} is not replaced in e-mail. (Tere, Test Tellijakolm! Tellimus nr ${projectID} on valmis. Parimate soovidega Tõlkevärava meeskond) AND the client didn't get a notification when the project has been corrected) 13 - NOT OK (Didn't get a notification)

10 - ok (e-mails will be sent on the next full hour) 14 -NOT OK (Didn't get a notification)

plakitkelly commented 9 months ago

I think I found the problem with 4 and 16 image I have 2 tasks and 2 different vendors. One vendor has assigned a business name. I think there should be vendor name not business name.

plakitkelly commented 9 months ago

The translation manager and the client will receive a notification that the project has been canceled, if the project's sub-project(s) had vendors assigned, they will receive the cancellation message as well

Currently vendor doesn't receive a notification

kadmit commented 8 months ago

I created PRs with the fixes for everything except messages 13 and 14. I tried to debug them locally, and they are working as intended. It seems that the places we need to check on the server are

MariusJulius commented 6 months ago

Nele tested in live project creation and notification was not sent. Need to verify production issues as well.

plakitkelly commented 5 months ago

The translation manager and the client will receive a notification that the project has been canceled, if the project's sub-project(s) had vendors assigned, they will receive the cancellation message as well

Vendor still doesn't get the notification but PM and client both received 3 e-mails at the same time.

Another problem is that when I canceled the project in eki I got a server error in eki and still shows the project with status in progress even though the emails were already sent out.

plakitkelly commented 5 months ago
  1. Create new project
  2. Assign the vendor
  3. Accept as vendor
  4. Cancel as PM or Client
  5. User gets an error "Server Error"
  6. Cancellation e-mails are sent to client (3) and PM (3) (total 6 emails)
MariusJulius commented 2 months ago

Feeback from the client: Most of the notifications are moving, but it seems that the job assignment notification to the vendor email is stuck somewhere for now. Previously, vendors added to the sub-order received a notification that they were assigned work when the PM/manager clicked on the "Send sub-order to contractors" button, today the vendor e-mail only receives notifications of task acceptance and completion. Could this be some kind of temporary issue or could there be a concern on our side somewhere?