From 3b6cd70d5b81de76af1b323b42ca9c4ef12472b5 Mon Sep 17 00:00:00 2001 From: bboysoul Date: Thu, 24 Sep 2026 06:10:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E5=AF=BC=E8=88=AA=E5=A4=87=E5=BF=98=E5=BD=95=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E6=94=B9=E4=B8=BA=E4=B8=93=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/e2e/mobile-ui.spec.ts | 2 +- frontend/src/App.vue | 2 +- frontend/src/CalendarIntegration.test.ts | 2 +- frontend/src/MemoIntegration.test.ts | 4 ++-- frontend/src/PomodoroIntegration.test.ts | 5 +++-- frontend/src/style.test.ts | 5 +++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/frontend/e2e/mobile-ui.spec.ts b/frontend/e2e/mobile-ui.spec.ts index 32c889a..8902452 100644 --- a/frontend/e2e/mobile-ui.spec.ts +++ b/frontend/e2e/mobile-ui.spec.ts @@ -160,7 +160,7 @@ test('all bottom destinations expose one active page and desktop layout stays un const navigation = page.getByRole('navigation', { name: '主要导航' }) const mobile = (await page.viewportSize())!.width <= 930 if (mobile) { - for (const label of ['今天', '习惯', '倒数日', '备忘录', '日历订阅']) { + for (const label of ['今天', '习惯', '倒数日', '专注', '日历订阅']) { await bottomTab(page, label).click() await expect(navigation.locator('[aria-current="page"]')).toHaveCount(1) await expect(bottomTab(page, label)).toHaveAttribute('aria-current', 'page') diff --git a/frontend/src/App.vue b/frontend/src/App.vue index a3caf80..95ce25a 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1910,7 +1910,7 @@ onUnmounted(() => { - +

{{ taskComposeTitle }}

diff --git a/frontend/src/CalendarIntegration.test.ts b/frontend/src/CalendarIntegration.test.ts index f7e54bf..fcd8b17 100644 --- a/frontend/src/CalendarIntegration.test.ts +++ b/frontend/src/CalendarIntegration.test.ts @@ -2,7 +2,7 @@ import { readFileSync } from 'node:fs' import { describe,expect,it } from 'vitest' const app=readFileSync('src/App.vue','utf8');const utils=readFileSync('src/lib/mvp-utils.ts','utf8');const css=readFileSync('src/calendar.css','utf8') describe('calendar shell integration',()=>{ - it('puts calendar beside the other first-level tools on desktop and mobile',()=>{const nav=app.slice(app.indexOf('',app.indexOf('