Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Default RowStatesDebouncingDelayMilliseconds set to 0 2022.4 #1869

Merged
merged 1 commit into from Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/Origam.Server/Configuration/HtmlClientConfig.cs
Expand Up @@ -3,6 +3,6 @@
public class HtmlClientConfig
{
public bool ShowToolTipsForMemoFieldsOnly { get; set; }
public int RowStatesDebouncingDelayMilliseconds { get; set; } = 200;
public int RowStatesDebouncingDelayMilliseconds { get; set; }
}
}
2 changes: 1 addition & 1 deletion backend/Origam.Server/TemplateFiles/_appsettings.json
Expand Up @@ -142,7 +142,7 @@
},
"HtmlClientConfig":{
"ShowToolTipsForMemoFieldsOnly" : "false",
"RowStatesDebouncingDelayMilliseconds": 200
"RowStatesDebouncingDelayMilliseconds": 0
},
"Logging": {
"LogLevel": {
Expand Down
2 changes: 1 addition & 1 deletion frontend-html/src/model/entities/RowState.ts
Expand Up @@ -45,7 +45,7 @@ export class RowState implements IRowState {
constructor(debouncingDelayMilliseconds?: number) {
this.triggerLoadDebounced = _.debounce(
this.triggerLoadImm,
debouncingDelayMilliseconds == undefined ? 200 : debouncingDelayMilliseconds);
debouncingDelayMilliseconds == undefined ? 0 : debouncingDelayMilliseconds);
visibleRowsChanged.subscribe((visibleRows) => {
const dataSource = getDataSource(this);
if (!visibleRows || dataSource.identifier !== visibleRows.dataSourceId) {
Expand Down