Closed Bug 1500871 Opened Last year Closed 8 months ago

[Translate.Next] Add support for status notifications

Categories

(Webtools :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian, Mentored)

Details

Attachments

(1 file)

When performing actions (for example, suggesting a new translation), the Translate page will report the success or failure of the operation in a notification at the bottom of the page. We need to implement that.

Also make sure that we add some try / catch blocks around our API calls and show some errors to the user:
https://github.com/mozilla/pontoon/pull/1167#discussion_r253388762

Implementation note:

Some notifications (e.g. file upload success message) are sent to the translate view via the messages framework:
https://docs.djangoproject.com/en/2.1/ref/contrib/messages/

Assignee: nobody → adrian
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.