docs(react): add JSDoc to hooks and schema factory functions#2582
docs(react): add JSDoc to hooks and schema factory functions#2582nperez0111 wants to merge 1 commit intomainfrom
Conversation
…ions Add JSDoc documentation with @param and @returns tags to 10 React hooks (useActiveStyles, useEditorChange, useEditorSelectionBoundingBox, useEditorSelectionChange, useFocusWithin, useOnUploadEnd, useOnUploadStart, usePrefersColorScheme, useSelectedBlocks, useUploadLoading) and 2 schema factory functions (createReactInlineContentSpec, createReactStyleSpec). Nightshift-Task: docs-backfill Nightshift-Ref: https://github.com/marcus/nightshift Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughThis pull request adds comprehensive JSDoc documentation comments to 11 React hooks and schema utility functions in the packages/react/src directory. The additions describe hook purposes, parameters, return values, and behaviors without modifying any runtime logic, control flow, or exported API signatures. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
@blocknote/ariakit
@blocknote/code-block
@blocknote/core
@blocknote/mantine
@blocknote/react
@blocknote/server-util
@blocknote/shadcn
@blocknote/xl-ai
@blocknote/xl-docx-exporter
@blocknote/xl-email-exporter
@blocknote/xl-multi-column
@blocknote/xl-odt-exporter
@blocknote/xl-pdf-exporter
commit: |
Summary
@param,@returns, description) to 10 undocumented React hooks:useActiveStyles,useEditorChange,useEditorSelectionBoundingBox,useEditorSelectionChange,useFocusWithin,useOnUploadEnd,useOnUploadStart,usePrefersColorScheme,useSelectedBlocks,useUploadLoadingcreateReactInlineContentSpec,createReactStyleSpec@blocknote/reactfrom 28.6% to 100% for hooks and schema specsTest plan
🤖 Generated with Claude Code
Nightshift-Task: docs-backfill
Nightshift-Ref: https://github.com/marcus/nightshift
Summary by CodeRabbit