@datagrok/curves 1.13.0 → 1.13.2

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.
@@ -0,0 +1,24 @@
1
+
2
+ > @datagrok/curves@1.13.2 build /home/runner/work/public/public/packages/Curves
3
+ > grok build
4
+
5
+ Curves warnings
6
+ Unknown header tag: the round trip this work exists for In the file: src/tests/panel-renderer-tests.ts.
7
+ Latest package version (1.13.2) is not in CHANGELOG
8
+ 
9
+ Changelog guideline: https://datagrok.ai/help/develop/dev-process/changelog-policy#changelog-guideline
10
+ WARNING in ⚠ asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
11
+ │ Assets:
12
+ │ package-test.js (335.361 KiB)
13
+
14
+ WARNING in ⚠ entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244.141 KiB). This can impact web performance.
15
+ │ Entrypoints:
16
+ │ test (335.361 KiB)
17
+ │ package-test.js
18
+
19
+ WARNING in ⚠ Rspack performance recommendations:
20
+ │ You can limit the size of your bundles by using import() to lazy load some parts of your application.
21
+ │ For more info visit https://rspack.rs/guide/optimization/code-splitting
22
+
23
+ Rspack compiled with 3 warnings
24
+ bundled Curves in 1.1s 188 KB
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## v.next
4
4
 
5
+ * Curves: Saving a project or layout with a curve column works again on platforms up to 1.27.x. Painting a cell wrote the default options into a dataframe `.%fit` tag, which those platforms cannot serialize into a layout. Reading the options no longer writes them; a level's tag is written only when an option is set there, and a legacy `.fit` tag is read in place until then
6
+
7
+ ## 1.13.1 (2026-09-08)
8
+
9
+ * Curves: A zero dose on a logarithmic x axis is placed one dose step below the smallest tested dose. Operator precedence bound the division to one term, so the substitute landed inside the tested range (10^-6.5 for a 1e-9..1e-4 series, where 10^-10 was meant) and every curve, dropline and extracted statistic fitted through that point was wrong; the distinct-dose count no longer includes the zero it is named for, a single tested dose no longer divides by zero, and a series whose x values are all zero is left alone
10
+ * Curves: Data to Curves excludes outliers from **Max Percent Inhibition** again. `&&` binds tighter than `||`, so the outlier test was dead and an excluded well could set the maximum; an empty well no longer reports the null sentinel 2.7e-34 as a response
11
+ * Curves: The multi curve viewer releases its subscription when it is detached. It subscribed to the current cell, cell hover and selection outside `subs`, the only list `detach()` clears, so a closed viewer kept re-rendering and another handler was added on every table attach
12
+ * Curves: Clicking a cell with no series no longer kills the context panel. An empty series array is truthy, so the colour defaulting read `series[0]` off it and threw for every blank, malformed or mis-detected curve cell
5
13
  * Curves: Multi curve viewer: The axis names and the title are shown in the property panel, not left blank while the plot draws them. Clearing one now takes it off the plot, as it already did in the grid, rather than quietly falling back to what the data named
6
14
  * Curves: Naming one axis draws that one. Both names were needed before either appeared, so clearing **X Axis Name** took the y name with it
7
15
  * Curves: **Column Name** is no longer offered in the series options. The render stamps it on every paint so the legend can say which column a curve came from, so a name typed there was written into the cell and then overwritten before it was ever drawn
package/CLAUDE.md CHANGED
@@ -74,7 +74,8 @@ The Curves package supports **multiple curve data formats** through a dynamic co
74
74
  - `FitConstants.TAG_FIT_CHART_FORMAT` = `'.fitChartFormat'` — legacy tag for format identification
75
75
  - `FitConstants.TAG_FIT` = `'.%fit'` — dataframe/column tag holding that level's options. The `.%`
76
76
  prefix is what makes the platform serialize it into a layout; `TAG_FIT_LEGACY` (`'.fit'`) is read
77
- and migrated once, then removed
77
+ as a fallback and removed the next time that level is written. Reading never writes a tag: platforms
78
+ up to 1.27.x fail to save a layout whose table carries a dataframe `.%` tag
78
79
 
79
80
  ### Supported Formats
80
81
 
@@ -145,7 +146,8 @@ A leaf module, so the renderer and the statistics do not import each other throu
145
146
  so re-parsing a cell retires the fits made from it without any invalidation code
146
147
 
147
148
  - `getOrCreateParsedChartData(cell)` — cached parse with the precedence above applied
148
- - `getColumnChartOptions` / `getDataFrameChartOptions` — read a level's options, migrating `.fit` onto `.%fit`
149
+ - `getColumnChartOptions` / `getDataFrameChartOptions` — read a level's options (`.%fit`, then `.fit`, then defaults)
150
+ - `storeChartOptions` — the only writer of a level's tag; drops the legacy `.fit` copy
149
151
  - `mergeProperties` (gap filling) and the explicit overrides that outrank a series' own value
150
152
  - `mergeSeries`, `substituteZeroes`, `sanitizeCellValue`
151
153
 
package/LICENSE.md ADDED
@@ -0,0 +1,16 @@
1
+ Copyright 2020 Datagrok, INC
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4
+ associated documentation files (the "Software"), to deal in the Software without restriction,
5
+ including without limitation the rights to use, copy, modify, merge, publish, distribute,
6
+ sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
7
+ furnished to do so, subject to the following conditions:
8
+
9
+ The above copyright notice and this permission notice shall be included in all copies or substantial
10
+ portions of the Software.
11
+
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
13
+ NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
14
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
15
+ OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
16
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.