stable

Clone or download

Read-only

Display activities in Heartbeat widget

Part of story #10334: Widget Heartbeat - artifacts When the dashboard is displayed, an xhr call is made to retrieve latest activities of the current project. * During this call a spinner is displayed. * If the call doesn't succeed then an error message is displayed. * If there isn't any activies then the empty state is displayed. * Activities are displayed in inverse chronological order. * The relative time is displayed next to each items. Grouping of activities (today/yesterday/recently) will be done later. Change-Id: I95b4f07e779c83445bbb39bd5d59b4538b792b36

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/LatestHeartbeatsCollector.php +63 −7 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +5 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +2 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +16 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +16 −0 Go to diff View file
M plugins/tracker/tests/Tracker/Artifact/LatestHeartbeatsCollectorTest.php +2 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +4 −1 Go to diff View file
M site-content/tuleap-core.pot +3 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetPresenter.php +2 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/project/HeartbeatsEntry.php +5 −72 Go to diff View file
M src/common/project/REST/HeartbeatsEntryRepresentation.php +2 −33 Go to diff View file
M src/common/widget/ProjectHeartbeat.php +9 −5 Go to diff View file
A src/common/widget/ProjectHeartbeatPresenter.php +46 −0 Go to diff View file
M src/templates/dashboard/widgets.mustache +1 −0 Go to diff View file
M src/templates/widgets/project-heartbeat.mustache +38 −3 Go to diff View file
M src/www/scripts/dashboards/dashboard.js +2 −0 Go to diff View file
A src/www/scripts/dashboards/widgets/project-heartbeat.js +84 −0 Go to diff View file
M src/www/scripts/package.json +1 −0 Go to diff View file
M src/www/themes/BurningParrot/css/includes/widgets/heartbeat.scss +102 −2 Go to diff View file