Drafts in every chat, factory chat overlay, factory main switch
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58475ce65e
commit
171b87b766
48 files changed
+754
-10
No files matched your search
+1
-1
@@ -128,7 +128,7 @@ export function App() {
|
||||
);
|
||||
else if (section === "settings") content = <Settings tab={arg} onMenu={openMenu} />;
|
||||
else if (section === "p" && arg) content = <ProjectPage key={arg} cwd={decodeURIComponent(arg)} onMenu={openMenu} />;
|
||||
else if (section === "factory") content = <Factory onMenu={openMenu} />;
|
||||
else if (section === "factory") content = <Factory onMenu={openMenu} overlayId={arg === "s" ? route[2] : undefined} />;
|
||||
else if (section === "stats") content = <Stats onMenu={openMenu} />;
|
||||
else if (section === "images") content = <Images onMenu={openMenu} />;
|
||||
else if (section === "jobs" && arg) content = <JobEditor key={arg} id={arg} onMenu={openMenu} />;
|
||||
|
||||
@@ -543,6 +543,57 @@ function OlderLoader({ sessionId, afterSummary, scrollRef }: { sessionId: string
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Keep the unsent message of a chat on the server, so that it survives a reload and can be continued
|
||||
* on another device: it is saved shortly after typing, loaded when the chat opens and again when the
|
||||
* window comes back – as long as this device has no unsaved edits of its own.
|
||||
*/
|
||||
function useDraftSync(sessionId: string, text: string, setText: (s: string) => void, readOnly: boolean) {
|
||||
const synced = useRef<string | null>(null);
|
||||
const current = useRef(text);
|
||||
current.current = text;
|
||||
const pull = (initial: boolean) => {
|
||||
if (readOnly) return;
|
||||
get<{ text: string }>(`/sessions/${sessionId}/composer-draft`)
|
||||
.then((d) => {
|
||||
// Only take over when nothing was typed here since the last sync (on opening: when the field is empty).
|
||||
const untouched = initial ? current.current === "" : current.current === (synced.current ?? "");
|
||||
if (synced.current === null) synced.current = initial && current.current !== "" ? "" : d.text;
|
||||
if (untouched && d.text !== current.current) {
|
||||
synced.current = d.text;
|
||||
setText(d.text);
|
||||
} else if (initial && current.current === "") synced.current = d.text;
|
||||
})
|
||||
.catch(() => {});
|
||||
};
|
||||
useEffect(() => {
|
||||
synced.current = null;
|
||||
pull(true);
|
||||
const again = () => document.visibilityState === "visible" && pull(false);
|
||||
document.addEventListener("visibilitychange", again);
|
||||
window.addEventListener("focus", again);
|
||||
const h = setInterval(again, 10000);
|
||||
return () => {
|
||||
document.removeEventListener("visibilitychange", again);
|
||||
window.removeEventListener("focus", again);
|
||||
clearInterval(h);
|
||||
};
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [sessionId, readOnly]);
|
||||
useEffect(() => {
|
||||
if (readOnly || synced.current === null || text === synced.current) return;
|
||||
const h = setTimeout(() => {
|
||||
const value = text;
|
||||
put(`/sessions/${sessionId}/composer-draft`, { text: value })
|
||||
.then(() => {
|
||||
synced.current = value;
|
||||
})
|
||||
.catch(() => {});
|
||||
}, 700);
|
||||
return () => clearTimeout(h);
|
||||
}, [text, sessionId, readOnly]);
|
||||
}
|
||||
|
||||
export function ChatView({ sessionId, onMenu, onClosePane }: { sessionId: string; onMenu: () => void; onClosePane?: () => void }) {
|
||||
const t = useT();
|
||||
const session = useStore((s) => s.sessionById[sessionId]);
|
||||
@@ -572,6 +623,7 @@ export function ChatView({ sessionId, onMenu, onClosePane }: { sessionId: string
|
||||
const models = useModels();
|
||||
const [loadError, setLoadError] = useState<string>();
|
||||
const [text, setText] = useState(() => takePrefill(sessionId) ?? "");
|
||||
useDraftSync(sessionId, text, setText, readOnly);
|
||||
const [stats, setStats] = useState<SessionStats>();
|
||||
const [showStats, setShowStats] = useState(false);
|
||||
const [editingTitle, setEditingTitle] = useState(false);
|
||||
|
||||
@@ -7,6 +7,7 @@ import { Icon } from "./Icon";
|
||||
import { Spinner } from "./Activity";
|
||||
import { ModelSelect } from "./ModelSelect";
|
||||
import { RecreateDialog } from "./FactoryDraft";
|
||||
import { ChatOverlay, openFactoryChat } from "./FactoryChat";
|
||||
import { ReleaseDialog, ReleasesPanel, type ReleaseRow } from "./FactoryRelease";
|
||||
|
||||
interface PrInfo {
|
||||
@@ -76,6 +77,9 @@ interface Issue {
|
||||
pr_url: string;
|
||||
branch: string;
|
||||
rounds: number;
|
||||
/** Newest phase chat that still exists. */
|
||||
chat_session?: string;
|
||||
chat_phase?: Phase;
|
||||
created_at: number;
|
||||
updated_at: number;
|
||||
}
|
||||
@@ -114,8 +118,15 @@ interface RepoInfo {
|
||||
running: number;
|
||||
version?: string | null;
|
||||
}
|
||||
interface Power {
|
||||
on: boolean;
|
||||
/** Agents that are working right now. */
|
||||
active: number;
|
||||
state: "running" | "stopping" | "stopped";
|
||||
}
|
||||
interface Overview {
|
||||
area: boolean;
|
||||
power?: Power;
|
||||
repos: RepoInfo[];
|
||||
issues: Issue[];
|
||||
runs: Run[];
|
||||
@@ -147,7 +158,7 @@ function fmtDuration(ms: number) {
|
||||
const runMs = (r: Run, now: number) => (r.ended_at ?? now) - r.started_at;
|
||||
|
||||
/** Software factory: spec issues in Gitea are reviewed, built and accepted by agents with a model per phase. */
|
||||
export function Factory({ onMenu }: { onMenu: () => void }) {
|
||||
export function Factory({ onMenu, overlayId }: { onMenu: () => void; overlayId?: string }) {
|
||||
const t = useT();
|
||||
const [tab, setTab] = useState<"overview" | "settings">("overview");
|
||||
return (
|
||||
@@ -168,14 +179,33 @@ export function Factory({ onMenu }: { onMenu: () => void }) {
|
||||
</div>
|
||||
</div>
|
||||
<div className="page">
|
||||
<div className="page-inner" style={{ maxWidth: 1280 }}>
|
||||
<div className="page-inner" style={{ maxWidth: tab === "overview" ? "none" : 1280 }}>
|
||||
{tab === "overview" ? <FactoryOverview onSettings={() => setTab("settings")} /> : <FactorySettings />}
|
||||
</div>
|
||||
</div>
|
||||
{overlayId && <ChatOverlay id={overlayId} />}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
/** The factory's main switch, coloured by state: green = running, yellow = stopping, red = stopped. */
|
||||
function PowerSwitch({ power, onToggle }: { power: Power; onToggle: (on: boolean) => void }) {
|
||||
const t = useT();
|
||||
const label = power.state === "running" ? t("factory.power.running") : power.state === "stopping" ? t("factory.power.stopping", { n: power.active }) : t("factory.power.stopped");
|
||||
const hint = power.on ? t("factory.power.stopHint") : t("factory.power.startHint");
|
||||
return (
|
||||
<button type="button" role="switch" aria-checked={power.on} className={`factory-power ${power.state}`} onClick={() => onToggle(!power.on)} title={hint}>
|
||||
<span className="factory-power-track">
|
||||
<span className="factory-power-knob" />
|
||||
</span>
|
||||
<span className="factory-power-text">
|
||||
<b>{label}</b>
|
||||
<span className="hint">{hint}</span>
|
||||
</span>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
function FactoryOverview({ onSettings }: { onSettings: () => void }) {
|
||||
const t = useT();
|
||||
const [data, setData] = useState<Overview>();
|
||||
@@ -417,10 +447,21 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
|
||||
}
|
||||
};
|
||||
const phaseRunning = !!selected && ["review", "building", "testing"].includes(selected.state);
|
||||
/** Master switch: a soft stop – no new agent starts, running ones finish their phase. */
|
||||
const setPower = async (on: boolean) => {
|
||||
try {
|
||||
const power = await post<Power>("/factory/power", { on });
|
||||
setData((d) => (d ? { ...d, power } : d));
|
||||
void reload();
|
||||
} catch (e: any) {
|
||||
toast(e.message);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
{!data.area && <div className="notice err">{t("factory.noArea")}</div>}
|
||||
{data.power && <PowerSwitch power={data.power} onToggle={(on) => void setPower(on)} />}
|
||||
<div className="kpis">
|
||||
<div className="kpi">
|
||||
<div className="k-label">{t("factory.kpi.running")}</div>
|
||||
@@ -539,8 +580,32 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
|
||||
const tokens = rs.reduce((a, r) => a + r.input_tokens + r.output_tokens, 0);
|
||||
return (
|
||||
<button key={`${i.repo}#${i.number}`} data-state={i.state} className={`factory-card ${sel === `${i.repo}#${i.number}` ? "active" : ""} ${active ? "running" : ""}`} onClick={() => setSel(sel === `${i.repo}#${i.number}` ? "" : `${i.repo}#${i.number}`)}>
|
||||
<span className="hint">
|
||||
{repoName(i.repo)} #{i.number}
|
||||
<span className="factory-card-head">
|
||||
<span className="hint">
|
||||
{repoName(i.repo)} #{i.number}
|
||||
</span>
|
||||
{i.chat_session && (
|
||||
<span
|
||||
role="link"
|
||||
tabIndex={0}
|
||||
className="factory-open"
|
||||
title={`${t("factory.openChat")}: ${t(`factory.phase.${i.chat_phase ?? "review"}` as any)}`}
|
||||
aria-label={t("factory.openChat")}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
openFactoryChat(i.chat_session!);
|
||||
}}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" || e.key === " ") {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
openFactoryChat(i.chat_session!);
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Icon name="eye" />
|
||||
</span>
|
||||
)}
|
||||
</span>
|
||||
<b>{i.title || `#${i.number}`}</b>
|
||||
{latest && (
|
||||
@@ -677,7 +742,7 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
|
||||
</td>
|
||||
<td>{fmtCost(r.cost, "USD")}</td>
|
||||
<td>
|
||||
<button className="small" onClick={() => navigate(`/s/${r.session_id}`)}>
|
||||
<button className="small" onClick={() => openFactoryChat(r.session_id)}>
|
||||
<Icon name="eye" /> {t("factory.openChat")}
|
||||
</button>
|
||||
</td>
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
import { useEffect } from "react";
|
||||
import { navigate } from "../router";
|
||||
import { useT } from "../i18n";
|
||||
import { ChatView } from "./ChatView";
|
||||
import { Icon } from "./Icon";
|
||||
|
||||
/** Desktop only: chats of the factory open over the board and are closed with one click. */
|
||||
export const isDesktop = () => window.matchMedia("(min-width: 801px)").matches;
|
||||
|
||||
/** Open the chat of a phase: in the overlay on the desktop, as a page on small screens. */
|
||||
export function openFactoryChat(sessionId: string) {
|
||||
navigate(isDesktop() ? `/factory/s/${sessionId}` : `/s/${sessionId}`);
|
||||
}
|
||||
|
||||
export function ChatOverlay({ id }: { id: string }) {
|
||||
const t = useT();
|
||||
const close = () => navigate("/factory");
|
||||
useEffect(() => {
|
||||
const onKey = (e: KeyboardEvent) => {
|
||||
// Esc closes – unless it is meant for a field, a dialog or the image viewer on top.
|
||||
const el = document.activeElement;
|
||||
const typing = el instanceof HTMLTextAreaElement || el instanceof HTMLInputElement || el instanceof HTMLSelectElement;
|
||||
if (e.key === "Escape" && !typing && !document.querySelector(".modal-backdrop, .viewer-overlay")) close();
|
||||
};
|
||||
window.addEventListener("keydown", onKey);
|
||||
return () => window.removeEventListener("keydown", onKey);
|
||||
}, []);
|
||||
return (
|
||||
<div className="chat-overlay" onMouseDown={(e) => e.target === e.currentTarget && close()}>
|
||||
<div className="chat-overlay-box" role="dialog" aria-modal="true">
|
||||
<div className="chat-overlay-bar">
|
||||
<span className="hint">{t("factory.chatOverlay")}</span>
|
||||
<span className="spacer" />
|
||||
<button className="small" onClick={() => navigate(`/s/${id}`)} title={t("factory.openFullHint")}>
|
||||
<Icon name="external" /> {t("factory.openFull")}
|
||||
</button>
|
||||
<button className="small" onClick={close} aria-label={t("common.close")}>
|
||||
<Icon name="close" /> {t("common.close")}
|
||||
</button>
|
||||
</div>
|
||||
<div className="chat-overlay-body">
|
||||
<ChatView key={id} sessionId={id} onMenu={close} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1235,6 +1235,14 @@ export const de: Messages = {
|
||||
"factory.backlog.empty": "Keine offenen Issues außerhalb der Factory",
|
||||
"factory.backlog.error": "Der Forge konnte für einige Projekte nicht gelesen werden",
|
||||
"factory.col.backlog": "Backlog",
|
||||
"factory.chatOverlay": "Chat der Factory",
|
||||
"factory.openFull": "Als Seite öffnen",
|
||||
"factory.openFullHint": "Den Chat im ganzen Fenster öffnen",
|
||||
"factory.power.running": "Factory läuft",
|
||||
"factory.power.stopping": "Factory stoppt – {n} Agent(en) arbeiten noch",
|
||||
"factory.power.stopped": "Factory gestoppt",
|
||||
"factory.power.stopHint": "Klicken zum Stoppen: keine neuen Agenten, laufende werden fertig",
|
||||
"factory.power.startHint": "Klicken, um die Factory zu starten",
|
||||
"factory.col.review": "Prüfung",
|
||||
"factory.col.question": "Rückfragen",
|
||||
"factory.col.approved": "Freigegeben",
|
||||
|
||||
@@ -1234,6 +1234,14 @@ export const en = {
|
||||
"factory.backlog.empty": "No open issues outside the factory",
|
||||
"factory.backlog.error": "The forge could not be read for some projects",
|
||||
"factory.col.backlog": "Backlog",
|
||||
"factory.chatOverlay": "Chat of the factory",
|
||||
"factory.openFull": "Open as page",
|
||||
"factory.openFullHint": "Open the chat in the full window",
|
||||
"factory.power.running": "Factory running",
|
||||
"factory.power.stopping": "Factory stopping – {n} agent(s) still working",
|
||||
"factory.power.stopped": "Factory stopped",
|
||||
"factory.power.stopHint": "Click to stop: no new agents start, running ones finish",
|
||||
"factory.power.startHint": "Click to start the factory",
|
||||
"factory.col.review": "Review",
|
||||
"factory.col.question": "Questions",
|
||||
"factory.col.approved": "Approved",
|
||||
|
||||
@@ -5168,6 +5168,142 @@ td.fold-indent {
|
||||
grid-column: span 2;
|
||||
min-width: 0;
|
||||
}
|
||||
/* Main switch of the factory. The colours come from the theme (--power-on / -warn / -off). */
|
||||
.factory-power {
|
||||
--tone: var(--power-off, var(--red));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
width: 100%;
|
||||
margin: 0 0 12px;
|
||||
padding: 10px 16px;
|
||||
text-align: left;
|
||||
color: var(--fg0);
|
||||
background: color-mix(in srgb, var(--tone) 18%, var(--bg1));
|
||||
border: 2px solid var(--tone);
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: background 0.25s, border-color 0.25s;
|
||||
}
|
||||
.factory-power.running {
|
||||
--tone: var(--power-on, var(--green));
|
||||
}
|
||||
.factory-power.stopping {
|
||||
--tone: var(--power-warn, var(--accent));
|
||||
}
|
||||
.factory-power.stopped {
|
||||
--tone: var(--power-off, var(--red));
|
||||
}
|
||||
.factory-power:hover {
|
||||
background: color-mix(in srgb, var(--tone) 26%, var(--bg1));
|
||||
}
|
||||
.factory-power-track {
|
||||
position: relative;
|
||||
flex: none;
|
||||
width: 52px;
|
||||
height: 28px;
|
||||
border-radius: 14px;
|
||||
background: var(--tone);
|
||||
transition: background 0.25s;
|
||||
}
|
||||
.factory-power-knob {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
background: var(--bg0);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
/* on = knob right; stopping is still "off" but pulses until the last agent is done */
|
||||
.factory-power.running .factory-power-knob {
|
||||
transform: translateX(24px);
|
||||
}
|
||||
.factory-power.stopping .factory-power-track {
|
||||
animation: factory-pulse 1.4s ease-in-out infinite;
|
||||
}
|
||||
.factory-power-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1px;
|
||||
}
|
||||
.factory-power-text b {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
/* Chats of the factory open over the board. */
|
||||
.chat-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 25;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3vh 3vw;
|
||||
}
|
||||
.chat-overlay-box {
|
||||
width: min(1200px, 100%);
|
||||
height: 100%;
|
||||
background: var(--bg0);
|
||||
border: 1px solid var(--bg2);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow, 0 12px 40px rgba(0, 0, 0, 0.45));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
.chat-overlay-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 12px;
|
||||
background: var(--bg1);
|
||||
border-bottom: 1px solid var(--bg2);
|
||||
}
|
||||
.chat-overlay-body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@media (max-width: 800px) {
|
||||
.chat-overlay {
|
||||
padding: 0;
|
||||
}
|
||||
.chat-overlay-box {
|
||||
border-radius: 0;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
.factory-card-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
width: 100%;
|
||||
}
|
||||
.factory-open {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 6px;
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
}
|
||||
.factory-open:hover,
|
||||
.factory-open:focus-visible {
|
||||
color: var(--fg0);
|
||||
background: var(--bg2);
|
||||
}
|
||||
.factory-open .icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
.factory-card.active {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #1c1b1f;
|
||||
--red: #c15c46;
|
||||
--green: #8f9a5c;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #8f9a5c;
|
||||
--power-warn: #d9b45a;
|
||||
--power-off: #c15c46;
|
||||
--aqua: #8aa89a;
|
||||
--blue: #7c9aa1;
|
||||
--purple: #b47e99;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #96392a;
|
||||
--green: #5c6631;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #5c6631;
|
||||
--power-warn: #9a7413;
|
||||
--power-off: #96392a;
|
||||
--aqua: #3d6b72;
|
||||
--blue: #3d6b72;
|
||||
--purple: #7c4a66;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #1e1e2e;
|
||||
--red: #f38ba8;
|
||||
--green: #a6e3a1;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #a6e3a1;
|
||||
--power-warn: #f9e2af;
|
||||
--power-off: #f38ba8;
|
||||
--aqua: #94e2d5;
|
||||
--blue: #89b4fa;
|
||||
--purple: #f5c2e7;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #d20f39;
|
||||
--green: #40a02b;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #40a02b;
|
||||
--power-warn: #df8e1d;
|
||||
--power-off: #d20f39;
|
||||
--aqua: #179299;
|
||||
--blue: #1e66f5;
|
||||
--purple: #ea76cb;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #1d150f;
|
||||
--red: #d78a6f;
|
||||
--green: #b5b27a;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #a9b86a;
|
||||
--power-warn: #e8c36a;
|
||||
--power-off: #d4694f;
|
||||
--aqua: #9fb8a8;
|
||||
--blue: #a3b4c7;
|
||||
--purple: #cf90a2;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #a4405e;
|
||||
--green: #4f6b00;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #4f6b00;
|
||||
--power-warn: #a8780a;
|
||||
--power-off: #a93a2e;
|
||||
--aqua: #3f6b5e;
|
||||
--blue: #8e2d53;
|
||||
--purple: #7a003b;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #282a36;
|
||||
--red: #ff5555;
|
||||
--green: #50fa7b;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #50fa7b;
|
||||
--power-warn: #f1fa8c;
|
||||
--power-off: #ff5555;
|
||||
--aqua: #8be9fd;
|
||||
--blue: #8be9fd;
|
||||
--purple: #ff79c6;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #cb3a2a;
|
||||
--green: #14710a;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #14710a;
|
||||
--power-warn: #846e15;
|
||||
--power-off: #cb3a2a;
|
||||
--aqua: #036a96;
|
||||
--blue: #036a96;
|
||||
--purple: #a3144d;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #2d353b;
|
||||
--red: #e67e80;
|
||||
--green: #a7c080;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #a7c080;
|
||||
--power-warn: #dbbc7f;
|
||||
--power-off: #e67e80;
|
||||
--aqua: #83c092;
|
||||
--blue: #7fbbb3;
|
||||
--purple: #d699b6;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #2d353b;
|
||||
--red: #f85552;
|
||||
--green: #8da101;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #8da101;
|
||||
--power-warn: #dfa000;
|
||||
--power-off: #f85552;
|
||||
--aqua: #35a77c;
|
||||
--blue: #3a94c5;
|
||||
--purple: #df69ba;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #0d1117;
|
||||
--red: #f85149;
|
||||
--green: #3fb950;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #3fb950;
|
||||
--power-warn: #d29922;
|
||||
--power-off: #f85149;
|
||||
--aqua: #39c5cf;
|
||||
--blue: #58a6ff;
|
||||
--purple: #bc8cff;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #d1242f;
|
||||
--green: #1a7f37;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #1a7f37;
|
||||
--power-warn: #9a6700;
|
||||
--power-off: #d1242f;
|
||||
--aqua: #1b7c83;
|
||||
--blue: #0969da;
|
||||
--purple: #8250df;
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
--on-accent: #282828;
|
||||
--red: #fb4934;
|
||||
--green: #b8bb26;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #b8bb26;
|
||||
--power-warn: #fabd2f;
|
||||
--power-off: #fb4934;
|
||||
--aqua: #8ec07c;
|
||||
--blue: #83a598;
|
||||
--purple: #d3869b;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #282828;
|
||||
--red: #9d0006;
|
||||
--green: #79740e;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #79740e;
|
||||
--power-warn: #b57614;
|
||||
--power-off: #9d0006;
|
||||
--aqua: #427b58;
|
||||
--blue: #076678;
|
||||
--purple: #8f3f71;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #1b1b1b;
|
||||
--red: #f44336;
|
||||
--green: #a99b7a;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #8fae72;
|
||||
--power-warn: #e0b350;
|
||||
--power-off: #f44336;
|
||||
--aqua: #8a9ba6;
|
||||
--blue: #77838a;
|
||||
--purple: #e58980;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #b14752;
|
||||
--green: #556753;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #5a7a43;
|
||||
--power-warn: #a87b1a;
|
||||
--power-off: #b14752;
|
||||
--aqua: #3d727d;
|
||||
--blue: #4c6c94;
|
||||
--purple: #8a5b81;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #1f1f28;
|
||||
--red: #e46876;
|
||||
--green: #98bb6c;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #98bb6c;
|
||||
--power-warn: #e6c384;
|
||||
--power-off: #e46876;
|
||||
--aqua: #7aa89f;
|
||||
--blue: #7fb4ca;
|
||||
--purple: #957fb8;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #c84053;
|
||||
--green: #6f894e;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #6f894e;
|
||||
--power-warn: #b07a00;
|
||||
--power-off: #c84053;
|
||||
--aqua: #597b75;
|
||||
--blue: #4d699b;
|
||||
--purple: #624c83;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #2e3440;
|
||||
--red: #bf616a;
|
||||
--green: #a3be8c;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #a3be8c;
|
||||
--power-warn: #ebcb8b;
|
||||
--power-off: #bf616a;
|
||||
--aqua: #8fbcbb;
|
||||
--blue: #81a1c1;
|
||||
--purple: #b48ead;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #a9434d;
|
||||
--green: #5f7d48;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #5f7d48;
|
||||
--power-warn: #9a7b2f;
|
||||
--power-off: #a9434d;
|
||||
--aqua: #4d8a89;
|
||||
--blue: #5e81ac;
|
||||
--purple: #8f6a8a;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #282c34;
|
||||
--red: #e06c75;
|
||||
--green: #98c379;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #98c379;
|
||||
--power-warn: #e5c07b;
|
||||
--power-off: #e06c75;
|
||||
--aqua: #56b6c2;
|
||||
--blue: #61afef;
|
||||
--purple: #c678dd;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #e45649;
|
||||
--green: #50a14f;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #50a14f;
|
||||
--power-warn: #c18401;
|
||||
--power-off: #e45649;
|
||||
--aqua: #0184bc;
|
||||
--blue: #4078f2;
|
||||
--purple: #a626a4;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #191724;
|
||||
--red: #eb6f92;
|
||||
--green: #9ccfd8;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #95b88f;
|
||||
--power-warn: #f6c177;
|
||||
--power-off: #eb6f92;
|
||||
--aqua: #9ccfd8;
|
||||
--blue: #31748f;
|
||||
--purple: #c4a7e7;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #b4637a;
|
||||
--green: #56949f;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #5e8f60;
|
||||
--power-warn: #c98a1b;
|
||||
--power-off: #b4637a;
|
||||
--aqua: #56949f;
|
||||
--blue: #286983;
|
||||
--purple: #907aa9;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #002b36;
|
||||
--red: #dc322f;
|
||||
--green: #859900;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #859900;
|
||||
--power-warn: #b58900;
|
||||
--power-off: #dc322f;
|
||||
--aqua: #2aa198;
|
||||
--blue: #268bd2;
|
||||
--purple: #6c71c4;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #002b36;
|
||||
--red: #dc322f;
|
||||
--green: #859900;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #859900;
|
||||
--power-warn: #b58900;
|
||||
--power-off: #dc322f;
|
||||
--aqua: #2aa198;
|
||||
--blue: #268bd2;
|
||||
--purple: #6c71c4;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #232a44;
|
||||
--red: #d47a6a;
|
||||
--green: #96b4bc;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #8fb98a;
|
||||
--power-warn: #e0b860;
|
||||
--power-off: #d47a6a;
|
||||
--aqua: #96b4bc;
|
||||
--blue: #7aa0cc;
|
||||
--purple: #c896b2;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #f0ead9;
|
||||
--red: #8a3028;
|
||||
--green: #4a5a3a;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #4a6b3a;
|
||||
--power-warn: #9a7218;
|
||||
--power-off: #8a3028;
|
||||
--aqua: #3a5a6a;
|
||||
--blue: #3a5a8a;
|
||||
--purple: #5a4a72;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #24283b;
|
||||
--red: #f7768e;
|
||||
--green: #9ece6a;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #9ece6a;
|
||||
--power-warn: #e0af68;
|
||||
--power-off: #f7768e;
|
||||
--aqua: #73daca;
|
||||
--blue: #7aa2f7;
|
||||
--purple: #bb9af7;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #f52a65;
|
||||
--green: #587539;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #587539;
|
||||
--power-warn: #8c6c3e;
|
||||
--power-off: #f52a65;
|
||||
--aqua: #118c74;
|
||||
--blue: #2e7de9;
|
||||
--purple: #9854f1;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #f14c4c;
|
||||
--green: #89d185;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #89d185;
|
||||
--power-warn: #cca700;
|
||||
--power-off: #f14c4c;
|
||||
--aqua: #4ec9b0;
|
||||
--blue: #3794ff;
|
||||
--purple: #c586c0;
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
--on-accent: #ffffff;
|
||||
--red: #cd3131;
|
||||
--green: #388a34;
|
||||
/* Factory master switch: running / stopping / stopped */
|
||||
--power-on: #388a34;
|
||||
--power-warn: #bf8803;
|
||||
--power-off: #cd3131;
|
||||
--aqua: #267f99;
|
||||
--blue: #005fb8;
|
||||
--purple: #af00db;
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
* under "unreleased"; scripts/release.sh renames the key to the release version.
|
||||
*/
|
||||
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
|
||||
unreleased: {
|
||||
en: ["Unsent messages are saved per chat and can be continued on another device (web and terminal client)", "Factory: main switch (green running, yellow stopping, red stopped) with a soft stop – running agents finish", "Factory: chats open in an overlay on the desktop; every issue card has an open-chat button; the overview uses the full width"],
|
||||
de: ["Ungesendete Nachrichten werden pro Chat gespeichert und lassen sich auf einem anderen Gerät fortsetzen (Web und Terminal-Client)", "Factory: Hauptschalter (grün läuft, gelb stoppt, rot gestoppt) mit sanftem Stopp – laufende Agenten werden fertig", "Factory: Chats öffnen auf dem Desktop in einem Overlay; jede Issue-Karte hat einen Chat-Knopf; die Übersicht nutzt die volle Breite"],
|
||||
},
|
||||
"202611-00070": {
|
||||
en: ["Factory backlog: wider column, titles on one line"],
|
||||
de: ["Factory-Backlog: breitere Spalte, Titel einzeilig"],
|
||||
|
||||
Reference in new issue
Block a user