-
-
Notifications
You must be signed in to change notification settings - Fork 13
fix: line chart grouping (resolves #45) #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
gka
commented
May 26, 2025
- bump dependencies
- fix [BUG] Line chart connects points between different groups #45
✅ Deploy Preview for svelteplot ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📦 Preview package for this PR is published! Version: Install it with: npm install svelteplot@pr-67
# or install the specific version
npm install svelteplot@0.2.6-pr-67.0 |
📦 Preview package for this PR is published! Version: Install it with: npm install svelteplot@pr-67
# or install the specific version
npm install svelteplot@0.2.6-pr-67.1 |
📦 Preview package for this PR is published! Version: Install it with: npm install svelteplot@pr-67
# or install the specific version
npm install svelteplot@0.2.6-pr-67.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes the line chart grouping issue (resolves #45) and bumps some dependency versions.
- Adds a new test to ensure points from different groups are not connected.
- Updates line grouping logic in Line.svelte by removing extra point duplication for single-point groups.
- Updates various configuration files (package.json, VS Code settings, GitHub workflows) to improve project consistency.
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
src/tests/line.test.ts | Adds a test to validate that points from different groups are not connected |
src/routes/transforms/jitter/+page.md | Removes the detailed time interval documentation for temporal jittering |
src/lib/marks/Line.svelte | Changes the grouping logic by removing the condition that duplicated single points |
package.json | Bumps the typedoc dependency version |
.vscode/settings.json | Adds formatting, linting, and extension configurations |
.vscode/extensions.json | Introduces recommended VS Code extensions |
.github/workflows/npm-prerelease.yml | Consolidates if conditions and updates registry URL quotes |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (2)
src/routes/transforms/jitter/+page.md:76
- The removal of detailed time interval strings might confuse users. Consider adding a note explaining the updated supported formats.
- '1 day', '3 days', ... (removed)
src/lib/marks/Line.svelte:76
- Removing the condition that duplicates a single point changes how line paths are rendered. Please confirm that single-point groups are now handled as intended.
if (group.length === 1) { ... } (removed)