You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
listenShaderError accepts a string or null. Shader-error display and reload checks use JavaScript nullish-value handling. The README documents the callback type and updated versions.
Merge Risk: Minimal · up to b10b6 · assessed changes only
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title is in Chinese and says the PR upgrades Calcit and corrects the shader callback type. The changeset does both: deps.cirru and package.json move @calcit/procs and Calcit to 0.51.0 with related…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title is in Chinese and says the PR upgrades Calcit and corrects the shader callback type. The changeset does both: deps.cirru and package.json move @calcit/procs and Calcit to 0.51.0 with related dependency bumps, and src/control.mts changes listenShaderError's callback to accept string | null. The title covers the two main changes, so it passes.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: 05600a56-3526-44b3-bc4c-f4dfd0d65851
Commits
Reviewing files that changed from the base of the PR and between 1b1c4d0 and b10b632.
Files ignored due to path filters: 1
yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 5
README.md
calcit.cirru
deps.cirru
package.json
src/control.mts
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
使用者需要注意
Calcit Demo 配对正式 CLI /
@calcit/procs0.51.0 和 HUD Nav 0.0.16,升级后需重装依赖并重新构建。listenShaderError的 TypeScript 回调类型修正为string | null:成功时原本就会传入 null,启用严格空值检查的调用方需要处理这一分支。改动与风险
hud!展示错误。验证
Summary by CodeRabbit
nullwhen compilation succeeds.