stable

Clone or download

Read-only

distinguish no activity at all and no activity user can see

Part of story #10334: Widget Heartbeat - artifacts For a better user experience, user should see a message saying that there is no activity yet on a new project, not a permissions related message. This commit enhances the route to let the client decide what relevant message have to be displayed. Change-Id: I8f429fd482dcc718b59523dd844da504bf02ea2d

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/LatestHeartbeatsCollector.php +1 −0 Go to diff View file
M plugins/tracker/tests/Tracker/Artifact/LatestHeartbeatsCollectorTest.php +8 −0 Go to diff View file
M src/common/project/HeartbeatsEntryCollection.php +20 −0 Go to diff View file
M src/common/project/REST/HeartbeatsRepresentation.php +10 −2 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +1 −1 Go to diff View file