Skip to content

fix: adopt the Select autocomplete default - #673

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
cascader Error Error Nov 25, 2026 9:42am UTC

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

此变更将 package.json 中运行时依赖 @rc-component/select 的版本范围从 ~1.12.0 更新为 ~1.13.0。

Changes

Select 依赖更新

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

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

Change: Bug fix

Suggested reviewers: qdyanbing

Merge Risk: Low · up to 3ffd6 · 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,从而采用 Select 新的 autocomplete="off" 默认值。标题未列出快照更新,但这属于次要细节,不影响判断。
Linked Issues check Passed 关联 issue #1264 已关闭,且标记为仅供历史背景参考。本 PR 没有仍然有效的直接关联目标,因此不适用 issue 编码需求。PR 描述和 package.json 摘要显示,本 PR 仅将 @rc-component/select 从 ~1.12.0 更新为 ~1.13.0,并更新搜索输入框快照。这些变更与 PR 描述一致。
Out of Scope Changes check Passed 本 PR 的变更范围与 PR 描述一致。package.json 中 @rc-component/select 的版本范围更新为 ~1.13.0,这是采用上游 autocomplete="off" 默认值的依赖变更。搜索输入框快照更新属于对该依赖变更的测试同步更新,与变更目标直接相关。tests/snapshots/search.spec.tsx.snap 被 ignored_files …
Full details: Out of Scope Changes check

Explanation

本 PR 的变更范围与 PR 描述一致。package.json 中 @rc-component/select 的版本范围更新为 ~1.13.0,这是采用上游 autocomplete="off" 默认值的依赖变更。搜索输入框快照更新属于对该依赖变更的测试同步更新,与变更目标直接相关。tests/snapshots/search.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: a7650572-ced1-4bde-8dc2-874b40d8458a
Commits

Reviewing files that changed from the base of the PR and between d09fcf3 and 3ffd623.

Files ignored due to path filters: 1

  • tests/__snapshots__/search.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.

@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.40%. Comparing base (d09fcf3) to head (3ffd623).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #673   +/-   ##
=======================================
  Coverage   99.40%   99.40%           
=======================================
  Files          22       22           
  Lines         669      669           
  Branches      211      201   -10     
=======================================
  Hits          665      665           
  Misses          4        4           

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

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

❌ Deploy failed

PR preview ❌ Failed ❌ Failed
🔗 Preview https://react-component-cascader-preview-pr-673.surge.sh (may be unavailable)
📝 Commit3ffd623
🪵 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_47_08_916Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-11-25T09_47_08_916Z-debug-0.log

🤖 Powered by surge-preview

@zombieJ
zombieJ merged commit 1711594 into master Nov 25, 2026
13 of 17 checks passed
@zombieJ
zombieJ deleted the fix/select-autocomplete-default branch November 25, 2026 09:48

This branch had an error being deployed

1 failed deployment
Preview — 3ffd6230 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