Skip to content

Fix regression mark helpers and tests#480

Merged
gka merged 3 commits intomainfrom
codex/fix-sveltecheck-in-regression-marks
Feb 21, 2026
Merged

Fix regression mark helpers and tests#480
gka merged 3 commits intomainfrom
codex/fix-sveltecheck-in-regression-marks

Conversation

@gka
Copy link
Copy Markdown
Contributor

@gka gka commented Feb 21, 2026

Resolves #467

Summary

  • align RegressionX/Y props with the updated helper interface so they import RegressionOptions now that the helper exports the shared props
  • expand helpers/Regression.svelte to normalize regression inputs, handle optional parameters, and tighten confidence-band logic with better numeric conversions and comments
  • cast regression example state types and silence ts-lint noise in the regression tests so pnpm lint:types no longer errors
  • passes canvas prop to Area + Line marks

Testing

  • Not run (not requested)

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 21, 2026

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit a70da1b
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/6999fd3f0d73e800086ed3bb
😎 Deploy Preview https://deploy-preview-480--svelteplot.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions
Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.10.3-pr-480.0

Install it with:

npm install svelteplot@pr-480
# or install the specific version
npm install svelteplot@0.10.3-pr-480.0

@github-actions
Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.10.3-pr-480.1

Install it with:

npm install svelteplot@pr-480
# or install the specific version
npm install svelteplot@0.10.3-pr-480.1

@github-actions
Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.10.3-pr-480.2

Install it with:

npm install svelteplot@pr-480
# or install the specific version
npm install svelteplot@0.10.3-pr-480.2

@gka gka merged commit 0774857 into main Feb 21, 2026
9 checks passed
@gka gka deleted the codex/fix-sveltecheck-in-regression-marks branch February 21, 2026 18:47
gka added a commit that referenced this pull request Feb 22, 2026
Resolves #467

Summary
- align `RegressionX/Y` props with the updated helper interface so they
import `RegressionOptions` now that the helper exports the shared props
- expand `helpers/Regression.svelte` to normalize regression inputs,
handle optional parameters, and tighten confidence-band logic with
better numeric conversions and comments
- cast regression example state types and silence ts-lint noise in the
regression tests so `pnpm lint:types` no longer errors
- passes canvas prop to Area + Line marks

Testing
- Not run (not requested)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[svelte-check] Fix errors in src/lib/marks/helpers/Regression.svelte

1 participant