Skip to content

fix: adopt the Select autocomplete default - #692

Merged
zombieJ merged 1 commit into
masterfrom
fix/select-autocomplete-default
Nov 25, 2026
Merged

zombieJ merged 1 commit into
masterfrom
fix/select-autocomplete-default

Conversation

@zombieJ

@zombieJ zombieJ commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Require @rc-component/select@~1.13.0 to use the new autocomplete="off" default.
  • Update the search input snapshots to match.

Upstream fix: react-component/select#1264.

Summary by CodeRabbit

  • 维护
    • 更新了运行时依赖的版本范围。

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tree-select Error Error Nov 25, 2026 9:43am UTC

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

此次更新将运行时依赖 @rc-component/select 的版本范围从 ~1.12.0 改为 ~1.13.0。

Changes

选择组件依赖更新

Layer / File(s) Summary
更新选择组件依赖版本
package.json
@rc-component/select 的版本范围从 ~1.12.0 更新为 ~1.13.0。

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Suggested reviewers: qdyanbing

Merge Risk: Minimal · up to 94346 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 标题“fix: adopt the Select autocomplete default”与变更内容相符。变更将 @rc-component/select 的依赖版本从 ~1.12.0 更新为 ~1.13.0,以采用该版本新的 autocomplete="off" 默认值。标题说明了主要变更及修复目的。标题使用英文,但这不影响判断。
Linked Issues check Passed 关联 Issue #1264 处于 closed 状态,仅作为历史背景。本 PR 没有处于活动状态的直接关联目标。因此,Issue #1264 的验收条件不构成本 PR 的编码要求。Issue #1249 和 ant-design#59630、#59906 仅作为背景引用,不是本 PR 的直接关联目标。无需验证代码实现。
Out of Scope Changes check Passed 已记录的变更范围为:将 package.json 中 @rc-component/select 的版本范围从 ~1.12.0 改为 ~1.13.0,并更新搜索输入框快照。依赖升级与 PR 摘要中声明的目标一致,即采用上游 autocomplete="off" 默认值。快照文件(tests/snapshots/Select.checkable.spec.tsx.snap、Select.mul…
Full details: Out of Scope Changes check

Explanation

已记录的变更范围为:将 package.json 中 @rc-component/select 的版本范围从 ~1.12.0 改为 ~1.13.0,并更新搜索输入框快照。依赖升级与 PR 摘要中声明的目标一致,即采用上游 autocomplete="off" 默认值。快照文件(tests/snapshots/Select.checkable.spec.tsx.snap、Select.multiple.spec.js.snap、Select.spec.tsx.snap)属于 ignored_files,本次未检查其内容。该限制不影响本结论,因为快照属于测试支持性变更,且与依赖升级目标相关。未发现与该目标无关的变更。

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • 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.

Share

兔子翻开依赖表,
新版本号轻轻改。
小爪敲下这一行,
树影摇摇映月光。
收好清单,蹦回家。

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f1348cf6-7213-4b65-9b02-deeec9d987d3
Commits

Reviewing files that changed from the base of the PR and between 3e05e72 and 943467f.

Files ignored due to path filters: 3

  • tests/__snapshots__/Select.checkable.spec.tsx.snap is excluded by !**/*.snap
  • tests/__snapshots__/Select.multiple.spec.js.snap is excluded by !**/*.snap
  • tests/__snapshots__/Select.spec.tsx.snap is excluded by !**/*.snap
Files selected for processing: 1

  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

❌ Deploy failed

PR preview ❌ Failed ❌ Failed
🔗 Preview https://react-component-tree-select-preview-pr-692.surge.sh (may be unavailable)
📝 Commit943467f
🪵 LogsView logs
📋 Build log (last lines)
npm error     5 more (@typescript-eslint/utils, @typescript-eslint/utils, ...)
npm error   12 more (@eslint/compat, @eslint/js, ...)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" from eslint-plugin-react@7.37.5
npm error node_modules/eslint-plugin-react
npm error   dev eslint-plugin-react@"^7.37.5" from the root project
npm error   eslint-plugin-react@"^7.32.2" from @umijs/fabric@4.0.1
npm error   node_modules/@umijs/fabric
npm error     @umijs/fabric@"^4.0.0" from rc-test@7.1.3
npm error     node_modules/rc-test
npm error       dev rc-test@"^7.1.3" from the root project
npm error
npm error Conflicting peer dependency: eslint@9.39.5
npm error node_modules/eslint
npm error   peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" from eslint-plugin-react@7.37.5
npm error   node_modules/eslint-plugin-react
npm error     dev eslint-plugin-react@"^7.37.5" from the root project
npm error     eslint-plugin-react@"^7.32.2" from @umijs/fabric@4.0.1
npm error     node_modules/@umijs/fabric
npm error       @umijs/fabric@"^4.0.0" from rc-test@7.1.3
npm error       node_modules/rc-test
npm error         dev rc-test@"^7.1.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2026-11-25T09_44_30_389Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-11-25T09_44_30_389Z-debug-0.log

🤖 Powered by surge-preview

@codecov

codecov Bot commented Nov 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.84%. Comparing base (3e05e72) to head (943467f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #692   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files          17       17           
  Lines         633      633           
  Branches      198      198           
=======================================
  Hits          632      632           
  Misses          1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zombieJ
zombieJ merged commit 0557d30 into master Nov 25, 2026
14 of 18 checks passed
@zombieJ
zombieJ deleted the fix/select-autocomplete-default branch November 25, 2026 09:45

This branch had an error being deployed

1 failed deployment
Preview — 943467ff Deployed Nov 25, 2026 by vercel[bot]
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.

1 participant