Closed Bug 1490343 Opened 2 years ago Closed 1 year ago

[Translate.Next] Add "show diff" option in History tab

Categories

(Webtools :: Pontoon, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: mathjazz, Mentored)

References

Details

Attachments

(1 file)

In the History tab, for each translation after the first one, there should be a "show diff" action button. When clicked, it replaces the translation content with a diff of that translation versus the currently active translation, and the button changes to "hide diff".

This behavior is currently implemented in the existing translate app and should work exactly the same.

Current implementation code: search for "toggle-diff" in https://github.com/mozilla/pontoon/blob/master/pontoon/base/static/js/translate.js

New implementation should probably go into https://github.com/mozilla/pontoon/tree/master/frontend/src/modules/history
Priority: P3 → P1
Assignee: nobody → m
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.