Repository navigation
feat(workbench): inline plan card, universal plus menu, review triage, and multi-image gallery - #10288
Conversation
…iage, and multi-image gallery Signed-off-by: maxliux5 <5958865+maxliux5@users.noreply.github.com>
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/codex/workbench-timeline-bluelinks-presets
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
|
Superseded by #10266 (which already includes all 6 Workbench UX upgrades cleanly integrated on top of latest main). |
Summary
Stacked cleanly on top of PR #10266 (
codex/workbench-timeline-bluelinks-presets), delivering four cohesive LoopX Workbench UX upgrades validated across desktop and 390px mobile in light and dark themes:Minimalist Composer + Universal
+Menu (Composer.tsx,ComposerMenu.tsx,App.tsx)+ 派工button from the composer bar and standardizes the bottom-left affordance on a single universal+icon on both desktop and mobile.手动派工), and default dispatch preset settings (默认派活预设) inside the+menu.Autonomous In-Chat
TimelinePlanCard+ Single-Dot Default Control + Daemon Override Persistence (TimelineLoopCards.tsx,timeline-stream.ts,DispatchPresetDialog.tsx,steward-inbox.ts,steward-dispatch.ts,http.ts)awaiting_approvalmulti-task plans directly inside the chat timeline in authored order (fixing newest-first reversal insteward-inbox.ts) and suppresses duplicateTimelineDispatchCardrows until the plan is approved.capabilities.permissionModesand normalizing on agent switch), plus a compact single-line○ 保存为默认配置dot toggle with progressive inline升级为全局upgrade (matchingDispatchPresetDialog).POST /api/steward/plans/:planId/approveto persist per-taskagent / model / effort / permissionMode / workspacePolicyoverrides before dispatching; once approved, the plan card collapses in place into compact timeline dispatch cards.Clear
进行中 / 待验收 / 已完成Task Triage (supervision.ts,MainConversationDock.tsx,App.tsx)awaiting_reviewbucket so进行中strictly holds genuinely running tasks while finished-unread / review-pending tasks land in待验收.✓ 接受完成immediately moves it out of待验收into已完成with live pill count updates.Compact Horizontal Multi-Image Thumbnail Strip & Multi-Image Lightbox (
ThreadView.tsx,Lightbox.tsx,styles.css,workbench-surface.css,i18n/locales/{zh,en,ja}.ts)124×84px, corner1/Nbadge) instead of stacking tall images vertically.Lightboxwith multi-image gallery navigation (ArrowLeft/ArrowRight, prev/next stage arrows, unzoomed horizontal swipe,1 / Ncounter, and bottom clickable filmstrip).Delivery Brief
+menu,进行中 / 待验收 / 已完成triage, and compact horizontal multi-image gallery + lightbox flow.apps/workbench(@loopx/workbench-daemonand@loopx/workbench-web); no control-plane or shared Goal Authority schema changes.codex/workbench-timeline-bluelinks-presets(PR feat(workbench): timeline dispatch & patrol cards, entity blue links, dispatch presets, and 6 core UX upgrades #10266,e727f5c9e0) as a single DCO-signed commit (001ae1585a, 22 files).First-Screen Visual Evidence
001ae1585a(production-built@loopx/workbench-daemon+@loopx/workbench-webserved on an isolated loopback port with a synthetic LoopX Core and fake ACP/Pi agents; no public preview URL).1280×860and Mobile390×844, Light & Dark (0pxhorizontal overflow,0console/page errors).+ 派工button and deduplicatingawaiting_approvaltasks beneathTimelinePlanCardkeeps the composer and active plan card clean in the opening viewport; the single small dot○ 保存为默认配置with progressive升级为全局avoids vertical bloat on 390px screens; multi-image replies occupy one compact row (84pxtall).1280×860) — Inline Plan Card & Universal+Menu1280×860) —待验收Triage & 4-Image Strip + Lightbox1280×860) — Compact Single-Row Multi-Image Strip390×844) — Plan Card (Light)390×844) —+Menu (Light)390×844) — Plan Card (Dark)390×844) — Multi-Image Strip (Light)390×844) — Multi-Image Strip (Dark)Verification
python3 scripts/check_rfc_bilingual.py --base origin/codex/workbench-timeline-bluelinks-presets --head HEAD— PASS.cd apps/workbench && npm run typecheck— PASS (6/6 workspaces).npm test -w @loopx/workbench-web— 895/895 PASS (includingtest/plan-card-triage-gallery.test.ts).cd apps/workbench/packages/daemon && npx tsx --test test/dispatch-presets.test.ts test/steward-dispatch.test.ts test/steward-inbox.test.ts test/steward-supervision.test.ts test/steward-ledger.test.ts test/steward-promote.test.ts— 46/46 PASS.cd apps/workbench && npm run buildand./scripts/init.sh --no-build --check— PASS.awaiting_approvaldispatch cards, inline preset/permission chip editing with capability filtering, single-dot保存为默认配置+ inline升级为全局, realPOST /api/steward/plans/:planId/approveoverride persistence,待验收 2→ one-click✓ 接受完成→已完成 2, single-row 4-image strip (uniqueTops=1,height=84px,0pxhorizontal overflow on 390px), and multi-image Lightbox navigation.packages/e2e/test/answer-images.spec.mjsPASS.001ae1585a), zero private paths or internal context in tracked diff or screenshots.