Compare commits

..
4 Commits
42 changed files with 203 additions and 19 deletions

No files matched your search

+13
View File
@@ -3,6 +3,19 @@
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/); All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
until 1.0, minor versions may contain breaking changes. until 1.0, minor versions may contain breaking changes.
## [v202611-00075] – 2026-11-20
### Changed
- **Factory: the "preparing" lamp** (checkout, test environment) now has a colour that differs from the theme's accent colour in every theme – the lamp of a running chat keeps the accent. Set per theme with the new variable `--prep`.
- **Factory overlay:** the chat's menu button is hidden in the overlay (it could only close the overlay).
## [v202611-00074] – 2026-11-20
### Changed
- **Factory: merge and close on the issue card.** A finished issue shows a *Merge* button on its card once the acceptance has passed (the pull request is open); after the merge the card shows *Close*. Before that neither button is shown. The server enforces the order: a pull request is merged only when the acceptance passed, an issue is closed only when its pull request is merged (a merge done on the forge itself counts). The issue also gets its version and tag right after a merge instead of at the next poll.
## [v202611-00073] – 2026-11-20 ## [v202611-00073] – 2026-11-20
### Added ### Added
+3 -2
View File
@@ -11,7 +11,7 @@
</p> </p>
<p align="center"> <p align="center">
<img alt="Version v202611-00073" src="https://img.shields.io/badge/version-v202611--00073-d69e2e?style=flat-square"> <img alt="Version v202611-00075" src="https://img.shields.io/badge/version-v202611--00075-d69e2e?style=flat-square">
<img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-689d6a?style=flat-square"> <img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-689d6a?style=flat-square">
<img alt="Rust backend" src="https://img.shields.io/badge/backend-Rust-b7410e?style=flat-square&logo=rust"> <img alt="Rust backend" src="https://img.shields.io/badge/backend-Rust-b7410e?style=flat-square&logo=rust">
<img alt="React PWA" src="https://img.shields.io/badge/frontend-React%20PWA-2d81ff?style=flat-square&logo=react"> <img alt="React PWA" src="https://img.shields.io/badge/frontend-React%20PWA-2d81ff?style=flat-square&logo=react">
@@ -292,7 +292,8 @@ the server.
On *pass* the factory opens the pull request (if none is open) and comments a result table On *pass* the factory opens the pull request (if none is open) and comments a result table
in the issue. On *fail* the issue goes back to the build with the findings (*rework*). in the issue. On *fail* the issue goes back to the build with the findings (*rework*).
4. **Done, merge, version.** You review the pull request in the factory (diff, description) and 4. **Done, merge, version.** You review the pull request in the factory (diff, description) and
merge it there. The factory then pulls the merge, gives the issue its version, commits merge it there – on the page or with the *Merge* button of the issue card, which appears once
the acceptance has passed (closing an issue by hand is possible only after its merge). The factory then pulls the merge, gives the issue its version, commits
`VERSION`, pushes an annotated tag, comments on the issue and closes it. `VERSION`, pushes an annotated tag, comments on the issue and closes it.
Issue text is treated as data, never as instructions for the factory itself. Issue text is treated as data, never as instructions for the factory itself.
+21 -1
View File
@@ -3011,6 +3011,15 @@ async fn factory_close_issue(Extension(user): Extension<User>, State(app): State
return Err(ApiError(StatusCode::BAD_REQUEST, "only finished issues can be closed here".into())); return Err(ApiError(StatusCode::BAD_REQUEST, "only finished issues can be closed here".into()));
} }
let bad = |e: anyhow::Error| ApiError(StatusCode::BAD_GATEWAY, format!("{e:#}")); let bad = |e: anyhow::Error| ApiError(StatusCode::BAD_GATEWAY, format!("{e:#}"));
// Closing comes after the merge. A merge done on the forge itself counts too: ask the forge when we do not know yet.
if row["merged"].as_bool() != Some(true) {
let pr_n: u64 = row["pr_url"].as_str().unwrap_or("").trim_end_matches('/').rsplit('/').next().and_then(|n| n.parse().ok()).unwrap_or(0);
let merged = pr_n > 0 && g.pr(pr_n).await.map(|p| p["state"].as_str() == Some("merged")).unwrap_or(false);
if !merged {
return Err(ApiError(StatusCode::BAD_REQUEST, "merge the pull request first".into()));
}
app.store.factory_issue_set(&b.repo, b.number, &[("merged", json!(1))])?;
}
let text = if b.comment.trim().is_empty() { "Closed.".to_string() } else { b.comment.trim().to_string() }; let text = if b.comment.trim().is_empty() { "Closed.".to_string() } else { b.comment.trim().to_string() };
g.comment(b.number as u64, &format!("{}\n**Closed** by {}: {text}", crate::factory::BOT, user.username)).await.map_err(bad)?; g.comment(b.number as u64, &format!("{}\n**Closed** by {}: {text}", crate::factory::BOT, user.username)).await.map_err(bad)?;
g.close_issue(b.number as u64).await.map_err(bad)?; g.close_issue(b.number as u64).await.map_err(bad)?;
@@ -3072,6 +3081,10 @@ struct MergePr {
/// Merge the pull request of an issue – only on the user's own click in the factory page. /// Merge the pull request of an issue – only on the user's own click in the factory page.
async fn factory_pr_merge(Extension(user): Extension<User>, State(app): State<AppState>, headers: axum::http::HeaderMap, Json(b): Json<MergePr>) -> ApiResult { async fn factory_pr_merge(Extension(user): Extension<User>, State(app): State<AppState>, headers: axum::http::HeaderMap, Json(b): Json<MergePr>) -> ApiResult {
let (g, row) = factory_issue_forge(&app, &user, &b.repo, b.number)?; let (g, row) = factory_issue_forge(&app, &user, &b.repo, b.number)?;
// Merging comes after a positive acceptance (the issue is "done").
if row["state"].as_str() != Some("done") {
return Err(ApiError(StatusCode::BAD_REQUEST, "the pull request can be merged once the acceptance has passed".into()));
}
let method = if b.method.is_empty() { "merge" } else { b.method.as_str() }; let method = if b.method.is_empty() { "merge" } else { b.method.as_str() };
if !["merge", "squash", "rebase"].contains(&method) { if !["merge", "squash", "rebase"].contains(&method) {
return Err(ApiError(StatusCode::BAD_REQUEST, "unknown merge method".into())); return Err(ApiError(StatusCode::BAD_REQUEST, "unknown merge method".into()));
@@ -3082,8 +3095,15 @@ async fn factory_pr_merge(Extension(user): Extension<User>, State(app): State<Ap
return Err(ApiError(StatusCode::BAD_REQUEST, "this is not the open pull request of the issue".into())); return Err(ApiError(StatusCode::BAD_REQUEST, "this is not the open pull request of the issue".into()));
} }
g.merge_pr(b.pr, method).await.map_err(|e| ApiError(StatusCode::BAD_GATEWAY, format!("{e:#}")))?; g.merge_pr(b.pr, method).await.map_err(|e| ApiError(StatusCode::BAD_GATEWAY, format!("{e:#}")))?;
app.store.factory_issue_set(&b.repo, b.number, &[("pr_url", json!(pr["html_url"].as_str().unwrap_or("")))])?; app.store.factory_issue_set(&b.repo, b.number, &[("pr_url", json!(pr["html_url"].as_str().unwrap_or(""))), ("merged", json!(1))])?;
app.audit(Some(&user), "factory.pr.merge", &format!("{}#{}", b.repo, b.number), &crate::auth::client_ip(&headers)); app.audit(Some(&user), "factory.pr.merge", &format!("{}#{}", b.repo, b.number), &crate::auth::client_ip(&headers));
// Give the issue its version and tag right away instead of at the next poll.
if let Ok(cfg) = factory_repo_cfg(&app, &user, &b.repo) {
let (app2, user2) = (app.clone(), user.clone());
tokio::spawn(async move {
let _ = crate::factory::poll_repo(&app2, &user2, &cfg).await;
});
}
Ok(Json(json!({"ok": true}))) Ok(Json(json!({"ok": true})))
} }
+2
View File
@@ -235,6 +235,8 @@ pub async fn version_pass(app: &Arc<App>, user: &User, cfg: &RepoCfg) -> Result<
if pr["state"].as_str() != Some("merged") { if pr["state"].as_str() != Some("merged") {
continue; continue;
} }
// Remember it at once: if the version step below fails, the issue can still be closed by hand.
let _ = app.store.factory_issue_set(&cfg.url, n, &[("merged", json!(1))]);
let title = r["title"].as_str().unwrap_or("").to_string(); let title = r["title"].as_str().unwrap_or("").to_string();
let others: Vec<String> = g.open_issue_titles().await?.into_iter().filter(|(num, _)| *num != n).map(|(_, t)| t).collect(); let others: Vec<String> = g.open_issue_titles().await?.into_iter().filter(|(num, _)| *num != n).map(|(_, t)| t).collect();
let dir = checkout(app, user, cfg).await?; let dir = checkout(app, user, cfg).await?;
+4 -3
View File
@@ -262,6 +262,7 @@ impl Store {
("images", "blob", "ALTER TABLE images ADD COLUMN blob TEXT"), ("images", "blob", "ALTER TABLE images ADD COLUMN blob TEXT"),
("usage", "allowance", "ALTER TABLE usage ADD COLUMN allowance REAL"), ("usage", "allowance", "ALTER TABLE usage ADD COLUMN allowance REAL"),
("factory_issues", "version", "ALTER TABLE factory_issues ADD COLUMN version TEXT NOT NULL DEFAULT ''"), ("factory_issues", "version", "ALTER TABLE factory_issues ADD COLUMN version TEXT NOT NULL DEFAULT ''"),
("factory_issues", "merged", "ALTER TABLE factory_issues ADD COLUMN merged INTEGER NOT NULL DEFAULT 0"),
] { ] {
let exists: bool = conn let exists: bool = conn
.prepare(&format!("SELECT 1 FROM pragma_table_info('{table}') WHERE name = ?1"))? .prepare(&format!("SELECT 1 FROM pragma_table_info('{table}') WHERE name = ?1"))?
@@ -1489,8 +1490,8 @@ impl Store {
pub fn factory_issue(&self, repo: &str, number: i64) -> Result<Option<Value>> { pub fn factory_issue(&self, repo: &str, number: i64) -> Result<Option<Value>> {
let conn = self.conn.lock().unwrap(); let conn = self.conn.lock().unwrap();
Ok(conn Ok(conn
.query_row("SELECT title, author, state, attempts, rounds, last_comment, scenarios, branch, pr_url, note, created_at, updated_at, owner_id, version FROM factory_issues WHERE repo_url = ?1 AND number = ?2", params![repo, number], |r| { .query_row("SELECT title, author, state, attempts, rounds, last_comment, scenarios, branch, pr_url, note, created_at, updated_at, owner_id, version, merged FROM factory_issues WHERE repo_url = ?1 AND number = ?2", params![repo, number], |r| {
Ok(json!({"repo": repo, "number": number, "title": r.get::<_, String>(0)?, "author": r.get::<_, String>(1)?, "state": r.get::<_, String>(2)?, "attempts": r.get::<_, i64>(3)?, "rounds": r.get::<_, i64>(4)?, "last_comment": r.get::<_, i64>(5)?, "scenarios": r.get::<_, String>(6)?, "branch": r.get::<_, String>(7)?, "pr_url": r.get::<_, String>(8)?, "note": r.get::<_, String>(9)?, "created_at": r.get::<_, i64>(10)?, "updated_at": r.get::<_, i64>(11)?, "owner_id": r.get::<_, String>(12)?, "version": r.get::<_, String>(13)?})) Ok(json!({"repo": repo, "number": number, "title": r.get::<_, String>(0)?, "author": r.get::<_, String>(1)?, "state": r.get::<_, String>(2)?, "attempts": r.get::<_, i64>(3)?, "rounds": r.get::<_, i64>(4)?, "last_comment": r.get::<_, i64>(5)?, "scenarios": r.get::<_, String>(6)?, "branch": r.get::<_, String>(7)?, "pr_url": r.get::<_, String>(8)?, "note": r.get::<_, String>(9)?, "created_at": r.get::<_, i64>(10)?, "updated_at": r.get::<_, i64>(11)?, "owner_id": r.get::<_, String>(12)?, "version": r.get::<_, String>(13)?, "merged": r.get::<_, i64>(14)? != 0}))
}) })
.optional()?) .optional()?)
} }
@@ -1512,7 +1513,7 @@ impl Store {
/// Update the given columns (whitelisted) of an issue. /// Update the given columns (whitelisted) of an issue.
pub fn factory_issue_set(&self, repo: &str, number: i64, fields: &[(&str, Value)]) -> Result<()> { pub fn factory_issue_set(&self, repo: &str, number: i64, fields: &[(&str, Value)]) -> Result<()> {
const COLS: [&str; 11] = ["title", "state", "attempts", "rounds", "last_comment", "scenarios", "branch", "pr_url", "note", "author", "version"]; const COLS: [&str; 12] = ["title", "state", "attempts", "rounds", "last_comment", "scenarios", "branch", "pr_url", "note", "author", "version", "merged"];
let conn = self.conn.lock().unwrap(); let conn = self.conn.lock().unwrap();
for (k, v) in fields { for (k, v) in fields {
if !COLS.contains(k) { if !COLS.contains(k) {
+46 -11
View File
@@ -78,6 +78,8 @@ interface Issue {
branch: string; branch: string;
rounds: number; rounds: number;
/** Newest phase chat that still exists. */ /** Newest phase chat that still exists. */
/** The pull request is merged (merging comes after a positive acceptance, closing after the merge). */
merged?: boolean;
chat_session?: string; chat_session?: string;
chat_phase?: Phase; chat_phase?: Phase;
created_at: number; created_at: number;
@@ -188,6 +190,20 @@ export function Factory({ onMenu, overlayId }: { onMenu: () => void; overlayId?:
); );
} }
/** A button inside an issue card (the card itself is a button, so this is a span with the button role). */
function CardAction({ children, onClick, title, primary, disabled }: { children: React.ReactNode; onClick: () => void; title?: string; primary?: boolean; disabled?: boolean }) {
const run = (e: React.SyntheticEvent) => {
e.stopPropagation();
e.preventDefault();
if (!disabled) onClick();
};
return (
<span role="button" tabIndex={disabled ? -1 : 0} aria-disabled={disabled} className={`factory-card-action ${primary ? "primary" : ""} ${disabled ? "disabled" : ""}`} title={title} onClick={run} onKeyDown={(e) => (e.key === "Enter" || e.key === " ") && run(e)}>
{children}
</span>
);
}
/** The factory's main switch, coloured by state: green = running, yellow = stopping, red = stopped. */ /** The factory's main switch, coloured by state: green = running, yellow = stopping, red = stopped. */
function PowerSwitch({ power, onToggle }: { power: Power; onToggle: (on: boolean) => void }) { function PowerSwitch({ power, onToggle }: { power: Power; onToggle: (on: boolean) => void }) {
const t = useT(); const t = useT();
@@ -402,20 +418,24 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
setBusy(false); setBusy(false);
} }
}; };
const mergePr = async () => { const prNo = (i: Issue) => Number(i.pr_url.replace(/\/$/, "").split("/").pop()) || 0;
if (!selected || !pr) return; /** Merge the pull request of an issue; only offered once the acceptance has passed. */
if (!(await confirmDialog({ message: t("factory.mergeConfirm", { n: pr.number, method: t(`factory.merge.${prMethod}` as any) }) }))) return; const mergeIssue = async (i: Issue, n = prNo(i)) => {
if (!n || i.state !== "done") return;
if (!(await confirmDialog({ message: t("factory.mergeConfirm", { n, method: t(`factory.merge.${prMethod}` as any) }) }))) return;
setBusy(true); setBusy(true);
try { try {
await post("/factory/issues/pr/merge", { repo: selected.repo, number: selected.number, pr: pr.number, method: prMethod }); await post("/factory/issues/pr/merge", { repo: i.repo, number: i.number, pr: n, method: prMethod });
toast(t("factory.merged")); toast(t("factory.merged"));
await loadPr(); await loadPr();
await reload();
} catch (e: any) { } catch (e: any) {
toast(e.message); toast(e.message);
} finally { } finally {
setBusy(false); setBusy(false);
} }
}; };
const mergePr = () => (selected && pr ? mergeIssue(selected, pr.number) : Promise.resolve());
const removeIssue = async () => { const removeIssue = async () => {
if (!selected) return; if (!selected) return;
if (!(await confirmDialog({ message: t("factory.removeConfirm", { n: selected.number }), confirmLabel: t("factory.remove"), danger: true }))) return; if (!(await confirmDialog({ message: t("factory.removeConfirm", { n: selected.number }), confirmLabel: t("factory.remove"), danger: true }))) return;
@@ -430,15 +450,16 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
setBusy(false); setBusy(false);
} }
}; };
const closeIssue = async () => { /** Close an issue; only offered once its pull request is merged. */
if (!selected) return; const closeIssueOf = async (i: Issue) => {
const comment = await promptDialog({ title: t("factory.closeTitle"), message: t("factory.closeMsg", { n: selected.number }), defaultValue: t("factory.closeDefault"), confirmLabel: t("factory.close") }); if (i.state !== "done" || !i.merged) return;
const comment = await promptDialog({ title: t("factory.closeTitle"), message: t("factory.closeMsg", { n: i.number }), defaultValue: t("factory.closeDefault"), confirmLabel: t("factory.close") });
if (comment === null) return; if (comment === null) return;
setBusy(true); setBusy(true);
try { try {
await post("/factory/issues/close", { repo: selected.repo, number: selected.number, comment }); await post("/factory/issues/close", { repo: i.repo, number: i.number, comment });
toast(t("factory.closed"), "success"); toast(t("factory.closed"), "success");
setSel(""); if (selected && selected.number === i.number && selected.repo === i.repo) setSel("");
await reload(); await reload();
} catch (e: any) { } catch (e: any) {
toast(e.message); toast(e.message);
@@ -446,6 +467,7 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
setBusy(false); setBusy(false);
} }
}; };
const closeIssue = () => (selected ? closeIssueOf(selected) : Promise.resolve());
const phaseRunning = !!selected && ["review", "building", "testing"].includes(selected.state); const phaseRunning = !!selected && ["review", "building", "testing"].includes(selected.state);
/** Master switch: a soft stop – no new agent starts, running ones finish their phase. */ /** Master switch: a soft stop – no new agent starts, running ones finish their phase. */
const setPower = async (on: boolean) => { const setPower = async (on: boolean) => {
@@ -623,6 +645,19 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
</span> </span>
)} )}
{tokens > 0 && <span className="hint">{fmtCompact(tokens)} {t("factory.tokens")}</span>} {tokens > 0 && <span className="hint">{fmtCompact(tokens)} {t("factory.tokens")}</span>}
{i.state === "done" && (i.merged || prNo(i) > 0) && (
<span className="factory-card-actions">
{!i.merged ? (
<CardAction primary disabled={busy} title={t("factory.mergeHint")} onClick={() => void mergeIssue(i)}>
<Icon name="fork" /> {t("factory.mergeBtn")}
</CardAction>
) : (
<CardAction disabled={busy} title={t("factory.closeHint")} onClick={() => void closeIssueOf(i)}>
<Icon name="check" /> {t("factory.close")}
</CardAction>
)}
</span>
)}
</button> </button>
); );
})} })}
@@ -658,7 +693,7 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
<Icon name="trash" /> {t("factory.remove")} <Icon name="trash" /> {t("factory.remove")}
</button> </button>
)} )}
{selected && selected.state === "done" && ( {selected && selected.state === "done" && selected.merged && (
<button className="small" onClick={closeIssue} disabled={busy}> <button className="small" onClick={closeIssue} disabled={busy}>
<Icon name="check" /> {t("factory.close")} <Icon name="check" /> {t("factory.close")}
</button> </button>
@@ -691,7 +726,7 @@ function FactoryOverview({ onSettings }: { onSettings: () => void }) {
</span> </span>
)} )}
<span className="spacer" /> <span className="spacer" />
{pr.state === "open" && ( {pr.state === "open" && selected?.state === "done" && (
<> <>
<select value={prMethod} onChange={(e) => setPrMethod(e.target.value)} disabled={busy}> <select value={prMethod} onChange={(e) => setPrMethod(e.target.value)} disabled={busy}>
{["merge", "squash", "rebase"].map((m) => ( {["merge", "squash", "rebase"].map((m) => (
+2
View File
@@ -1246,6 +1246,8 @@ export const de: Messages = {
"factory.preparing.env": "Testumgebung wird vorbereitet", "factory.preparing.env": "Testumgebung wird vorbereitet",
"factory.preparing.start": "Lauf wird vorbereitet", "factory.preparing.start": "Lauf wird vorbereitet",
"factory.preparing.hint": "Der Agent-Chat startet, sobald der Checkout fertig ist und – bei der Abnahme – die App in ihrem Wegwerf-Container installiert ist und läuft", "factory.preparing.hint": "Der Agent-Chat startet, sobald der Checkout fertig ist und – bei der Abnahme – die App in ihrem Wegwerf-Container installiert ist und läuft",
"factory.mergeHint": "Pull Request mergen – die Abnahme war erfolgreich",
"factory.closeHint": "Issue schließen – der Pull Request ist gemerged",
"factory.col.review": "Prüfung", "factory.col.review": "Prüfung",
"factory.col.question": "Rückfragen", "factory.col.question": "Rückfragen",
"factory.col.approved": "Freigegeben", "factory.col.approved": "Freigegeben",
+2
View File
@@ -1245,6 +1245,8 @@ export const en = {
"factory.preparing.env": "Preparing the test environment", "factory.preparing.env": "Preparing the test environment",
"factory.preparing.start": "Preparing the run", "factory.preparing.start": "Preparing the run",
"factory.preparing.hint": "The agent chat starts when the checkout is done and – for acceptance – the app is installed and running in its throw-away container", "factory.preparing.hint": "The agent chat starts when the checkout is done and – for acceptance – the app is installed and running in its throw-away container",
"factory.mergeHint": "Merge the pull request – the acceptance has passed",
"factory.closeHint": "Close the issue – the pull request is merged",
"factory.col.review": "Review", "factory.col.review": "Review",
"factory.col.question": "Questions", "factory.col.question": "Questions",
"factory.col.approved": "Approved", "factory.col.approved": "Approved",
+38 -2
View File
@@ -5263,6 +5263,10 @@ td.fold-indent {
background: var(--bg1); background: var(--bg1);
border-bottom: 1px solid var(--bg2); border-bottom: 1px solid var(--bg2);
} }
/* The sidebar is not reachable from the overlay: its menu button would only be confusing. */
.chat-overlay .menu-btn {
display: none !important;
}
.chat-overlay-body { .chat-overlay-body {
flex: 1; flex: 1;
min-height: 0; min-height: 0;
@@ -5278,6 +5282,38 @@ td.fold-indent {
border: 0; border: 0;
} }
} }
.factory-card-actions {
display: flex;
gap: 6px;
margin-top: 4px;
}
.factory-card-action {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 9px;
font-size: 12.5px;
border-radius: 6px;
border: 1px solid var(--bg3);
background: var(--bg1);
color: var(--fg0);
cursor: pointer;
}
.factory-card-action:hover {
background: var(--bg2);
}
.factory-card-action.primary {
background: var(--accent);
border-color: var(--accent);
color: var(--on-accent, var(--bg0));
}
.factory-card-action.primary:hover {
filter: brightness(1.08);
}
.factory-card-action.disabled {
opacity: 0.5;
cursor: default;
}
.factory-card-head { .factory-card-head {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -5321,10 +5357,10 @@ td.fold-indent {
} }
/* Preparing (checkout, test environment): same lamp, other colour than an active chat. */ /* Preparing (checkout, test environment): same lamp, other colour than an active chat. */
.factory-pulse.prep { .factory-pulse.prep {
background: var(--blue, var(--accent2)); background: var(--prep, var(--blue, var(--accent2)));
} }
.factory-card.preparing { .factory-card.preparing {
border-left: 3px solid var(--blue, var(--accent2)); border-left: 3px solid var(--prep, var(--blue, var(--accent2)));
} }
@keyframes factory-pulse { @keyframes factory-pulse {
50% { 50% {
+2
View File
@@ -25,6 +25,8 @@
--power-on: #8f9a5c; --power-on: #8f9a5c;
--power-warn: #d9b45a; --power-warn: #d9b45a;
--power-off: #c15c46; --power-off: #c15c46;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--blue);
--aqua: #8aa89a; --aqua: #8aa89a;
--blue: #7c9aa1; --blue: #7c9aa1;
--purple: #b47e99; --purple: #b47e99;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #5c6631; --power-on: #5c6631;
--power-warn: #9a7413; --power-warn: #9a7413;
--power-off: #96392a; --power-off: #96392a;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--blue);
--aqua: #3d6b72; --aqua: #3d6b72;
--blue: #3d6b72; --blue: #3d6b72;
--purple: #7c4a66; --purple: #7c4a66;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #a6e3a1; --power-on: #a6e3a1;
--power-warn: #f9e2af; --power-warn: #f9e2af;
--power-off: #f38ba8; --power-off: #f38ba8;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #94e2d5; --aqua: #94e2d5;
--blue: #89b4fa; --blue: #89b4fa;
--purple: #f5c2e7; --purple: #f5c2e7;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #40a02b; --power-on: #40a02b;
--power-warn: #df8e1d; --power-warn: #df8e1d;
--power-off: #d20f39; --power-off: #d20f39;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #179299; --aqua: #179299;
--blue: #1e66f5; --blue: #1e66f5;
--purple: #ea76cb; --purple: #ea76cb;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #a9b86a; --power-on: #a9b86a;
--power-warn: #e8c36a; --power-warn: #e8c36a;
--power-off: #d4694f; --power-off: #d4694f;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--blue);
--aqua: #9fb8a8; --aqua: #9fb8a8;
--blue: #a3b4c7; --blue: #a3b4c7;
--purple: #cf90a2; --purple: #cf90a2;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #4f6b00; --power-on: #4f6b00;
--power-warn: #a8780a; --power-warn: #a8780a;
--power-off: #a93a2e; --power-off: #a93a2e;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--aqua);
--aqua: #3f6b5e; --aqua: #3f6b5e;
--blue: #8e2d53; --blue: #8e2d53;
--purple: #7a003b; --purple: #7a003b;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #50fa7b; --power-on: #50fa7b;
--power-warn: #f1fa8c; --power-warn: #f1fa8c;
--power-off: #ff5555; --power-off: #ff5555;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #8be9fd; --aqua: #8be9fd;
--blue: #8be9fd; --blue: #8be9fd;
--purple: #ff79c6; --purple: #ff79c6;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #14710a; --power-on: #14710a;
--power-warn: #846e15; --power-warn: #846e15;
--power-off: #cb3a2a; --power-off: #cb3a2a;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #036a96; --aqua: #036a96;
--blue: #036a96; --blue: #036a96;
--purple: #a3144d; --purple: #a3144d;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #a7c080; --power-on: #a7c080;
--power-warn: #dbbc7f; --power-warn: #dbbc7f;
--power-off: #e67e80; --power-off: #e67e80;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--purple);
--aqua: #83c092; --aqua: #83c092;
--blue: #7fbbb3; --blue: #7fbbb3;
--purple: #d699b6; --purple: #d699b6;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #8da101; --power-on: #8da101;
--power-warn: #dfa000; --power-warn: #dfa000;
--power-off: #f85552; --power-off: #f85552;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--blue);
--aqua: #35a77c; --aqua: #35a77c;
--blue: #3a94c5; --blue: #3a94c5;
--purple: #df69ba; --purple: #df69ba;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #3fb950; --power-on: #3fb950;
--power-warn: #d29922; --power-warn: #d29922;
--power-off: #f85149; --power-off: #f85149;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #39c5cf; --aqua: #39c5cf;
--blue: #58a6ff; --blue: #58a6ff;
--purple: #bc8cff; --purple: #bc8cff;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #1a7f37; --power-on: #1a7f37;
--power-warn: #9a6700; --power-warn: #9a6700;
--power-off: #d1242f; --power-off: #d1242f;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #1b7c83; --aqua: #1b7c83;
--blue: #0969da; --blue: #0969da;
--purple: #8250df; --purple: #8250df;
+2
View File
@@ -26,6 +26,8 @@
--power-on: #b8bb26; --power-on: #b8bb26;
--power-warn: #fabd2f; --power-warn: #fabd2f;
--power-off: #fb4934; --power-off: #fb4934;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--blue);
--aqua: #8ec07c; --aqua: #8ec07c;
--blue: #83a598; --blue: #83a598;
--purple: #d3869b; --purple: #d3869b;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #79740e; --power-on: #79740e;
--power-warn: #b57614; --power-warn: #b57614;
--power-off: #9d0006; --power-off: #9d0006;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--blue);
--aqua: #427b58; --aqua: #427b58;
--blue: #076678; --blue: #076678;
--purple: #8f3f71; --purple: #8f3f71;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #8fae72; --power-on: #8fae72;
--power-warn: #e0b350; --power-warn: #e0b350;
--power-off: #f44336; --power-off: #f44336;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--blue);
--aqua: #8a9ba6; --aqua: #8a9ba6;
--blue: #77838a; --blue: #77838a;
--purple: #e58980; --purple: #e58980;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #5a7a43; --power-on: #5a7a43;
--power-warn: #a87b1a; --power-warn: #a87b1a;
--power-off: #b14752; --power-off: #b14752;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #3d727d; --aqua: #3d727d;
--blue: #4c6c94; --blue: #4c6c94;
--purple: #8a5b81; --purple: #8a5b81;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #98bb6c; --power-on: #98bb6c;
--power-warn: #e6c384; --power-warn: #e6c384;
--power-off: #e46876; --power-off: #e46876;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #7aa89f; --aqua: #7aa89f;
--blue: #7fb4ca; --blue: #7fb4ca;
--purple: #957fb8; --purple: #957fb8;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #6f894e; --power-on: #6f894e;
--power-warn: #b07a00; --power-warn: #b07a00;
--power-off: #c84053; --power-off: #c84053;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #597b75; --aqua: #597b75;
--blue: #4d699b; --blue: #4d699b;
--purple: #624c83; --purple: #624c83;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #a3be8c; --power-on: #a3be8c;
--power-warn: #ebcb8b; --power-warn: #ebcb8b;
--power-off: #bf616a; --power-off: #bf616a;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #8fbcbb; --aqua: #8fbcbb;
--blue: #81a1c1; --blue: #81a1c1;
--purple: #b48ead; --purple: #b48ead;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #5f7d48; --power-on: #5f7d48;
--power-warn: #9a7b2f; --power-warn: #9a7b2f;
--power-off: #a9434d; --power-off: #a9434d;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #4d8a89; --aqua: #4d8a89;
--blue: #5e81ac; --blue: #5e81ac;
--purple: #8f6a8a; --purple: #8f6a8a;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #98c379; --power-on: #98c379;
--power-warn: #e5c07b; --power-warn: #e5c07b;
--power-off: #e06c75; --power-off: #e06c75;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #56b6c2; --aqua: #56b6c2;
--blue: #61afef; --blue: #61afef;
--purple: #c678dd; --purple: #c678dd;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #50a14f; --power-on: #50a14f;
--power-warn: #c18401; --power-warn: #c18401;
--power-off: #e45649; --power-off: #e45649;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #0184bc; --aqua: #0184bc;
--blue: #4078f2; --blue: #4078f2;
--purple: #a626a4; --purple: #a626a4;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #95b88f; --power-on: #95b88f;
--power-warn: #f6c177; --power-warn: #f6c177;
--power-off: #eb6f92; --power-off: #eb6f92;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #9ccfd8; --aqua: #9ccfd8;
--blue: #31748f; --blue: #31748f;
--purple: #c4a7e7; --purple: #c4a7e7;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #5e8f60; --power-on: #5e8f60;
--power-warn: #c98a1b; --power-warn: #c98a1b;
--power-off: #b4637a; --power-off: #b4637a;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #56949f; --aqua: #56949f;
--blue: #286983; --blue: #286983;
--purple: #907aa9; --purple: #907aa9;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #859900; --power-on: #859900;
--power-warn: #b58900; --power-warn: #b58900;
--power-off: #dc322f; --power-off: #dc322f;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--purple);
--aqua: #2aa198; --aqua: #2aa198;
--blue: #268bd2; --blue: #268bd2;
--purple: #6c71c4; --purple: #6c71c4;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #859900; --power-on: #859900;
--power-warn: #b58900; --power-warn: #b58900;
--power-off: #dc322f; --power-off: #dc322f;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--purple);
--aqua: #2aa198; --aqua: #2aa198;
--blue: #268bd2; --blue: #268bd2;
--purple: #6c71c4; --purple: #6c71c4;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #8fb98a; --power-on: #8fb98a;
--power-warn: #e0b860; --power-warn: #e0b860;
--power-off: #d47a6a; --power-off: #d47a6a;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #96b4bc; --aqua: #96b4bc;
--blue: #7aa0cc; --blue: #7aa0cc;
--purple: #c896b2; --purple: #c896b2;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #4a6b3a; --power-on: #4a6b3a;
--power-warn: #9a7218; --power-warn: #9a7218;
--power-off: #8a3028; --power-off: #8a3028;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #3a5a6a; --aqua: #3a5a6a;
--blue: #3a5a8a; --blue: #3a5a8a;
--purple: #5a4a72; --purple: #5a4a72;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #9ece6a; --power-on: #9ece6a;
--power-warn: #e0af68; --power-warn: #e0af68;
--power-off: #f7768e; --power-off: #f7768e;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #73daca; --aqua: #73daca;
--blue: #7aa2f7; --blue: #7aa2f7;
--purple: #bb9af7; --purple: #bb9af7;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #587539; --power-on: #587539;
--power-warn: #8c6c3e; --power-warn: #8c6c3e;
--power-off: #f52a65; --power-off: #f52a65;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #118c74; --aqua: #118c74;
--blue: #2e7de9; --blue: #2e7de9;
--purple: #9854f1; --purple: #9854f1;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #89d185; --power-on: #89d185;
--power-warn: #cca700; --power-warn: #cca700;
--power-off: #f14c4c; --power-off: #f14c4c;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #4ec9b0; --aqua: #4ec9b0;
--blue: #3794ff; --blue: #3794ff;
--purple: #c586c0; --purple: #c586c0;
+2
View File
@@ -25,6 +25,8 @@
--power-on: #388a34; --power-on: #388a34;
--power-warn: #bf8803; --power-warn: #bf8803;
--power-off: #cd3131; --power-off: #cd3131;
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
--prep: var(--power-warn);
--aqua: #267f99; --aqua: #267f99;
--blue: #005fb8; --blue: #005fb8;
--purple: #af00db; --purple: #af00db;
+8
View File
@@ -3,6 +3,14 @@
* under "unreleased"; scripts/release.sh renames the key to the release version. * under "unreleased"; scripts/release.sh renames the key to the release version.
*/ */
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = { export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
"202611-00075": {
en: ["Factory: the lamp of a phase being prepared now differs in colour from the accent in every theme"],
de: ["Factory: die Lampe einer Phase in Vorbereitung unterscheidet sich in jedem Theme farblich vom Akzent"],
},
"202611-00074": {
en: ["Factory: Merge and Close buttons on the issue card – merge after a positive acceptance, close after the merge"],
de: ["Factory: Merge- und Schließen-Knopf auf der Issue-Karte – Merge nach erfolgreicher Abnahme, Schließen nach dem Merge"],
},
"202611-00073": { "202611-00073": {
en: ["Factory test runner: caches between acceptance runs (npm, Cargo, pip, Go and optional seeds of the install step) – the test environment starts much faster"], en: ["Factory test runner: caches between acceptance runs (npm, Cargo, pip, Go and optional seeds of the install step) – the test environment starts much faster"],
de: ["Factory-Test-Runner: Caches zwischen Abnahmeläufen (npm, Cargo, pip, Go und optionale Seeds des Install-Schritts) – die Testumgebung startet deutlich schneller"], de: ["Factory-Test-Runner: Caches zwischen Abnahmeläufen (npm, Cargo, pip, Go und optionale Seeds des Install-Schritts) – die Testumgebung startet deutlich schneller"],