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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
set(VCPKG_TARGET_TRIPLET "x64-windows-static" CACHE STRING "Vcpkg target triplet" FORCE)
endif()

project(acecode VERSION 0.9.26 LANGUAGES C CXX)
project(acecode VERSION 0.9.27 LANGUAGES C CXX)

option(ACECODE_TUI_INPUT_TRACE "Enable verbose TUI input event trace logging." OFF)
option(ACECODE_DEEPIN "Build the dedicated UOS/Deepin Linux variant." OFF)
Expand Down Expand Up @@ -102,7 +102,7 @@
set(ACECODE_WEB_DIST "${CMAKE_SOURCE_DIR}/web/dist")
set(ACECODE_WEB_EMBED_DIR "${ACECODE_WEB_DIST}")
if(NOT EXISTS "${ACECODE_WEB_DIST}")
message(WARNING

Check warning on line 105 in CMakeLists.txt

View workflow job for this annotation

GitHub Actions / unit-tests (linux-x64)

[acecode] web/dist/ not found — embedding a minimal fallback page. Run
"[acecode] web/dist/ not found — embedding a minimal fallback page. "
"Run `pnpm install && pnpm build` inside web/ before re-configuring for the full UI.")
set(ACECODE_WEB_EMBED_DIR "${CMAKE_BINARY_DIR}/generated/web-dist-fallback")
Expand Down
36 changes: 18 additions & 18 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "acecode",
"version-semver": "0.9.26",
"dependencies": [
"cpr",
"crow",
"ftxui",
"libzip",
"nlohmann-json",
"sqlite3"
],
"features": {
"tests": {
"description": "Dependencies required only by ACECode unit tests",
"dependencies": [
"gtest"
]
}
}
"name": "acecode",
"version-semver": "0.9.27",
"dependencies": [
"cpr",
"crow",
"ftxui",
"libzip",
"nlohmann-json",
"sqlite3"
],
"features": {
"tests": {
"description": "Dependencies required only by ACECode unit tests",
"dependencies": [
"gtest"
]
}
}
}
2 changes: 0 additions & 2 deletions web/src/i18n/sourceCatalog.generated.js

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

2 changes: 1 addition & 1 deletion web/src/i18n/sourceCatalog.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const moduleScopeFixtures = [
},
{
file: 'lib/sidebarNavigation.js',
copy: ['新建任务', '扩展', '定时任务', '置顶任务', '任务', '工作区', '模型', 'MCP 服务器', '技能', '专家组件'],
copy: ['新建任务', '扩展', '定时任务', '置顶', '任务', '工作区', '模型', 'MCP 服务器', '技能', '专家组件'],
},
{
file: 'lib/permissionMode.js',
Expand Down
2 changes: 1 addition & 1 deletion web/src/lib/sidebarNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const SIDEBAR_SECTION_IDS = Object.freeze({
});

export const SIDEBAR_SECTION_LABELS = Object.freeze({
[SIDEBAR_SECTION_IDS.PINNED]: '置顶任务',
[SIDEBAR_SECTION_IDS.PINNED]: '置顶',
[SIDEBAR_SECTION_IDS.TASKS]: '任务',
[SIDEBAR_SECTION_IDS.WORKSPACES]: '工作区',
});
Expand Down
4 changes: 2 additions & 2 deletions web/src/lib/sidebarNavigation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ test('drop index counts the other rows whose midpoint is above the pointer', ()

test('sidebar sections use confirmed labels and default expanded state', () => {
assert.deepEqual(SIDEBAR_SECTION_LABELS, {
pinned: '置顶任务',
pinned: '置顶',
tasks: '任务',
workspaces: '工作区',
});
Expand All @@ -133,7 +133,7 @@ test('sidebar section counts separate pinned tasks, no-workspace tasks, and work
workspaces: [{ hash: 'w1' }, { hash: 'w2' }, { hash: 'w3' }],
});
assert.deepEqual(counts, { pinned: 2, tasks: 1, workspaces: 3 });
assert.equal(sidebarSectionTitle(SIDEBAR_SECTION_IDS.PINNED, counts.pinned), '置顶任务 (2)');
assert.equal(sidebarSectionTitle(SIDEBAR_SECTION_IDS.PINNED, counts.pinned), '置顶 (2)');
assert.equal(sidebarSectionTitle(SIDEBAR_SECTION_IDS.TASKS, counts.tasks), '任务 (1)');
assert.equal(sidebarSectionTitle(SIDEBAR_SECTION_IDS.WORKSPACES, counts.workspaces), '工作区 (3)');
assert.deepEqual(sidebarSectionCounts(), { pinned: 0, tasks: 0, workspaces: 0 });
Expand Down
Loading