mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-11 06:28:58 +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
|
# 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
|
BASH ?= bash
|
||||||
BACKEND_UV_RUN = cd backend && uv run
|
BACKEND_UV_RUN = cd backend && uv run
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export function WhatsNewSection({ className }: { className?: string }) {
|
|||||||
return (
|
return (
|
||||||
<Section
|
<Section
|
||||||
className={cn("", className)}
|
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"
|
subtitle="DeerFlow is now evolving from a Deep Research agent into a full-stack Super Agent"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@ -160,7 +160,7 @@ export const enUS: Translations = {
|
|||||||
// Input Box
|
// Input Box
|
||||||
inputBox: {
|
inputBox: {
|
||||||
placeholder: "How can I assist you today?",
|
placeholder: "How can I assist you today?",
|
||||||
disclaimer: "Deerflow is AI and can make mistakes",
|
disclaimer: "DeerFlow is AI and can make mistakes",
|
||||||
createSkillPrompt:
|
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?",
|
"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",
|
addAttachments: "Add attachments",
|
||||||
|
|||||||
@ -43,7 +43,7 @@ test.describe("Agent chat", () => {
|
|||||||
const textarea = page.getByPlaceholder(/how can i assist you/i);
|
const textarea = page.getByPlaceholder(/how can i assist you/i);
|
||||||
await expect(textarea).toBeVisible({ timeout: 15_000 });
|
await expect(textarea).toBeVisible({ timeout: 15_000 });
|
||||||
await expect(
|
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();
|
).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ describe("core copy loading", () => {
|
|||||||
loadTranslations("zh-CN"),
|
loadTranslations("zh-CN"),
|
||||||
]);
|
]);
|
||||||
expect(english.inputBox.disclaimer).toBe(
|
expect(english.inputBox.disclaimer).toBe(
|
||||||
"Deerflow is AI and can make mistakes",
|
"DeerFlow is AI and can make mistakes",
|
||||||
);
|
);
|
||||||
expect(chinese.inputBox.disclaimer).toBe(
|
expect(chinese.inputBox.disclaimer).toBe(
|
||||||
"内容由AI生成,重要信息请务必核查",
|
"内容由AI生成,重要信息请务必核查",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user