René's URL Explorer Experiment


Title: types: Fix svelte-check issues in mark helpers by gka · Pull Request #482 · svelteplot/svelteplot · GitHub

Open Graph Title: types: Fix svelte-check issues in mark helpers by gka · Pull Request #482 · svelteplot/svelteplot

X Title: types: Fix svelte-check issues in mark helpers by gka · Pull Request #482 · svelteplot/svelteplot

Description: Resolves #467 Resolves #457 Resolves #458 Resolves #459 Resolves #460 Resolves #464 Resolves #465 Resolves #469 This pull request focuses on improving type safety and robustness across several mark helper components, especially for canvas rendering and box plot handling. The changes mainly address stricter typing, better handling of optional and default values, and more reliable property resolution. These updates help prevent runtime errors and make the codebase easier to maintain. Type Safety and Robustness Improvements Updated mark prop types in RegressionX.svelte and RegressionY.svelte to use RegressionOptions, adding a new canvas property for flexibility in rendering. [1] [2] Refined type handling in Box.svelte by enforcing array types for data, adding explicit type casts in data processing, and improving sorting and channel resolution logic for box plot calculations. [1] [2] [3] [4] [5] [6] [7] [8] Enhanced type annotations and default value handling in canvas mark helpers (DotCanvas.svelte, GeoCanvas.svelte, LineCanvas.svelte) to ensure correct property resolution, safer color and opacity handling, and more robust rendering logic. [1] [2] [3] [4] [5] [6] [7] [8] [9] Marker and Multiline Text Improvements Improved MarkerPath.svelte by adding support for reversed paths, handling optional and default values for marker properties, and ensuring correct rendering of markers and invisible paths for mouse access. [1] [2] [3] [4] [5] Fixed type import and default value resolution in MultilineText.svelte for more reliable text alignment and style handling. [1] [2]

Open Graph Description: Resolves #467 Resolves #457 Resolves #458 Resolves #459 Resolves #460 Resolves #464 Resolves #465 Resolves #469 This pull request focuses on improving type safety and robustness across several mark...

X Description: Resolves #467 Resolves #457 Resolves #458 Resolves #459 Resolves #460 Resolves #464 Resolves #465 Resolves #469 This pull request focuses on improving type safety and robustness across several mark...

Opengraph URL: https://github.com/svelteplot/svelteplot/pull/482

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ddfefa03-9089-f943-f28c-df7de39378e4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC0B8:3EB23A:9DA468:D56EDB:6AFE6361
html-safe-nonce1b91c57c49abf656e2eeded5deee897c2e53bf94d572c260a38b72d830b866fb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEI4OjNFQjIzQTo5REE0Njg6RDU2RURCOjZBRkU2MzYxIiwidmlzaXRvcl9pZCI6IjQxMzgzMjk0NTgyNTc4NDcxMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfe6b7c4e38ba8a68787d27451ba691867412eb8c672ec1e2e395c40e9eb8bbce
hovercard-subject-tagpull_request:3311721371
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/svelteplot/svelteplot/pull/482/files
twitter:imagehttps://avatars.githubusercontent.com/u/617518?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/617518?s=400&v=4
og:image:altResolves #467 Resolves #457 Resolves #458 Resolves #459 Resolves #460 Resolves #464 Resolves #465 Resolves #469 This pull request focuses on improving type safety and robustness across several mark...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/svelteplot/svelteplot git https://github.com/svelteplot/svelteplot.git
octolytics-dimension-user_id151584899
octolytics-dimension-user_loginsvelteplot
octolytics-dimension-repository_id721575609
octolytics-dimension-repository_nwosvelteplot/svelteplot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id721575609
octolytics-dimension-repository_network_root_nwosvelteplot/svelteplot
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/svelteplot/svelteplot/pull/482/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsvelteplot%2Fsvelteplot%2Fpull%2F482%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsvelteplot%2Fsvelteplot%2Fpull%2F482%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=svelteplot%2Fsvelteplot
Reloadhttps://github.com/svelteplot/svelteplot/pull/482/files
Reloadhttps://github.com/svelteplot/svelteplot/pull/482/files
Reloadhttps://github.com/svelteplot/svelteplot/pull/482/files
svelteplothttps://github.com/svelteplot
svelteplothttps://github.com/svelteplot/svelteplot
Codehttps://github.com/svelteplot/svelteplot
Issues33 (33)https://github.com/svelteplot/svelteplot/issues
Pull requests21 (21)https://github.com/svelteplot/svelteplot/pulls
Discussionshttps://github.com/svelteplot/svelteplot/discussions
Actionshttps://github.com/svelteplot/svelteplot/actions
Projectshttps://github.com/svelteplot/svelteplot/projects
Security and qualityhttps://github.com/svelteplot/svelteplot/security
Insightshttps://github.com/svelteplot/svelteplot/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fsvelteplot%2Fsvelteplot%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsvelteplot%2Fsvelteplot%2Fissues%2Fnew%2Fchoose
gkahttps://github.com/gka
mainhttps://github.com/svelteplot/svelteplot/tree/main
types/fix-svelte-check-issues-helpershttps://github.com/svelteplot/svelteplot/tree/types/fix-svelte-check-issues-helpers
Conversation 3 https://github.com/svelteplot/svelteplot/pull/482
Commits 1 https://github.com/svelteplot/svelteplot/pull/482/commits
Checks 8 https://github.com/svelteplot/svelteplot/pull/482/checks
Files changed https://github.com/svelteplot/svelteplot/pull/482/files
Please reload this pagehttps://github.com/svelteplot/svelteplot/pull/482/files
types: Fix svelte-check issues in mark helpers https://github.com/svelteplot/svelteplot/pull/482/files#top
Show all changes 1 commit https://github.com/svelteplot/svelteplot/pull/482/files
b578d91 types: Fix regression mark helpers and tests (#480) gka Feb 21, 2026 https://github.com/svelteplot/svelteplot/pull/482/commits/b578d91de4067444c3a16df92e19632aaa21b227
Clear filters https://github.com/svelteplot/svelteplot/pull/482/files
Please reload this pagehttps://github.com/svelteplot/svelteplot/pull/482/files
Please reload this pagehttps://github.com/svelteplot/svelteplot/pull/482/files
RegressionX.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-aa66f6a10cfbac67bed05425f88184c5dde6f016a5f6e6731d0be349e6ecf701
RegressionY.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-e20773c654337995e260c262392d82f7d9e81c163de5015c2ba86da7bbc6eba8
Box.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
DotCanvas.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-d4124ca463e6ce5181849344b42b404cbf54725d84095505f6608db00ebed329
GeoCanvas.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-d0d75970efce1e353bb864812bc4f939ba4ce2f56c3204bbecd38a93155ba241
LineCanvas.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-c3efa320f48f2a299a52e76f7e1a13fce6a0dc1d4932edc3585785acd3a9eb6d
MarkerPath.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-07a80a0dd5e0ee05e459a68e6f99c8618f2d8482a8328cf897561ddc0c36f7da
MultilineText.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-48009403a5bffe0c925498b0d9e4ed4daca8719895e5b077a238e26de616ae30
RectCanvas.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-4048fa31f2bd18e0d5c5a8abb1615919261e96eb42f3a57ad867f801b7136e45
Regression.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-4c9a5ac63be835043602499479d5e97b1824143876de9592520a586cef53504a
TextCanvas.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-a39f8ee7e04b3845bd8bd040f282ce2224de3eaa157b61556a06ae8f082f11bb
cars.svelte https://github.com/svelteplot/svelteplot/pull/482/files#diff-ee645795e9aa89a433db4105a13259fe2fab8e6b9cb947d492c916a6820bc122
regressionX.test.svelte.ts https://github.com/svelteplot/svelteplot/pull/482/files#diff-994ee5b08bbbe04c01dc65db92f77b308620d2722b2fdd1a803e6b44e3103aa8
regressionY.test.svelte.ts https://github.com/svelteplot/svelteplot/pull/482/files#diff-8a82943f26891a3b1fb68d35f18c8a0e4a34a1702c94e6830adb655f58e50d96
src/lib/marks/RegressionX.sveltehttps://github.com/svelteplot/svelteplot/pull/482/files#diff-aa66f6a10cfbac67bed05425f88184c5dde6f016a5f6e6731d0be349e6ecf701
View file https://github.com/svelteplot/svelteplot/blob/b578d91de4067444c3a16df92e19632aaa21b227/src/lib/marks/RegressionX.svelte
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/svelteplot/svelteplot/pull/482/{{ revealButtonHref }}
https://github.com/svelteplot/svelteplot/pull/482/files#diff-aa66f6a10cfbac67bed05425f88184c5dde6f016a5f6e6731d0be349e6ecf701
https://github.com/svelteplot/svelteplot/pull/482/files#diff-aa66f6a10cfbac67bed05425f88184c5dde6f016a5f6e6731d0be349e6ecf701
src/lib/marks/RegressionY.sveltehttps://github.com/svelteplot/svelteplot/pull/482/files#diff-e20773c654337995e260c262392d82f7d9e81c163de5015c2ba86da7bbc6eba8
View file https://github.com/svelteplot/svelteplot/blob/b578d91de4067444c3a16df92e19632aaa21b227/src/lib/marks/RegressionY.svelte
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/svelteplot/svelteplot/pull/482/{{ revealButtonHref }}
https://github.com/svelteplot/svelteplot/pull/482/files#diff-e20773c654337995e260c262392d82f7d9e81c163de5015c2ba86da7bbc6eba8
https://github.com/svelteplot/svelteplot/pull/482/files#diff-e20773c654337995e260c262392d82f7d9e81c163de5015c2ba86da7bbc6eba8
src/lib/marks/helpers/Box.sveltehttps://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
View file https://github.com/svelteplot/svelteplot/blob/b578d91de4067444c3a16df92e19632aaa21b227/src/lib/marks/helpers/Box.svelte
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/svelteplot/svelteplot/pull/482/{{ revealButtonHref }}
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c953372a87f0576534dfbde532c83016f043df6cf89fb130c53ad209e164a3e9
src/lib/marks/helpers/DotCanvas.sveltehttps://github.com/svelteplot/svelteplot/pull/482/files#diff-d4124ca463e6ce5181849344b42b404cbf54725d84095505f6608db00ebed329
View file https://github.com/svelteplot/svelteplot/blob/b578d91de4067444c3a16df92e19632aaa21b227/src/lib/marks/helpers/DotCanvas.svelte
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/svelteplot/svelteplot/pull/482/{{ revealButtonHref }}
https://github.com/svelteplot/svelteplot/pull/482/files#diff-d4124ca463e6ce5181849344b42b404cbf54725d84095505f6608db00ebed329
https://github.com/svelteplot/svelteplot/pull/482/files#diff-d4124ca463e6ce5181849344b42b404cbf54725d84095505f6608db00ebed329
https://github.com/svelteplot/svelteplot/pull/482/files#diff-d4124ca463e6ce5181849344b42b404cbf54725d84095505f6608db00ebed329
https://github.com/svelteplot/svelteplot/pull/482/files#diff-d4124ca463e6ce5181849344b42b404cbf54725d84095505f6608db00ebed329
src/lib/marks/helpers/GeoCanvas.sveltehttps://github.com/svelteplot/svelteplot/pull/482/files#diff-d0d75970efce1e353bb864812bc4f939ba4ce2f56c3204bbecd38a93155ba241
View file https://github.com/svelteplot/svelteplot/blob/b578d91de4067444c3a16df92e19632aaa21b227/src/lib/marks/helpers/GeoCanvas.svelte
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/svelteplot/svelteplot/pull/482/{{ revealButtonHref }}
https://github.com/svelteplot/svelteplot/pull/482/files#diff-d0d75970efce1e353bb864812bc4f939ba4ce2f56c3204bbecd38a93155ba241
https://github.com/svelteplot/svelteplot/pull/482/files#diff-d0d75970efce1e353bb864812bc4f939ba4ce2f56c3204bbecd38a93155ba241
https://github.com/svelteplot/svelteplot/pull/482/files#diff-d0d75970efce1e353bb864812bc4f939ba4ce2f56c3204bbecd38a93155ba241
https://github.com/svelteplot/svelteplot/pull/482/files#diff-d0d75970efce1e353bb864812bc4f939ba4ce2f56c3204bbecd38a93155ba241
src/lib/marks/helpers/LineCanvas.sveltehttps://github.com/svelteplot/svelteplot/pull/482/files#diff-c3efa320f48f2a299a52e76f7e1a13fce6a0dc1d4932edc3585785acd3a9eb6d
View file https://github.com/svelteplot/svelteplot/blob/b578d91de4067444c3a16df92e19632aaa21b227/src/lib/marks/helpers/LineCanvas.svelte
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/svelteplot/svelteplot/pull/482/{{ revealButtonHref }}
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c3efa320f48f2a299a52e76f7e1a13fce6a0dc1d4932edc3585785acd3a9eb6d
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c3efa320f48f2a299a52e76f7e1a13fce6a0dc1d4932edc3585785acd3a9eb6d
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c3efa320f48f2a299a52e76f7e1a13fce6a0dc1d4932edc3585785acd3a9eb6d
https://github.com/svelteplot/svelteplot/pull/482/files#diff-c3efa320f48f2a299a52e76f7e1a13fce6a0dc1d4932edc3585785acd3a9eb6d
src/lib/marks/helpers/MarkerPath.sveltehttps://github.com/svelteplot/svelteplot/pull/482/files#diff-07a80a0dd5e0ee05e459a68e6f99c8618f2d8482a8328cf897561ddc0c36f7da
View file https://github.com/svelteplot/svelteplot/blob/b578d91de4067444c3a16df92e19632aaa21b227/src/lib/marks/helpers/MarkerPath.svelte
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/svelteplot/svelteplot/pull/482/{{ revealButtonHref }}
https://github.com/svelteplot/svelteplot/pull/482/files#diff-07a80a0dd5e0ee05e459a68e6f99c8618f2d8482a8328cf897561ddc0c36f7da
https://github.com/svelteplot/svelteplot/pull/482/files#diff-07a80a0dd5e0ee05e459a68e6f99c8618f2d8482a8328cf897561ddc0c36f7da
https://github.com/svelteplot/svelteplot/pull/482/files#diff-07a80a0dd5e0ee05e459a68e6f99c8618f2d8482a8328cf897561ddc0c36f7da
https://github.com/svelteplot/svelteplot/pull/482/files#diff-07a80a0dd5e0ee05e459a68e6f99c8618f2d8482a8328cf897561ddc0c36f7da
https://github.com/svelteplot/svelteplot/pull/482/files#diff-07a80a0dd5e0ee05e459a68e6f99c8618f2d8482a8328cf897561ddc0c36f7da
https://github.com/svelteplot/svelteplot/pull/482/files#diff-07a80a0dd5e0ee05e459a68e6f99c8618f2d8482a8328cf897561ddc0c36f7da
Please reload this pagehttps://github.com/svelteplot/svelteplot/pull/482/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.