stable

Clone or download

Read-only

feat: Display artifact progress in tooltip

When a semantic progress is set on a tracker then the tooltip of the artifact always display the progress. If there is an error in progress computation (ex: remaining effort > initial effort) then an error is displayed to inform the user, like it is done in roadmap tooltip. If the progress is not configured, then no progress is displayed. Part of story #26777: have artifact tooltips on roadmap Change-Id: I51fccc97c7571c1c95b048599b04e276d2d7f92e

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Artifact.php +25 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/IComputeProgression.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/InvalidMethod.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/MethodBasedOnEffort.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/MethodBasedOnLinksCount.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/MethodNotConfigured.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgress.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Tooltip/OtherSemantic/ProgressTooltipEntry.php +53 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Tooltip/OtherSemanticTooltipEntryFetcher.php +28 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tooltip/TooltipFetcher.php +13 −0 Go to diff View file
A plugins/tracker/templates/tooltip/other-semantic/progress-tooltip-entry.mustache +13 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBasedOnLinksCountTest.php +1 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Tooltip/OtherSemantic/ProgressTooltipEntryTest.php +164 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Tooltip/TooltipFetcherTest.php +48 −0 Go to diff View file
M src/themes/BurningParrot/css/includes/_cross-ref-tooltip.scss +4 −0 Go to diff View file
M src/themes/FlamingParrot/css/utils/_cross-ref-tooltip.scss +4 −0 Go to diff View file