Skip to content

Commit

Permalink
move PreliminaryEstimate editor fix into ancestor in-line filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrjo committed Oct 18, 2018
1 parent bb57b3a commit 27c7037
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 36 deletions.
10 changes: 5 additions & 5 deletions deploy/Ugly.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "custom-grid-with-deep-export",
"version": "1.2.9",
"version": "1.2.10",
"scripts": {
"debug": "grunt debug",
"debug:watch": "nodemon --exec grunt debug",
Expand All @@ -9,7 +9,7 @@
"deploy-debugsdk:watch": "nodemon --exec grunt deploy-debugsdk"
},
"dependencies": {
"@agile-central-technical-services/utils-ancestor-pi-inline-filter": "^1.0.10",
"@agile-central-technical-services/utils-ancestor-pi-inline-filter": "^1.0.11",
"@agile-central-technical-services/utils-shared-views": "^1.0.2"
},
"devDependencies": {
Expand Down
26 changes: 0 additions & 26 deletions src/javascript/utils/overrides.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
// Fix the PreliminaryEstimate renderer to sort by value
Rally.ui.renderer.GridEditorFactory.editorRenderers['PreliminaryEstimate'] = function(field) {
return {
xtype: 'rallyrecordcontexteditor',
field: {
xtype: 'rallycombobox',
allowNoEntry: !field.required,
editable: false,
name: field.name,
storeConfig: {
autoLoad: true,
model: field.name,
remoteFilter: true,
sorters: [{
property: "Value"
}],
listeners: {
load: function() {
return;
}
}
}
}
};
};

// Remove 'Actuals' from the blacklist
Ext.override(Rally.ui.gridboard.plugin.GridBoardFieldPicker, {
gridFieldBlackList: [
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# yarn lockfile v1


"@agile-central-technical-services/utils-ancestor-pi-inline-filter@^1.0.10":
version "1.0.10"
resolved "https://registry.yarnpkg.com/@agile-central-technical-services/utils-ancestor-pi-inline-filter/-/utils-ancestor-pi-inline-filter-1.0.10.tgz#1d7526d2ce796192c27e31266b33057a244306d9"
"@agile-central-technical-services/utils-ancestor-pi-inline-filter@^1.0.11":
version "1.0.11"
resolved "https://registry.yarnpkg.com/@agile-central-technical-services/utils-ancestor-pi-inline-filter/-/utils-ancestor-pi-inline-filter-1.0.11.tgz#706d73bcc31eae70e6b29ad44c315a4170980ca6"

"@agile-central-technical-services/utils-shared-views@^1.0.2":
version "1.0.2"
Expand Down

0 comments on commit 27c7037

Please sign in to comment.