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

RESOLVED FIXED

Status

enhancement
P1
normal
RESOLVED FIXED
10 months ago
5 months ago

People

(Reporter: adrian, Assigned: mathjazz, Mentored)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.