stable
Clone or download
Read-only
This is part of story #17180 take into account gitlab commits This patch aims to cut xRefs in two sections "referencing :art" and "referenced by :art". For the moment, you can't show/hide "referenced by :art" section (that will be the goal of next patch). How to test! - Have an artifact with some cross references Expect results: - Go to artifact view - "Referencing" section shows all artifacts referencing this art - "Referenced by" section shows all artifacts that this art references - There are no more both cross refs (it's now a cross ref in "referencing" and "referenced by" section) - You can still delete a cross ref Change-Id: I2cf543fab6fc6856c53296f7dfad0e4975925bb8
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/FormElement/Field/CrossReference/CrossReferenceFieldRenderer.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/View/Reference/CrossReferenceByNaturePresenterBuilder.php | +0 | −7 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/View/Reference/CrossReferenceFieldPresenter.php | +32 | −10 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/View/Reference/CrossReferenceFieldPresenterBuilder.php | +19 | −6 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/View/Reference/CrossReferenceLinkListPresenterBuilder.php | +2 | −12 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +9 | −9 | Go to diff View file |
M | plugins/tracker/templates/form-element/reference/cross_reference.mustache | +42 | −56 | Go to diff View file |
A | plugins/tracker/templates/form-element/reference/cross_reference_section.mustache | +25 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/FormElement/View/Reference/CrossReferenceByNaturePresenterBuilderTest.php | +2 | −41 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/FormElement/View/Reference/CrossReferenceFieldPresenterBuilderTest.php | +80 | −14 | Go to diff View file |
A | src/common/reference/CrossReferenceByDirectionCollection.php | +191 | −0 | Go to diff View file |
M | src/common/reference/CrossReferenceFactory.class.php | +10 | −0 | Go to diff View file |