Skip to content

fix(quick-start): disable prompt autocomplete - #553

Open
huyanxius wants to merge 2 commits into
1024XEngineer:mainfrom
huyanxius:fix/552-quick-start-autocomplete
Open

fix(quick-start): disable prompt autocomplete#553
huyanxius wants to merge 2 commits into
1024XEngineer:mainfrom
huyanxius:fix/552-quick-start-autocomplete

Conversation

@huyanxius

Copy link
Copy Markdown
Collaborator

修复 Quick Start 创作指令输入框被浏览器识别为普通历史表单的问题,避免历史角色描述建议遮挡创作界面。

Why

当前输入框与所属表单未声明自动补全策略,浏览器会在聚焦时弹出历史表单内容;对话式创作输入不应复用这类建议。

Changes

  • 在 Quick Start 创作指令表单与输入框上关闭 autocomplete
  • 增加定向回归测试,锁定浏览器自动补全契约。

Verification

  • npm test -- src/pages/quick-start/index.test.tsx --configLoader runner -t 'keeps browser form history':1 passed。
  • oxfmt --check src/pages/quick-start/index.tsx src/pages/quick-start/index.test.tsx:通过。
  • git diff --check upstream/main...HEAD:通过。

Scope

  • 本 PR 不包含:输入框多行化、富文本编辑器、生成逻辑或业务流程调整。

Related Issues

Closes #552

Browser form history can obscure the creation composer.

Assert autocomplete is disabled on the prompt field and form.

Protect the conversational input contract from regressions.
Saved form entries appear over the conversational creation composer.

Disable autocomplete on both the prompt field and its form.

Keep browser history suggestions out without changing generation behavior.
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
windup Ready Ready Preview Aug 23, 2026 1:27pm

@codecov

codecov Bot commented Aug 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论

变更在 Quick Start 的创作指令表单和输入框上同时声明 autocomplete="off",与 #552 的浏览器历史补全契约一致;定向测试覆盖了两个 DOM 属性,未发现会影响原有输入、提交或母版上传流程的可报告问题。

验证

  • npm test -- src/pages/quick-start/index.test.tsx --configLoader runner -t 'keeps browser form history':1 passed
  • npx oxfmt --check src/pages/quick-start/index.tsx src/pages/quick-start/index.test.tsx:通过
  • git diff --check 17b25a723410244d9f0a68209d3c946ca0698b56...f561d2af82fbef8a1f2b55bb0f14e23b4fdc7c84:通过

View job run

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.

[Bug]: Quick Start 输入框弹出浏览器历史建议

1 participant