Skip to content

Commit f263b23

Browse files
authored
Merge pull request #28 from RallyTechServices/savedViews
saved views
2 parents 7abd49a + 45b87bb commit f263b23

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = function(grunt) {
1414
config = grunt.file.readJSON(config_file_name);
1515

1616
if ( config.javascript ) {
17-
config.js_files = config.javascript;
17+
config.js_files = grunt.file.expand(config.javascript);
1818
} else {
1919
config.js_files = grunt.file.expand(['src/javascript/utils/*.js','src/javascript/*.js']);
2020
}

config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
"className": "custom-grid-with-deep-export",
44
"server": "https://rally1.rallydev.com",
55
"sdk": "2.1",
6-
"apiKey": "_PUT_APIKEY_HERE_"
6+
"apiKey": "_PUT_APIKEY_HERE_",
7+
"javascript": [
8+
"node_modules/@agile-central-technical-services/utils-shared-views/index.js",
9+
"src/javascript/utils/*.js",
10+
"src/javascript/*.js"
11+
]
712
}

deploy/Ugly.txt

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "custom-grid-with-deep-export",
3-
"version": "1.2.1-1",
3+
"version": "1.2.1-2",
44
"scripts": {
55
"debug": "grunt debug",
66
"debug:watch": "nodemon --exec grunt debug",

src/javascript/app.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ Ext.define("custom-grid-with-deep-export", {
128128
buttonConfig: {
129129
iconCls: 'icon-export'
130130
}
131+
},
132+
{
133+
ptype: 'rallygridboardsharedviewcontrol',
134+
stateful: true,
135+
stateId: this.getContext().getScopedStateId('shared-views')
131136
}
132137
],
133138
cardBoardConfig: {

0 commit comments

Comments
 (0)