forked from Echo3ToEcho7/app-catalog
-
Notifications
You must be signed in to change notification settings - Fork 192
/
RecentActivityApp.js
38 lines (32 loc) · 1.21 KB
/
RecentActivityApp.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(function() {
var Ext = window.Ext4 || window.Ext;
Ext.define('Rally.apps.recentactivity.RecentActivityApp', {
extend: 'Rally.app.App',
requires: [
'Rally.ui.discussion.DiscussionRichTextStreamView',
'Rally.clientmetrics.ClientMetricsRecordable'
],
mixins: ['Rally.clientmetrics.ClientMetricsRecordable'],
appName: 'Recent Activity',
launch: function() {
this.add({
xtype: 'rallydiscussionrichtextstreamview',
emptyText: '<div class="no-data">' +
' <p>Once your team starts working, this app will keep you informed of active discussions.</p>' +
'</div>',
storeConfig: {
context: this.getContext().getDataContext()
},
listeners: {
refresh: function(){
this.fireEvent('contentupdated', {dashboardLayout: false});
},
ready: function() {
this.recordComponentReady();
},
scope: this
}
});
}
});
})();