From 724405b245bcfa06dff89e7a6ecd56244e91fdf0 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Fri, 20 Nov 2026 12:45:59 +0100 Subject: [PATCH] Factory: blinking blue lamp while a phase is being prepared Co-Authored-By: Claude Sonnet 5.5 --- CHANGELOG.md | 6 ++++++ web/src/components/Factory.tsx | 12 ++++++++++-- web/src/i18n/de.ts | 3 +++ web/src/i18n/en.ts | 3 +++ web/src/styles.css | 7 +++++++ web/src/whatsnew.ts | 4 ++++ 6 files changed, 33 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da7bab2..80cda89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/); until 1.0, minor versions may contain breaking changes. +## [Unreleased] + +### Added + +- **Factory: "preparing" lamp.** An issue card whose phase has been started but whose chat does not exist yet – checkout and, for acceptance, installing and starting the app in its throw-away container – shows a blinking blue lamp with the elapsed time instead of staying silent. (Active chats keep their accent-coloured lamp.) + ## [v202611-00071] – 2026-11-20 ### Added diff --git a/web/src/components/Factory.tsx b/web/src/components/Factory.tsx index 8c2fdd9..282ba6f 100644 --- a/web/src/components/Factory.tsx +++ b/web/src/components/Factory.tsx @@ -577,9 +577,11 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) { const rs = runsOf(i); const active = rs.find((r) => !r.ended_at); const latest = active ?? rs[0]; + // Claimed by a phase but no chat yet: checkout, and – for acceptance – installing and starting the app in its throw-away container. + const preparing = !active && ["review", "building", "testing"].includes(i.state); const tokens = rs.reduce((a, r) => a + r.input_tokens + r.output_tokens, 0); return ( -