Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frontend/src/ui/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ export function Sidebar({
<AgentFaceIcon />
<span className="sidebar-nav-label">智能体</span>
</button>
{show("search") && (
<SearchButton active={activePage === "search"} onClick={onSearch} />
)}
<button
className={`new-chat new-chat--applications${
activePage === "applications" ? " is-active" : ""
Expand All @@ -409,9 +412,6 @@ export function Sidebar({
<span className="sidebar-nav-label">自动化</span>
<span className="sidebar-beta-badge">Beta</span>
</button>
{show("search") && (
<SearchButton active={activePage === "search"} onClick={onSearch} />
)}
</div>

{show("history") && (
Expand Down
5 changes: 5 additions & 0 deletions frontend/tests/applications.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ test("adds the Automation destination with a repository-owned four-circle icon",
assert.equal((sidebarSource.match(/<circle /g) ?? []).length >= 4, true);
assert.match(sidebarSource, /aria-label="自动化"/);
assert.match(sidebarSource, /<span className="sidebar-nav-label">自动化<\/span>/);
assert.match(sidebarSource, /<span className="sidebar-beta-badge">Beta<\/span>/);
const searchIndex = sidebarSource.indexOf("<SearchButton");
const applicationsIndex = sidebarSource.indexOf('aria-label="自动化"');
assert.equal(searchIndex >= 0, true);
assert.equal(searchIndex < applicationsIndex, true);
assert.match(appSource, /onApplications=\{openApplicationsPage\}/);
});

Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion veadk/webui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/assets/volcengine-DM14a-L-.svg" />
<title>VeADK Studio</title>
<script type="module" crossorigin src="/assets/index-C5keL_KS.js"></script>
<script type="module" crossorigin src="/assets/index-Ddg93lSd.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BDIw35r_.css">
</head>
<body>
Expand Down
Loading