Skip to content

feat(frontend): add localized AI disclaimer#4374

Merged
WillemJiang merged 2 commits into
mainfrom
codex/localized-ai-disclaimer
Jul 22, 2026
Merged

feat(frontend): add localized AI disclaimer#4374
WillemJiang merged 2 commits into
mainfrom
codex/localized-ai-disclaimer

Conversation

@hetaoBackend

Copy link
Copy Markdown
Collaborator

Summary

  • show a localized AI disclaimer below the shared Web UI composer in both standard and custom-agent conversations
  • use the requested English and Simplified Chinese copy through the existing en-US / zh-CN translation boundary
  • add unit and end-to-end coverage and document the user-facing behavior

Why

The conversation UI should remind users that AI-generated responses can contain mistakes and that important information needs verification.

Validation

  • pnpm check
  • CI=1 pnpm test (720 tests passed)
  • targeted Playwright disclaimer tests (2 passed)
  • SKIP_ENV_VALIDATION=1 DEER_FLOW_AUTH_DISABLED=1 pnpm build

@hetaoBackend
hetaoBackend requested a review from MagicCube July 22, 2026 11:54
@github-actions github-actions Bot added area:docs Documentation and Markdown only area:frontend Next.js frontend under frontend/ risk:medium Medium risk: regular code changes size/S PR changes 20-100 lines labels Jul 22, 2026
@hetaoBackend
hetaoBackend requested a review from WillemJiang July 22, 2026 11:55
@WillemJiang
WillemJiang merged commit cb69883 into main Jul 22, 2026
21 checks passed
@github-actions github-actions Bot added the reviewing A maintainer is reviewing this PR label Jul 22, 2026
@WillemJiang
WillemJiang deleted the codex/localized-ai-disclaimer branch July 22, 2026 13:31
@WillemJiang WillemJiang added this to the 2.1.0 milestone Jul 22, 2026
yogyoho added a commit to yogyoho/eai-flow-main that referenced this pull request Jul 23, 2026
…UI hardening

- bytedance#4117 XSS hardening (isSafeHref, iframe sandbox, safeLocalStorage)
- bytedance#4354 streaming chunk batcher for large file tools
- bytedance#4294 LLM concurrency cap + burst-rate retry shedding
- bytedance#4355 E2B release serialization
- bytedance#4267 transient image context cleanup
- bytedance#4374 AI disclaimer (bytedance#4373 reasoning-effort default)
- bytedance#4337 /goal length validation + counter
- bytedance#4278/bytedance#4302/bytedance#4312 URL encoding fixes
- bytedance#4375 list_uploaded_files schema fix
- bytedance#4288 uploads markdown companion name claim
- bytedance#4258 remove frontend debug logs
jtaynl added a commit to jtaynl/deer-flow that referenced this pull request Jul 23, 2026
Drops the 'Deerflow' reference in the input-box disclaimer (en-US) — consistent
with the WRI 'WRI AI' re-skin that hides upstream Deerflow branding. Carried
patch on the bytedance#4374 localized-disclaimer string; re-apply if upstream edits it.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Documentation and Markdown only area:frontend Next.js frontend under frontend/ reviewing A maintainer is reviewing this PR risk:medium Medium risk: regular code changes size/S PR changes 20-100 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants