stable

Clone or download

Read-only

feat: Convert admin tooltip to BurningParrot

Apart the burningparrotification of the page, here are the main changes: - Now the semantics that are displayed in the tooltip are in the table next to the fields. Since those will be displayed together in the tooltip, it make sense to regroup them in the admin interface (instead of having an alert + table) - Now the selector does not display optgroups for empty containers. Detection of remaining fields to be added is not broken anymore. In order to do this fetchAddTooltip() is not used so that we have a better control and we don't inject anymore stuff in triple mustaches. Part of story #26777: have artifact tooltips on roadmap Change-Id: I223ce7b5e84951cc3b143867855530227a943bf1

Modified Files

Name
M plugins/testmanagement/include/TestManagement/Step/Definition/Field/StepDefinition.php +5 −0 Go to diff View file
M plugins/testmanagement/include/TestManagement/Step/Execution/Field/StepExecution.php +5 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/RetrieveFormElementsForTracker.php +32 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.php +5 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Tooltip/SelectOptgroup.php +38 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Tooltip/SelectOption.php +35 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Tooltip/SelectOptionsBuilder.php +88 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Tooltip/SelectOptionsRoot.php +39 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tooltip/SemanticTooltip.php +13 −10 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tooltip/SemanticTooltipAdminPresenter.php +5 −10 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +2 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +38 −24 Go to diff View file
M plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po +31 −18 Go to diff View file
M plugins/tracker/templates/semantics/admin-tooltip.mustache +150 −64 Go to diff View file
A plugins/tracker/tests/unit/Stub/Tracker/FormElement/RetrieveFormElementsForTrackerStub.php +47 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Tooltip/SelectOptionsBuilderTest.php +252 −0 Go to diff View file
M plugins/tracker/themes/BurningParrot/css/includes/_semantics.scss +8 −0 Go to diff View file
M plugins/tracker/themes/default/css/style.scss +0 −4 Go to diff View file