Closed sagIoTPower closed 1 week ago
Thank you for reporting, I have moved this to our backlog.
Hi @sagIoTPower, Could you provide more detail of the observation? 1/ The issue relates with dataoverlay, correct? 2/ There is a refresh logic to update data for each 1 second, correct? 3/ With iot-app-kit 9.15.0, "values for Wind Speed, Power Actual, Power Actual" looks smooth and constantly updating with latest value, correct? 4/ With iot-app-kit 10.2.0, "Wind Speed, Power Actual, Power Actual disappear every 1 second for a short while and overlay (linear, rotation) turn white", correct? 4.1/ Does above value come back with correct value as version 9.15.0 does, but disappears shortly? 4.2/ Does the issue repeat for every 1 second? Or it is constantly turn white all the time?
Hi @cshang2017, Could you provide more detail of the observation?
1/ The issue relates with dataoverlay, correct?
2/ There is a refresh logic to update data for each 1 second, correct?
3/ With iot-app-kit 9.15.0, "values for Wind Speed, Power Actual, Power Actual" looks smooth and constantly updating with latest value, correct?
4/ With iot-app-kit 10.2.0, "Wind Speed, Power Actual, Power Actual disappear every 1 second for a short while and overlay (linear, rotation) turn white", correct?
4.1/ Does above value come back with correct value as version 9.15.0 does, but disappears shortly?
4.2/ Does the issue repeat for every 1 second? Or it is constantly turn white all the time?
If I may add, I use Angular and wrap the react components:
@Component({
selector: "twinmaker-sceneviewer",
standalone: true,
imports: [CommonModule, CoreModule, ReactComponentDirective],
encapsulation: ViewEncapsulation.None,
template: `
<div *ngIf="props">
<div
style="min-height: 680px;"
[reactComponent]="SceneViewer"
[props]="props$ | async"
></div>
</div>
<div [reactComponent]="WebglContext"></div>
`,
})
We reverted the zustand version in the recent release, can you check if you still experience this bug in the latest version of the package?
Issue should be fixed by previous comment. Feel free to reopen if further assistance is needed 🙏
Describe the bug When using the
@iot-app-kit/*
in version 10.2.0 after migration from 9.15.0 the visualisation interrupts. Pls. see the screenshots below.To Reproduce Steps to reproduce the behavior: Build plugin using the following dependencies:
produces a Cumulocity plugin where the current datapoint disappear while being refreshed. In the screenshot below the values for
Wind Speed
,Power Actual
,Power Actual
disappear every 1 second for a short while and overlay (linear, rotation) turn white. The same works when using:Expected behavior The update of datapoints in the scene using 10.2.0 should not interrupt. The update of in 9.15.0
Screenshots Interruption using 10.2.0:
Works using 9.15.0: