From 5a204947310378a6731208218879bc9ac552c920 Mon Sep 17 00:00:00 2001 From: Jindrich Susen Date: Tue, 19 Sep 2023 10:31:08 +0200 Subject: [PATCH 1/2] Child records were not updated after applying a filer --- .../entities/FormScreenLifecycle/FormScreenLifecycle.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/frontend-html/src/model/entities/FormScreenLifecycle/FormScreenLifecycle.tsx b/frontend-html/src/model/entities/FormScreenLifecycle/FormScreenLifecycle.tsx index 46a04d50e1..473632131d 100644 --- a/frontend-html/src/model/entities/FormScreenLifecycle/FormScreenLifecycle.tsx +++ b/frontend-html/src/model/entities/FormScreenLifecycle/FormScreenLifecycle.tsx @@ -724,7 +724,6 @@ export class FormScreenLifecycle02 implements IFormScreenLifecycle02 { yield*this.readFirstChunkOfRows({ rootDataView: rootDataView, preloadIsDirty: preloadIsDirty, - runChangeRowReaction: true }); } } @@ -879,7 +878,6 @@ export class FormScreenLifecycle02 implements IFormScreenLifecycle02 { *readFirstChunkOfRows(args: { rootDataView: IDataView, - runChangeRowReaction: boolean preloadIsDirty?: boolean }): any { const rootDataView = args.rootDataView; @@ -922,9 +920,7 @@ export class FormScreenLifecycle02 implements IFormScreenLifecycle02 { } rootDataView.restoreViewState(); } finally { - if(args.runChangeRowReaction){ - rootDataView.lifecycle.startSelectedRowReaction(!args.preloadIsDirty); - } + rootDataView.lifecycle.startSelectedRowReaction(!args.preloadIsDirty); this.monitor.inFlow--; } } @@ -968,8 +964,7 @@ export class FormScreenLifecycle02 implements IFormScreenLifecycle02 { do { this._readFirstChunkOfRowsScheduled = false; yield*this.readFirstChunkOfRows({ - rootDataView: rootDataView, - runChangeRowReaction: false + rootDataView: rootDataView }); } while (this._readFirstChunkOfRowsScheduled); } finally { From 0d923300487a71d311bbbe2f49fddae5375a0f04 Mon Sep 17 00:00:00 2001 From: Jindrich Susen Date: Tue, 19 Sep 2023 10:31:17 +0200 Subject: [PATCH 2/2] Readme updated --- frontend-html/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend-html/README.md b/frontend-html/README.md index d73df2fb47..47f6b7a01c 100644 --- a/frontend-html/README.md +++ b/frontend-html/README.md @@ -62,4 +62,14 @@ Try running it with the browser path specified: ```BROWSER=/usr/bin/firefox yarn start``` +#### Debug Constants +You can set these constants in the browser's local storage: + +`debugNoPolling` will prevent work queue refresh from running + +`debugNoPolling_notificationBox` will prevent notifications refresh from running + +`debugNoPolling_chatrooms` will prevent chat refresh from running + +