stable

Clone or download

Read-only

Display user info as tooltip on @mentions

If you @mention someone in a wiki page or in an artifact field, then when you hover the link, there should be a tooltip displaying basic information about the user. This works both on FlamingParrot and BurningParrot pages. For BurningParrot, you can add a renderer as a widget on project dashboard, with the artifact fields as a column. Part of request #14905: Have sexier cross reference tooltip Change-Id: Ic18ce86e81ba5ad6c35f7191bc8c6a9b8d7053f5

Modified Files

Name
M src/common/Request/RouteCollector.php +14 −1 Go to diff View file
A src/common/User/Profile/ProfileAsJSONForTooltipController.php +80 −0 Go to diff View file
M src/common/User/Profile/ProfileController.php +16 −2 Go to diff View file
A src/common/User/Profile/tooltip-body.mustache +12 −0 Go to diff View file
A src/common/User/Profile/tooltip-title.mustache +9 −0 Go to diff View file
A src/common/layout/TooltipJSON.php +41 −0 Go to diff View file
M src/common/reference/ReferenceManager.class.php +1 −1 Go to diff View file
M src/scripts/codendi/Tooltip.js +25 −2 Go to diff View file
M src/themes/BurningParrot/css/includes/_cross-ref-tooltip.scss +59 −1 Go to diff View file
M src/themes/FlamingParrot/css/utils/_cross-ref-tooltip.scss +56 −0 Go to diff View file
M tests/unit/common/Reference/ReferenceManagerTest.php +5 −5 Go to diff View file
A tests/unit/common/User/Profile/ProfileAsJSONForTooltipControllerTest.php +117 −0 Go to diff View file