Skip to content

docs: add JSDoc to transform functions and option types#366

Merged
gka merged 1 commit intosvelteplot:mainfrom
ljodea:docs/jsdoc-transforms
Feb 14, 2026
Merged

docs: add JSDoc to transform functions and option types#366
gka merged 1 commit intosvelteplot:mainfrom
ljodea:docs/jsdoc-transforms

Conversation

@ljodea
Copy link
Copy Markdown
Collaborator

@ljodea ljodea commented Feb 11, 2026

Summary

  • Add JSDoc documentation to ~24 exported functions and ~10 option types across 11 transform files
  • stack.ts: stackX, stackY, stackMosaicX, stackMosaicY + StackOptions, StackOrder, StackOffset types (with per-prop docs)
  • dodge.ts: dodgeX, dodgeY + DodgeXOptions, DodgeYOptions, BaseDodgeOptions types
  • window.ts: windowX, windowY + WindowOptions type (all 5 props)
  • shift.ts: shiftX, shiftY + ShiftXOptions, ShiftYOptions types
  • bollinger.ts: bollingerX, bollingerY (types already documented)
  • jitter.ts: jitterX, jitterY, jitter (type already documented)
  • centroid.ts: geoCentroid
  • sort.ts: sort (shuffle/reverse already documented)
  • select.ts: select, selectFirst, selectLast, selectMinX, selectMaxX, selectMinY, selectMaxY
  • recordize.ts: recordizeX, recordizeY, recordize (also fixed /* *//** */ for existing comments)
  • rename.ts: replaceChannels (renameChannels/renameChannelsAndData already documented)

Test plan

  • pnpm run lint passes (prettier + eslint)
  • Verify JSDoc tooltips appear on hover for transform functions in editor

🤖 Generated with Claude Code

Document ~24 exported functions and ~10 option types across 11
transform files: stack, dodge, window, shift, bollinger, jitter,
centroid, sort, select, recordize, and rename.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 11, 2026

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit b9155b5
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/698cdcbc85cf8900084e1894
😎 Deploy Preview https://deploy-preview-366--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.

@gka gka merged commit 21e08db into svelteplot:main Feb 14, 2026
4 checks passed
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.

2 participants