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
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export function BatchHeader({ onNewGroup }: BatchHeaderProps): React.JSX.Element
return (
<header className="flex shrink-0 items-center justify-between border-b border-border bg-card/60 px-6 py-3.5">
<div className="flex flex-col gap-0.5">
<h1 className="text-lg font-semibold tracking-tight text-foreground">批量任务</h1>
<h1 className="font-heading text-lg font-semibold tracking-tight text-foreground">
批量任务
</h1>
<p className="text-xs text-muted-foreground">
把多个项目的脚本串成一条流水线,并行或按顺序启动,失败即停止。
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ export function ProjectWorkspace({

return (
<div className="flex h-full min-h-0 flex-col bg-background">
<header className="flex shrink-0 items-center justify-between border-b border-border px-4 py-3 md:px-6">
<div>
<h1 className="font-heading text-base font-semibold text-foreground">项目</h1>
<p className="mt-0.5 text-xs text-muted-foreground">选择项目查看脚本、终端与运行历史</p>
<header className="flex shrink-0 items-center justify-between border-b border-border bg-card/60 px-6 py-3.5">
<div className="flex flex-col gap-0.5">
<h1 className="font-heading text-lg font-semibold tracking-tight text-foreground">
项目
</h1>
<p className="text-xs text-muted-foreground">选择项目查看脚本、终端与运行历史</p>
</div>
</header>
<div className="flex min-h-0 flex-1 flex-col sm:flex-row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,22 @@ export function ScheduleWorkspace(): React.JSX.Element {

return (
<div className="flex h-full min-h-0 flex-col overflow-hidden bg-background">
<header className="flex shrink-0 items-center justify-between border-b border-border px-5 py-4">
<div>
<h1 className="text-lg font-semibold tracking-tight">定时任务</h1>
<p className="mt-1 text-xs text-muted-foreground">
<header className="flex shrink-0 items-center justify-between border-b border-border bg-card/60 px-6 py-3.5">
<div className="flex flex-col gap-0.5">
<h1 className="font-heading text-lg font-semibold tracking-tight text-foreground">
定时任务
</h1>
<p className="text-xs text-muted-foreground">
按计划启动脚本或批量任务。DevHub 退出后不会执行,也不会补执行错过的计划。
</p>
</div>
{access.manage && (
<Button size="sm" onClick={() => setEditing(null)} className="gap-1.5">
<Plus className="size-4" data-icon="inline-start" />
<Button
size="sm"
onClick={() => setEditing(null)}
className="h-8 gap-1.5 bg-primary px-3 text-xs font-semibold text-primary-foreground shadow-xs hover:bg-primary/90"
>
<Plus className="size-3.5" data-icon="inline-start" />
新建定时任务
</Button>
)}
Expand Down
1 change: 1 addition & 0 deletions docs/PROGRESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ M4-3 Android:
- #137 已发布(v1.12.0):修复批量任务子任务运行态仍显示灰色已完成与编辑弹窗名称输入框左边框遮挡;抽离纯 TS 状态解析函数 `resolveGroupStatus` 并补齐单测,批量列表与详情联动长任务活跃态高亮,更新相关 E2E 断言;`pnpm check` 与 Playwright `pnpm e2e` 全部通过。
- #138 已发布(v1.12.0):项目详情脚本列表支持显式排序(默认/名称升降序/运行中优先),排序保持来源分组内生效,持久化存入 localStorage;纯函数测试与 Playwright E2E 全部通过。
- #141 已发布(v1.12.0):为每一个脚本增加启动成功的检测标识与多模态就绪感知;支持 ports/http/output/alive 多模态探针与 alive 默认存活窗口,UI 渲染启动呼吸/就绪常亮/无响应警告指示灯与悬停目标提示,无障碍友好;单测与 Playwright E2E 全部通过。
- #143 已完成:统一右侧工作区顶栏与操作按钮样式规范;统一使用 bg-card/60 顶栏容器底色与 px-6 py-3.5 内边距,统一主副标题间距(gap-0.5)与 font-heading 字族,统一新建操作按钮尺寸(h-8 px-3 text-xs font-semibold shadow-xs)与图标尺寸(size-3.5);pnpm check 与 Playwright pnpm e2e 全部通过。

桌面 MVP 发布:

Expand Down