mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-09 21:49:37 +00:00
fix: DeerFlow brand casing in disclaimer, What's New title, setup-sandbox .PHONY (#4970)
* fix: DeerFlow brand casing in disclaimer, 'What's New' title, setup-sandbox .PHONY - en-US disclaimer said 'Deerflow'; every other user-facing string brands it 'DeerFlow' (rendered under the chat composer) - landing section title 'Whats New in DeerFlow 2.0' -> 'What's New' - setup-sandbox was the only Makefile target missing from .PHONY * test: align disclaimer assertions with DeerFlow brand casing The unit and e2e suites still expected the old "Deerflow" spelling in inputBox.disclaimer; update both to the corrected locale string so the i18n load test and the chat footer assertion pass again. --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
parent
6688d01c8f
commit
9232e1e6a9
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
# DeerFlow - Unified Development Environment
|
||||
|
||||
.PHONY: help config config-upgrade check check-agent-guidance install extension-install extension-list extension-enable extension-disable extension-remove setup doctor support-bundle detect-thread-boundaries detect-blocking-io dev dev-daemon start start-daemon nginx stop up down clean docker-init docker-start docker-stop docker-logs docker-logs-frontend docker-logs-gateway docker-logs-redis
|
||||
.PHONY: help config config-upgrade check check-agent-guidance install extension-install extension-list extension-enable extension-disable extension-remove setup doctor support-bundle detect-thread-boundaries detect-blocking-io dev dev-daemon start start-daemon nginx stop up down clean docker-init docker-start docker-stop docker-logs docker-logs-frontend docker-logs-gateway docker-logs-redis setup-sandbox
|
||||
|
||||
BASH ?= bash
|
||||
BACKEND_UV_RUN = cd backend && uv run
|
||||
|
||||
@ -68,7 +68,7 @@ export function WhatsNewSection({ className }: { className?: string }) {
|
||||
return (
|
||||
<Section
|
||||
className={cn("", className)}
|
||||
title="Whats New in DeerFlow 2.0"
|
||||
title="What's New in DeerFlow 2.0"
|
||||
subtitle="DeerFlow is now evolving from a Deep Research agent into a full-stack Super Agent"
|
||||
>
|
||||
<div
|
||||
|
||||
@ -160,7 +160,7 @@ export const enUS: Translations = {
|
||||
// Input Box
|
||||
inputBox: {
|
||||
placeholder: "How can I assist you today?",
|
||||
disclaimer: "Deerflow is AI and can make mistakes",
|
||||
disclaimer: "DeerFlow is AI and can make mistakes",
|
||||
createSkillPrompt:
|
||||
"We're going to build a new skill step by step with `skill-creator`. To start, what do you want this skill to do?",
|
||||
addAttachments: "Add attachments",
|
||||
|
||||
@ -43,7 +43,7 @@ test.describe("Agent chat", () => {
|
||||
const textarea = page.getByPlaceholder(/how can i assist you/i);
|
||||
await expect(textarea).toBeVisible({ timeout: 15_000 });
|
||||
await expect(
|
||||
page.getByText("Deerflow is AI and can make mistakes", { exact: true }),
|
||||
page.getByText("DeerFlow is AI and can make mistakes", { exact: true }),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ describe("core copy loading", () => {
|
||||
loadTranslations("zh-CN"),
|
||||
]);
|
||||
expect(english.inputBox.disclaimer).toBe(
|
||||
"Deerflow is AI and can make mistakes",
|
||||
"DeerFlow is AI and can make mistakes",
|
||||
);
|
||||
expect(chinese.inputBox.disclaimer).toBe(
|
||||
"内容由AI生成,重要信息请务必核查",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user