Skip to content

Commit 098422a

Browse files
authored
Incorporate settleTime breaking change (#766)
1 parent 04f81c1 commit 098422a

4 files changed

Lines changed: 2 additions & 11 deletions

File tree

client-app/src/admin/tests/viewmanager/ViewManagerTestModel.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export class ViewManagerTestModel extends HoistModel {
104104
{name: 'enableAutoSave', initialValue: true},
105105
{name: 'enableDefault', initialValue: true},
106106
{name: 'initialViewName', initialValue: null},
107-
{name: 'settleTime', initialValue: 1000},
108107
{name: 'showSaveButton', initialValue: 'whenDirty'},
109108
{name: 'showRevertButton', initialValue: 'never'},
110109
{name: 'buttonSide', initialValue: 'right'},
@@ -135,8 +134,7 @@ export class ViewManagerTestModel extends HoistModel {
135134
enableSharing,
136135
enableDefault,
137136
enableAutoSave,
138-
initialViewName,
139-
settleTime
137+
initialViewName
140138
} = data;
141139

142140
const newModel = await ViewManagerModel.createAsync({
@@ -149,7 +147,6 @@ export class ViewManagerTestModel extends HoistModel {
149147
enableSharing,
150148
enableDefault,
151149
enableAutoSave,
152-
settleTime,
153150
initialViewSpec: views => views.find(v => v.name == initialViewName) ?? views[0]
154151
});
155152

client-app/src/admin/tests/viewmanager/ViewManagerTestPanel.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {panel} from '@xh/hoist/desktop/cmp/panel';
1313
import {toolbar} from '@xh/hoist/desktop/cmp/toolbar';
1414
import {viewManager} from '@xh/hoist/desktop/cmp/viewmanager';
1515
import {Icon} from '@xh/hoist/icon';
16-
import {numberInput} from '@xh/hoist/desktop/cmp/input';
1716
import {get, isEqual} from 'lodash';
1817
import {sampleGrid} from '../../../desktop/common';
1918
import {ViewManagerTestModel} from './ViewManagerTestModel';
@@ -146,10 +145,6 @@ const modelConfig = hoistCmp.factory({
146145
field: 'initialViewName',
147146
item: textInput({enableClear: true})
148147
}),
149-
formField({
150-
field: 'settleTime',
151-
item: numberInput()
152-
}),
153148
hbox(
154149
vbox(
155150
formField({

client-app/src/examples/portfolio/AppModel.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export class AppModel extends BaseAppModel {
2121
type: 'portfolioLayout',
2222
typeDisplayName: 'Layout',
2323
enableDefault: true,
24-
settleTime: 1500,
2524
manageGlobal: XH.getUser().isHoistAdmin
2625
});
2726

client-app/src/examples/portfolio/detail/DetailModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class DetailModel extends HoistModel {
3737

3838
this.dashModel = new DashContainerModel({
3939
showMenuButton: true,
40-
persistWith: {...persistWith, path: 'detailDash'},
40+
persistWith: {...persistWith, path: 'detailDash', settleTime: 1500},
4141
viewSpecs: [
4242
{
4343
id: 'orders',

0 commit comments

Comments
 (0)