stable

Clone or download

Read-only

Toggle changeset

part of story #14897 see rendered html diff in artifact changes How to test: - toggle a text changeset => spinner is displayed, changeset is displayed after load - toggle several times the same changeset => the asynchronous request is only done once - forge backend and throw an error at changeset retrievement => error is displayed I didn't manage to spilt this patch in two, I had to use the new entry point to check that my entry point was correct. Change-Id: Ib05a4e09fac87ddff19a374b9a0f2db5da738d5e

Modified Files

Name
A plugins/tracker/include/Tracker/Artifact/Changeset/TextDiff/ChangesetsForDiff.php +68 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/TextDiff/ChangesetsForDiffRetriever.php +72 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/TextDiff/DiffProcessor.php +57 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/TextDiff/TextDiffRetriever.php +106 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/Text/FollowUpPresenter.php +14 −6 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php +2 −15 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue.class.php +0 −14 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_String.class.php +21 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Text.class.php +13 −41 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Null.class.php +1 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Followup_Item.class.php +2 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_PriorityHistoryChange.class.php +2 −3 Go to diff View file
M plugins/tracker/include/Tracker/Tracker_URL.class.php +2 −3 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +18 −1 Go to diff View file
M plugins/tracker/scripts/artifact/test-follow-up.test.ts +46 −3 Go to diff View file
M plugins/tracker/scripts/artifact/text-follow-up.ts +73 −11 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +13 −0 Go to diff View file
M plugins/tracker/templates/form-element/text/follow-up-content.mustache +11 −2 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Changeset/TextDiff/ChangesetsForDiffRetrieverTest.php +122 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Changeset/TextDiff/DiffProcessorTest.php +122 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Changeset/TextDiff/TextDiffRetrieverTest.php +291 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Tracker_Artifact_ChangesetValue_TextTest.php +0 −49 Go to diff View file
M plugins/tracker/themes/default/css/style.scss +4 −0 Go to diff View file