querysub 0.482.0 → 0.484.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
CHANGED
|
@@ -390,6 +390,7 @@ class ValidStateComputer {
|
|
|
390
390
|
|
|
391
391
|
for (let pathValue of valueGroup) {
|
|
392
392
|
let prevValidState = prevValidStates.get(pathValue);
|
|
393
|
+
/* We used to log these values until 2026 June 28th 6:30 am
|
|
393
394
|
if (valid && prevValidState === false) {
|
|
394
395
|
console.info(`Accepting value that was previously rejected`, {
|
|
395
396
|
path: pathValue.path,
|
|
@@ -404,10 +405,28 @@ class ValidStateComputer {
|
|
|
404
405
|
timeIdFull: pathValue.time,
|
|
405
406
|
});
|
|
406
407
|
}
|
|
407
|
-
|
|
408
|
+
if (valid === false && prevValidState === true) {
|
|
409
|
+
console.info(`Rejecting value that was valid before`, {
|
|
410
|
+
path: pathValue.path,
|
|
411
|
+
timeId: pathValue.time.time,
|
|
412
|
+
timeIdFull: pathValue.time,
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
*/
|
|
408
416
|
// IMPORTANT! This means if it didn't previously exist and it's presently rejected, we count that as a change, as it this is going from undefined to false. This is actually very useful, as a lot of places want to know if a write is rejected, so they can display it in the UI for the developer.
|
|
409
417
|
if (valid === prevValidState) continue;
|
|
410
418
|
|
|
419
|
+
// NOTE: We might remove this logging later as it's pretty heavy, but right now we still have bugs somewhere here.
|
|
420
|
+
{
|
|
421
|
+
console.info(`Changed valid state ${JSON.stringify(prevValidState)} to ${JSON.stringify(valid)}`, {
|
|
422
|
+
path: pathValue.path,
|
|
423
|
+
timeId: pathValue.time.time,
|
|
424
|
+
timeIdFull: pathValue.time,
|
|
425
|
+
valid,
|
|
426
|
+
prevValidState,
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
|
|
411
430
|
changed.push(pathValue);
|
|
412
431
|
|
|
413
432
|
// NOTE: This should be the only place we set it, and the read-only flag is only for us to prevent anyone from setting it.
|
|
@@ -743,7 +743,7 @@ class AuthorityPathValueStorage {
|
|
|
743
743
|
|
|
744
744
|
if (isDebugLogEnabled() && !config?.doNotArchive) {
|
|
745
745
|
for (let value of newValues) {
|
|
746
|
-
auditLog("INGEST VALUE", { path: value.path, timeId: value.time.time, batchTime: now });
|
|
746
|
+
auditLog("INGEST VALUE", { path: value.path, timeId: value.time.time, batchTime: now, isValid: value.valid });
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
|
|
@@ -42,7 +42,7 @@ export const createRefAnimation = cacheJSONArgsEqual((id: string, transitionTime
|
|
|
42
42
|
let scrollChangeLeft = newScrollOffsetObj.left - prevScrollOffsetLeft;
|
|
43
43
|
prevScrollOffsetLeft = newScrollOffsetObj.left;
|
|
44
44
|
|
|
45
|
-
if (!curPrevRect?.width || !newRect.width || curPrevRect.left === newRect.left) {
|
|
45
|
+
if (!curPrevRect?.width || !newRect.width || curPrevRect.left === newRect.left && curPrevRect.top === newRect.top) {
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
48
|
elem.style.transform = `translate(${curPrevRect.left - newRect.left - scrollChangeLeft}px, ${curPrevRect.top - newRect.top - scrollChangeTop}px)`;
|