Merge branch 'worktree-agent-a06a60dcdfb5029c0' into claude/practical-noether-1hb2s1

This commit is contained in:
Claude committed 2026-11-13 18:46:14 +00:00
commit b727aef86c
16 files changed
+87 -43

No files matched your search

+2 -1
View File
@@ -10,7 +10,7 @@ Wer zu einer ID mehr wissen will (Entscheide, Tests, Bilder), sucht dort nach `*
stehen im Archiv („Bewusst nicht übernommen“).
- **Grösse** (eine Person mit Agenten): S ≤ 1 Tag · M ≤ 1 Woche · L ≤ 1 Monat · XL > 1 Monat.
Steht keine Grösse im Archiv, ist sie hier geschätzt.
- **IDs sind stabil.** Neue ID = nächste freie Zahl nach der höchsten im Archiv und hier (aktuell 236);
- **IDs sind stabil.** Neue ID = nächste freie Zahl nach der höchsten im Archiv und hier (aktuell 237);
nie eine ID wiederverwenden oder umnummerieren. Präfix-IDs (`[K]`, `[G]`, `[T]`, `[B]`, `[C]`) bleiben.
- **Pro Punkt:** was fehlt · wo im Code · Grösse. Höchstens ein bis drei Sätze je Punkt;
Messwerte und Befunde gehören in den Commit.
@@ -1358,3 +1358,4 @@ exakte Durchdringung, [61] Zuordnung per Hand, [63] Profil je Kante, [70] Fläch
`leiste_gleich_flaechentabelle`, vitest Musterhaus, Musterhaus komplex und Referenz-Ablauf-Gebäude, e2e `release10` Schritt 5
(Kachel GF = Summenzeile GF). Offen: die Eingaben der Tabelle (aGSF, Basis der aGF, Untergeschosse) wirken nur auf die
Tabelle, die Leiste rechnet mit den Vorgaben.
- [237] Sichtprüfung der Oberflächen vom 13.11. im Browser (13.11., Chromium, hell und dunkel; Mac/Tauri nicht geprüft): Kürzel-Übersicht, Vorlage Wettbewerb, Körper → Bauteile, Plakat-Blatt (Hilfslinien, Lineal, Bild, Zuschnitt), Publikation, 3D-Darstellungsarten, Gelände-Objekt-Info, Bild-Export. Korrigiert: Publikation „Publizieren“ war ein 20-px-Kreis und abgeschnitten (`.nav-add-text`, auch „WBW-Abgabe anlegen“); Objekt-Info Gelände/Baugrube: Abschnitt schrumpfte auf eine Zeile Höhe und die Felder (Glättung, Material …) liefen horizontal über die Spalte (`.objinfo-site`, `minmax(0,1fr)`), Material jetzt eigene Zeile; Bild-Export: Breite/Höhe/Samples in 16 px und mit 22 px Einzug (`.imp-field-label`, `.imp-input-flush`); Kürzel-Suchfeld mit Checkbox-Einzug; undefinierte CSS-Variablen (`--text`, `--text-dim`, `--fg`, `--hover`, `--ink-dim`, `--accent-soft`, `--panel-3`, `--mono`) auf die echten Tokens umgestellt (Listen-Hover, Fortschrittsdialog, Menüleiste, Nebenfenster); Wettbewerb-Vorlage meldete „documentFor“-Fehler in der Konsole (Präsentationsplan ohne `withDocument`); Meldung Körper → Bauteile ohne „1 Geschosse/1 Decken“ („Erzeugt: Geschosse n · Aussenwände n · Decken n · Flachdach.“, e2e `release10` angepasst). Offene Befunde (grösser): Flächenbilanz/Raumprogramm im oberen Dock nur ca. 300 px hoch (Raumprogramm erst nach Scrollen sichtbar); Kopfleiste des Blatts (Zurück, Viewport aufziehen, Legende …) in 16 px, übrige Leisten 11–13 px; Zuschnitt-HUD: Knopf „Fertig“/„Zuschneiden“ wechselt die Position; Darstellungs-Menü im 3D ist durchscheinend (Begehen/Kamera+ scheinen durch, ggf. nur Headless-Compositing); Render-Dialog (`RenderDialog.tsx`, Breite/Höhe mit derselben Markup-Art) nicht angesehen, vermutlich dieselben 16-px-Labels; Pathtracing-Vorschau in SwiftShader ohne Bild (bekannt).
+2 -2
View File
@@ -365,9 +365,9 @@ test("[222] Volumenstudie: Wände/Decken/Dach aus einem Volumen (Körper) erzeug
await typeCommand(page, "koerperinbauteile");
await expect(page.locator(".cmdline-prompt")).toHaveText("Körper wählen (Massenmodell):");
await typeCommand(page, "6,5");
const done = page.locator(".toast-message").filter({ hasText: /Geschosse \(\d+ neu\): \d+ Aussenwände, \d+ Decken und Flachdach erzeugt/ });
const done = page.locator(".toast-message").filter({ hasText: /Erzeugt: Geschosse \d+ \(\d+ neu\) · Aussenwände \d+ · Decken \d+ · Flachdach/ });
await expect(done).toBeVisible();
const [, stories, fresh, walls, ceilings] = (await done.first().innerText()).match(/(\d+) Geschosse \((\d+) neu\): (\d+) Aussenwände, (\d+) Decken/)!.map(Number);
const [, stories, fresh, walls, ceilings] = (await done.first().innerText()).match(/Geschosse (\d+) \((\d+) neu\) · Aussenwände (\d+) · Decken (\d+)/)!.map(Number);
expect(stories).toBeGreaterThanOrEqual(2);
expect(walls).toBe(4 * stories);
expect(ceilings).toBe(stories - 1);
+1 -1
View File
@@ -1980,7 +1980,7 @@ export const de = {
"cmd.solidtoparts.label": "Körper in Bauteile umwandeln",
"cmd.solidtoparts.pick": "Körper wählen (Massenmodell):",
"cmd.solidtoparts.noSolid": "Hier liegt kein Körper.",
"cmd.solidtoparts.done": "{stories} Geschosse ({newFloors} neu): {walls} Aussenwände, {ceilings} Decken und Flachdach erzeugt.",
"cmd.solidtoparts.done": "Erzeugt: Geschosse {stories} ({newFloors} neu) · Aussenwände {walls} · Decken {ceilings} · Flachdach.",
"cmd.solidtoparts.reject.none": "Kein Körper gewählt.",
"cmd.solidtoparts.reject.tapered": "Nur senkrechte Körper: verjüngte oder geneigte Körper lassen sich nicht umwandeln.",
"cmd.solidtoparts.reject.brep": "Nur Körper aus Grundriss × Höhe (auch Quader, Zylinder): Kugel, Kegel, Torus, Rotations- und verschnittene Körper lassen sich nicht umwandeln.",
+1 -1
View File
@@ -1969,7 +1969,7 @@ export const en: Record<TranslationKey, string> = {
"cmd.solidtoparts.label": "Convert solid to building parts",
"cmd.solidtoparts.pick": "Select solid (massing model):",
"cmd.solidtoparts.noSolid": "No solid here.",
"cmd.solidtoparts.done": "{stories} floors ({newFloors} new): created {walls} exterior walls, {ceilings} slabs and a flat roof.",
"cmd.solidtoparts.done": "Created: floors {stories} ({newFloors} new) · exterior walls {walls} · slabs {ceilings} · flat roof.",
"cmd.solidtoparts.reject.none": "No solid selected.",
"cmd.solidtoparts.reject.tapered": "Vertical solids only: tapered or sloped solids cannot be converted.",
"cmd.solidtoparts.reject.brep": "Only footprint × height solids (including boxes and cylinders): spheres, cones, tori, revolved and boolean solids cannot be converted.",
+3 -2
View File
@@ -316,12 +316,13 @@ export function buildWettbewerbSampleProject(): Project {
};
// Präsentationsplan A1 (Mappe → Präsentationsplan): Grundrisse, Ansichten und Schnitt A-A im gemeinsamen Massstab 1:200.
const res = presentationSheetOps(
// `planPresentationSheet` fragt das Kern-Dokument ab: das neue Projekt dafür ausdrücklich öffnen (sonst Fehlermeldung in der Konsole).
const res = withDocument(p, () => presentationSheetOps(
p,
{ ...presentationDefaults(p), scale: 200 },
{ sheetName: "Präsentationsplan", masterName: "Planrahmen A1 quer", north: "N", northGroup: "Nordpfeil", scaleBarGroup: "Massstabsbalken" },
"wb",
);
));
if (!res) throw new Error("Wettbewerb: Präsentationsplan nicht erzeugt");
return applyOps(p, res.ops);
}
+1 -1
View File
@@ -55,7 +55,7 @@ export function ContextImportWindowApp() {
alignItems: "center",
justifyContent: "center",
height: "100vh",
color: "var(--ink-dim, #8a8a8a)",
color: "var(--muted)",
fontSize: 13,
}}
>
+1 -1
View File
@@ -78,7 +78,7 @@ export function DrawingLevelsWindowApp() {
alignItems: "center",
justifyContent: "center",
height: "100vh",
color: "var(--ink-dim, #8a8a8a)",
color: "var(--muted)",
fontSize: 13,
}}
>
+1 -1
View File
@@ -62,7 +62,7 @@ export function LayerSettingsWindowApp() {
alignItems: "center",
justifyContent: "center",
height: "100vh",
color: "var(--ink-dim, #8a8a8a)",
color: "var(--muted)",
fontSize: 13,
}}
>
+1 -1
View File
@@ -97,7 +97,7 @@ export function ResourceWindowApp() {
alignItems: "center",
justifyContent: "center",
height: "100vh",
color: "var(--ink-dim, #8a8a8a)",
color: "var(--muted)",
fontSize: 13,
}}
>
+1 -1
View File
@@ -74,7 +74,7 @@ export function SettingsWindowApp() {
alignItems: "center",
justifyContent: "center",
height: "100vh",
color: "var(--ink-dim, #8a8a8a)",
color: "var(--muted)",
fontSize: 13,
}}
>
+1 -1
View File
@@ -302,7 +302,7 @@ function KindFields({ obj, quantities }: { obj: ContextObject; quantities: reado
<NumField label={t("site.contourIndexEvery")} value={obj.contourIndexEvery} step={1} min={1} placeholder="5" onChange={patch("contourIndexEvery")} />
<NumField label={t("site.earthDepth")} value={obj.earthDepth} step={0.5} min={0.1} placeholder="1.5" onChange={patch("earthDepth")} />
{/* [212] Material der Oberfläche (Bauteil): Farbe und Bildkarten im 3D, Pathtracer und Blender-Paket. */}
<label className="site-prop" title={t("site.terrain.material.hint")}>
<label className="site-prop site-prop-wide" title={t("site.terrain.material.hint")}>
<span>{t("site.terrain.material")}</span>
<select
data-testid="terrain-material"
+2 -3
View File
@@ -195,7 +195,7 @@ export function PublishSection() {
/>
</label>
{project.competition?.anonymous === true && <div style={{ color: "var(--muted)" }}>{t("publish.competition.hint")}</div>}
<button className="nav-add" style={{ justifySelf: "start", width: "auto", maxWidth: "100%", whiteSpace: "nowrap", padding: "1px 6px", fontSize: 12 }} data-testid="publish-add-wbw" onClick={() => setOpen(host.onAddWbwSet())}>
<button className="nav-add nav-add-text" style={{ justifySelf: "start" }} data-testid="publish-add-wbw" onClick={() => setOpen(host.onAddWbwSet())}>
+ {t("publish.wbw.add")}
</button>
</div>
@@ -208,8 +208,7 @@ export function PublishSection() {
<span style={{ color: "var(--muted)", marginLeft: 6 }}>{s.layoutIds.length}</span>
</span>
<button
className="nav-add"
style={{ padding: "1px 6px", flex: "0 0 auto", whiteSpace: "nowrap" }}
className="nav-add nav-add-text"
title={t("publish.run")}
data-publish-run
onClick={(e) => {
+62 -19
View File
@@ -596,7 +596,7 @@ body {
.tb-menubar-item.tb-dd-trigger {
border: none;
background: none;
color: var(--ink-dim, #8a8a8a);
color: var(--muted);
font-weight: 500;
padding: 3px 6px;
border-radius: 6px;
@@ -1305,8 +1305,8 @@ body {
margin-right: 5px;
padding: 0 4px;
border-radius: 3px;
background: var(--panel-3, var(--panel));
color: var(--ink-dim, var(--ink));
background: var(--field-bg);
color: var(--muted);
font-family: var(--font-mono);
font-size: 10px;
font-weight: 600;
@@ -1466,6 +1466,18 @@ body {
background: var(--accent-dim);
color: var(--ink);
}
/* „+"-Knopf mit Beschriftung (Publikation): Breite nach Text statt 20-px-Kreis, nie abgeschnitten. */
.nav-add.nav-add-text {
width: auto;
height: auto;
min-width: 20px;
min-height: 20px;
max-width: 100%;
padding: 1px 8px;
border-radius: 10px;
font-size: 12px;
white-space: nowrap;
}
.nav-add .material-symbols-outlined {
font-size: 15px;
line-height: 1;
@@ -2487,7 +2499,7 @@ body {
}
.plan-svg .plan-hud-text {
fill: #2a2926;
font-family: var(--mono, ui-monospace, monospace);
font-family: var(--font-mono);
font-weight: 600;
}
/* Aktives Tab-Feld im HUD: leicht abgesenkte Pille, dunklerer Text. */
@@ -2545,7 +2557,7 @@ body {
.plan-svg .plan-ruler-text,
.plan-ruler-overlay .plan-ruler-text {
fill: #3c3a36;
font-family: var(--mono, ui-monospace, monospace);
font-family: var(--font-mono);
font-weight: 500;
}
.plan-svg .plan-ruler-cursor,
@@ -2592,7 +2604,7 @@ body {
}
.plan-svg .plan-angle-badge-text {
fill: #e8e8e8;
font-family: var(--mono, ui-monospace, monospace);
font-family: var(--font-mono);
font-weight: 600;
}
@@ -2950,7 +2962,7 @@ body {
.res-wallstyle-head {
font-size: 12px;
font-weight: 600;
color: var(--text);
color: var(--ink);
padding: 2px 2px 0;
}
@@ -5006,7 +5018,7 @@ body {
.site-panel .site-props {
flex: 1 0 100%;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 4px 8px;
font-size: 11px;
}
@@ -5016,12 +5028,21 @@ body {
justify-content: space-between;
gap: 4px;
}
.site-panel .site-prop-wide {
grid-column: 1 / -1;
}
/* Auswahlfelder (Glättung, Material) dürfen schmaler werden als ihre längste Option, sonst läuft die Spalte über. */
.site-panel .site-prop select {
min-width: 0;
flex: 1 1 0;
max-width: 100%;
}
.site-panel .site-prop input {
width: 64px;
}
.site-panel .site-qty {
grid-column: 1 / -1;
color: var(--text-dim, inherit);
color: var(--muted);
}
.site-panel .site-warn {
color: #d6001c;
@@ -5068,6 +5089,18 @@ body {
min-height: 0;
font-size: 12px;
}
/* Gelände/Baugrube/Schatten in der Objekt-Info: der Abschnitt wächst mit seinem Inhalt (sonst schrumpft er in der
Flex-Spalte auf eine Zeile Höhe und verdeckt die Felder, `.site-panel` ist sonst ein eigener Scroll-Bereich). */
.objinfo-panel > .objinfo-site {
flex: 0 0 auto;
height: auto;
min-height: auto;
overflow: visible;
padding: 0;
}
.objinfo-panel > .objinfo-site .site-props {
flex: 0 0 auto;
}
.objinfo-empty {
color: var(--muted);
font-size: 12px;
@@ -5110,13 +5143,13 @@ body {
border: 1px solid var(--border, #444);
border-radius: 4px;
background: transparent;
color: var(--fg, inherit);
color: var(--ink);
cursor: pointer;
font-size: 12px;
line-height: 1;
}
.objinfo-typebtn:hover {
background: var(--hover, rgba(127, 127, 127, 0.18));
background: var(--accent-dim);
}
/* Mess-Werkzeug: Live-Messwerte im Objekt-Info-Panel. */
@@ -5557,7 +5590,7 @@ body {
flex: 0 0 auto;
}
.attr-color-clear:hover {
color: var(--text);
color: var(--ink);
border-color: var(--accent-border);
}
@@ -5784,6 +5817,16 @@ body {
margin-left: 22px;
width: calc(100% - 22px);
}
.imp-field-label {
font-size: 13px;
color: var(--ink);
}
/* Suchfeld ohne Checkbox-Einrückung (Kürzel-Übersicht). */
.imp-input.imp-input-flush {
margin-left: 0;
width: 100%;
box-sizing: border-box;
}
/* Freitext-Massstab im PDF-Export-Dialog, direkt unter dem Preset-Dropdown —
`.imp-input` ist sonst für Checkbox-eingerückte Felder gedacht (22px
margin-left), hier ohne Einrückung. */
@@ -6260,7 +6303,7 @@ body {
flex: 1;
}
.settings-alias-key {
font-family: var(--mono, ui-monospace, monospace);
font-family: var(--font-mono);
font-weight: 600;
min-width: 3ch;
color: var(--ink);
@@ -6337,7 +6380,7 @@ body {
color: var(--ink);
}
.settings-shortcut-combo {
font-family: var(--mono, ui-monospace, monospace);
font-family: var(--font-mono);
font-weight: 600;
min-width: 8ch;
text-align: center;
@@ -7989,7 +8032,7 @@ body {
border: 1px solid var(--border);
border-radius: 10px;
box-shadow: var(--shadow-3);
color: var(--text);
color: var(--ink);
}
.busy-spinner {
width: 18px;
@@ -8016,12 +8059,12 @@ body {
border-radius: 8px;
box-shadow: var(--shadow-3);
font-size: 12px;
color: var(--text);
color: var(--ink);
}
.pick-list-head {
padding: 4px 8px 6px;
font-weight: 600;
color: var(--text-dim, var(--text));
color: var(--muted);
}
.pick-list-item {
display: block;
@@ -8034,8 +8077,8 @@ body {
color: inherit;
cursor: pointer;
}
.pick-list-item:hover { background: var(--hover, rgba(128, 128, 128, 0.15)); }
.pick-list-item.is-current { background: var(--accent-soft, rgba(255, 140, 0, 0.22)); font-weight: 600; }
.pick-list-item:hover { background: var(--accent-dim); }
.pick-list-item.is-current { background: var(--active-dim); font-weight: 600; }
.pick-list-hint {
padding: 6px 8px 2px;
opacity: 0.65;
+6 -6
View File
@@ -199,13 +199,13 @@ export const ImageExportDialogHost = memo(function ImageExportDialogHost() {
))}
</select>
<div style={{ display: "flex", gap: 8, marginTop: 6, alignItems: "center" }}>
<label>
<label className="imp-field-label">
{t("render.width")}{" "}
<input className="imp-input" type="number" min={16} style={{ width: 90 }} data-testid="image3d-width" value={dims.width} disabled={busy} onChange={(e) => { setSize("custom"); setDims({ ...dims, width: Number(e.target.value) }); }} />
<input className="imp-input imp-input-flush" type="number" min={16} style={{ width: 90 }} data-testid="image3d-width" value={dims.width} disabled={busy} onChange={(e) => { setSize("custom"); setDims({ ...dims, width: Number(e.target.value) }); }} />
</label>
<label>
<label className="imp-field-label">
{t("render.height")}{" "}
<input className="imp-input" type="number" min={16} style={{ width: 90 }} data-testid="image3d-height" value={dims.height} disabled={busy} onChange={(e) => { setSize("custom"); setDims({ ...dims, height: Number(e.target.value) }); }} />
<input className="imp-input imp-input-flush" type="number" min={16} style={{ width: 90 }} data-testid="image3d-height" value={dims.height} disabled={busy} onChange={(e) => { setSize("custom"); setDims({ ...dims, height: Number(e.target.value) }); }} />
</label>
</div>
{validDims && effective.clamped && (
@@ -220,9 +220,9 @@ export const ImageExportDialogHost = memo(function ImageExportDialogHost() {
{t("image3d.transparent")}
</label>
{pathtrace && (
<label style={{ display: "flex", gap: 6, alignItems: "center", marginTop: 6 }}>
<label className="imp-field-label" style={{ display: "flex", gap: 6, alignItems: "center", marginTop: 6 }}>
{t("image3d.samples")}{" "}
<input className="imp-input" type="number" min={1} max={PT_EXPORT_MAX_SAMPLES} style={{ width: 90 }} data-testid="image3d-samples" value={samples} disabled={busy} onChange={(e) => setSamples(Number(e.target.value))} />
<input className="imp-input imp-input-flush" type="number" min={1} max={PT_EXPORT_MAX_SAMPLES} style={{ width: 90 }} data-testid="image3d-samples" value={samples} disabled={busy} onChange={(e) => setSamples(Number(e.target.value))} />
</label>
)}
</section>
+1 -1
View File
@@ -53,7 +53,7 @@ export const ShortcutOverviewDialogHost = memo(function ShortcutOverviewDialogHo
<div className="imp-body" style={{ maxHeight: "70vh", overflowY: "auto" }}>
<p className="imp-note">{t("help.shortcuts.intro")}</p>
<input
className="imp-input"
className="imp-input imp-input-flush"
type="search"
autoFocus
value={filter}
+1 -1
View File
@@ -1955,7 +1955,7 @@ export function Wasm3DViewport({
background: "rgba(44,44,44,0.94)",
border: "1px solid #4a4a4a",
pointerEvents: "none",
fontFamily: "var(--mono, ui-monospace, monospace)",
fontFamily: "var(--font-mono)",
fontSize: 12,
whiteSpace: "nowrap",
zIndex: 5,