@dexteel/mesf-core 7.5.0 → 7.5.1
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/index.esm.js +9 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.5.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.5.0...@dexteel/mesf-core-v7.5.1) (2025-12-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **Trending V2:** apply changes from tags table to chart ([881d379](https://github.com/dexteel/mesf-core-frontend/commit/881d37967c8aad1d78ad51a445c8fdc8e87e4d4d))
|
|
9
|
+
|
|
3
10
|
## [7.5.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.4.0...@dexteel/mesf-core-v7.5.0) (2025-12-10)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.esm.js
CHANGED
|
@@ -14560,11 +14560,17 @@ var TrendingChartV2 = function (_a) {
|
|
|
14560
14560
|
var useSeparateGrids = !opts.combinedView &&
|
|
14561
14561
|
processedData.analogTags.length > 0 &&
|
|
14562
14562
|
processedData.digitalTags.length > 0;
|
|
14563
|
-
// Generate a key that changes when grid structure changes
|
|
14563
|
+
// Generate a key that changes when grid structure changes or series count changes
|
|
14564
14564
|
// This forces React to remount the entire chart component, avoiding merge conflicts
|
|
14565
|
+
// Including series count ensures chart remounts when tags are added/removed
|
|
14565
14566
|
var chartKey = useMemo(function () {
|
|
14566
|
-
|
|
14567
|
-
|
|
14567
|
+
var seriesCount = processedData.analogSeries.length + processedData.digitalSeries.length;
|
|
14568
|
+
return "chart-".concat(useSeparateGrids ? "separate" : "combined", "-").concat(seriesCount);
|
|
14569
|
+
}, [
|
|
14570
|
+
useSeparateGrids,
|
|
14571
|
+
processedData.analogSeries.length,
|
|
14572
|
+
processedData.digitalSeries.length,
|
|
14573
|
+
]);
|
|
14568
14574
|
// Calculate cursor data (Y1, Y2, etc.)
|
|
14569
14575
|
var cursorData = useCursorData(cursor1Time, cursor2Time, series, viewTags);
|
|
14570
14576
|
// Update context with cursor data (use ref to prevent infinite loop)
|