From 3c479ce1b8c1b821d59aeca6ac334f99a2e22a49 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 30 Oct 2026 04:28:28 +0000 Subject: [PATCH] =?UTF-8?q?[105]=20Fenster-/T=C3=BCr-Dialog:=20Vorschau-Sp?= =?UTF-8?q?alte=20ohne=20=C3=9Cberlauf,=20e2e=20Rahmen-Detail=20im=20Dialo?= =?UTF-8?q?g=20und=20Ressourcen-Tab,=20fehlende=20=C3=9Cbersetzung=20Spros?= =?UTF-8?q?sen-Spalten?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- e2e/openingDetails.spec.ts | 5 +++-- src/i18n/de.ts | 1 + src/i18n/en.ts | 1 + src/styles.css | 11 +++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/e2e/openingDetails.spec.ts b/e2e/openingDetails.spec.ts index f1087255..5340c16f 100644 --- a/e2e/openingDetails.spec.ts +++ b/e2e/openingDetails.spec.ts @@ -19,10 +19,11 @@ test("Fenster-Einstellungen: Rahmen-Detail im Dialog und im Ressourcen-Tab ([105 expect(box && vp && box.x >= 0 && box.y >= 0 && box.x + box.width <= vp.width + 1 && box.y + box.height <= vp.height + 1).toBe(true); const shots = process.env.DOSSIER_SHOTS; if (shots) await page.screenshot({ path: `${shots}/fenster-dialog-rahmendetail.png` }); - await page.keyboard.press("Escape"); + await dialog.getByRole("button", { name: "Schließen", exact: true }).last().click(); await expect(dialog).toBeHidden(); - await page.getByRole("button", { name: "Ressourcen" }).first().click(); + await page.getByRole("button", { name: "Fenster", exact: true }).first().click(); + await page.getByRole("option", { name: /Ressourcen/ }).click(); await page.getByRole("tab", { name: "Fenstertypen" }).click(); await page.locator(".rm-detail-group summary").first().click(); await expect(page.locator(".rm-detail-group").first().getByText("Pfosten-Breite (m)")).toBeVisible(); diff --git a/src/i18n/de.ts b/src/i18n/de.ts index f02ffa6e..f5fe2297 100644 --- a/src/i18n/de.ts +++ b/src/i18n/de.ts @@ -1159,6 +1159,7 @@ export const de = { "resources.field.innerLayerRecess.hint": "Die innerste Wandschicht (meist Gips/Holzverkleidung) weicht an diesem Fenster rundum um ihre eigene Dicke von der Laibung zurück, statt bündig mit den übrigen Schichten abzuschliessen — ändert die 3D-Wandgeometrie, nicht nur die Rahmenposition.", "resources.field.transomHeight": "Oberlicht-Höhe (m)", "resources.field.mullionRows": "Kämpfer-Zeilen", + "resources.field.mullionCols": "Sprossen-Spalten", "resources.frameKind.zarge": "Zarge", "resources.frameKind.blockrahmen": "Blockrahmen", "resources.insetFace.aussen": "Aussen", diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 80a0bc16..088ca937 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -1153,6 +1153,7 @@ export const en: Record = { "resources.field.innerLayerRecess.hint": "The innermost wall layer (usually plasterboard/wood lining) steps back all around this window's reveal by its own thickness, instead of finishing flush with the other layers — changes the 3D wall geometry, not just the frame position.", "resources.field.transomHeight": "Transom height (m)", "resources.field.mullionRows": "Transom rows", + "resources.field.mullionCols": "Mullion columns", "resources.frameKind.zarge": "Lining", "resources.frameKind.blockrahmen": "Block frame", "resources.insetFace.aussen": "Outer", diff --git a/src/styles.css b/src/styles.css index 890b9328..954b458f 100644 --- a/src/styles.css +++ b/src/styles.css @@ -8701,3 +8701,14 @@ body { .rm-detail-group[open] > summary ~ * { margin-bottom: 6px; } +/* [105] Fenster-/Tür-Dialog: Vorschau-Spalte breit genug für die Kern-Vorschau (lief rechts über den Rand). */ +.oed-main { + grid-template-columns: 150px minmax(0, 1fr) 320px; +} +.oed-core-preview { + min-width: 0; +} +.oed-group .oed-flabel { + flex: 1 1 auto; + min-width: 0; +}