querysub 0.400.0 → 0.401.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/0-path-value-core/PathValueController.ts +0 -3
- package/src/0-path-value-core/pathValueCore.ts +1 -7
- package/src/diagnostics/logs/errorNotifications2/ErrorNotificationPage.tsx +1 -1
- package/src/diagnostics/logs/lifeCycleAnalysis/LifeCycleEntryEditor.tsx +1 -1
- package/src/diagnostics/logs/lifeCycleAnalysis/LifeCycleInstanceTableView.tsx +6 -5
- package/src/diagnostics/logs/lifeCycleAnalysis/lifeCycleSearch.tsx +7 -1
package/package.json
CHANGED
|
@@ -87,9 +87,6 @@ class PathValueControllerBase {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
console.info("Received PathValues via forwardWrites", { valueCount: values.length, callerId, });
|
|
90
|
-
for (let value of values) {
|
|
91
|
-
console.info("Received PathValue for path", { path: value.path, time: value.time.time, callerId });
|
|
92
|
-
}
|
|
93
90
|
|
|
94
91
|
if (isCoreQuiet) {
|
|
95
92
|
await pathValueCommitter.ingestRemoteValues({
|
|
@@ -1567,11 +1567,6 @@ class PathWatcher {
|
|
|
1567
1567
|
callback(changes, parentPaths ?? []);
|
|
1568
1568
|
}
|
|
1569
1569
|
} else {
|
|
1570
|
-
if (isDiskAudit()) {
|
|
1571
|
-
for (let change of changes) {
|
|
1572
|
-
auditLog("non-local TRIGGER", { path: change.path, time: change.time.time, watcher });
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
1570
|
if (!isCoreQuiet) {
|
|
1576
1571
|
console.log(`(${Date.now()}) Sending values to client: ${changes.length} (${watcher})`);
|
|
1577
1572
|
}
|
|
@@ -1584,9 +1579,8 @@ class PathWatcher {
|
|
|
1584
1579
|
stripSource: !allowSource,
|
|
1585
1580
|
});
|
|
1586
1581
|
|
|
1587
|
-
if (
|
|
1582
|
+
if (isDiskAudit()) {
|
|
1588
1583
|
for (let pathValue of changes) {
|
|
1589
|
-
|
|
1590
1584
|
auditLog("SEND VALUE", { path: pathValue.path, time: pathValue.time.time, watcher, nodeId: debugNodeId(watcher), transparent: pathValue.isTransparent, canGC: pathValue.canGCValue });
|
|
1591
1585
|
}
|
|
1592
1586
|
}
|
|
@@ -426,7 +426,7 @@ class SuppressionItem extends qreact.Component<{
|
|
|
426
426
|
<Button
|
|
427
427
|
hue={0}
|
|
428
428
|
onClick={() => {
|
|
429
|
-
if (!confirm(`Delete this suppression?`)) return;
|
|
429
|
+
if (!confirm(`Delete this suppression "${suppression.pattern}"?`)) return;
|
|
430
430
|
|
|
431
431
|
Querysub.onCommitFinished(async () => {
|
|
432
432
|
await this.manager.deleteSuppression(suppression.id);
|
|
@@ -57,7 +57,7 @@ export class LifeCycleEntryEditor extends qreact.Component<{
|
|
|
57
57
|
<Button
|
|
58
58
|
hue={0}
|
|
59
59
|
onClick={() => {
|
|
60
|
-
if (!confirm(
|
|
60
|
+
if (!confirm(`Delete this entry "${entry.matchPattern}"?`)) return;
|
|
61
61
|
|
|
62
62
|
let updatedLifeCycle = deepCloneJSON(lifeCycle);
|
|
63
63
|
updatedLifeCycle.entries.splice(entryIndex, 1);
|
|
@@ -18,11 +18,12 @@ export class LifeCycleInstanceTableView extends qreact.Component<{
|
|
|
18
18
|
let entry = lifeCycle.entries.find(e => e.matchPattern === entryData.matchPattern);
|
|
19
19
|
if (!entry) continue;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
for (let
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
// ONLY variables, as the group by values will be the same for all entries in this instance!
|
|
22
|
+
for (let [key, value] of Object.entries(entry.variables)) {
|
|
23
|
+
let title = value.title || key;
|
|
24
|
+
allColumnKeys.add(key);
|
|
25
|
+
if (!columnKeyToTitle.has(key)) {
|
|
26
|
+
columnKeyToTitle.set(key, title);
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -564,7 +564,13 @@ export function createLifeCycleSearch(
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
-
|
|
567
|
+
let range = Querysub.localRead(() => getTimeRange());
|
|
568
|
+
|
|
569
|
+
if (range.searchFromStart) {
|
|
570
|
+
sort(allInstances, x => x.startTime);
|
|
571
|
+
} else {
|
|
572
|
+
sort(allInstances, x => -x.startTime);
|
|
573
|
+
}
|
|
568
574
|
|
|
569
575
|
return allInstances;
|
|
570
576
|
};
|