Merge branch 'worktree-agent-a70a8e4a2bbd76737' into claude/practical-noether-1hb2s1
# Conflicts: # TODO.md
This commit is contained in:
32 files changed
+1695
-347
No files matched your search
@@ -35,6 +35,11 @@ function withTemplate(p: Project): Project {
|
||||
}
|
||||
|
||||
describe("viewTemplates", () => {
|
||||
it("[156] setzt „Bodenbelag zeigen“ am Geschoss", () => {
|
||||
const p = applyOps(base(), addTemplateOps({ id: "tb", name: "Nass", floorFinish: "wet" }));
|
||||
const q = applyOps(p, applyToLevelOps(p, "tb", "eg", false));
|
||||
expect(q.drawingLevels.find((l) => l.id === "eg")?.floorFinish).toBe("wet");
|
||||
});
|
||||
it("erfasst Geschoss- und Anzeigewerte", () => {
|
||||
const p = base();
|
||||
const t = captureTemplate("t", "V", p.drawingLevels.find((l) => l.id === "eg"), ui);
|
||||
|
||||
@@ -29,7 +29,7 @@ export interface ViewTemplateUi {
|
||||
}
|
||||
|
||||
/** Geschoss-Felder, die eine Vorlage setzt (fehlt das Vorlagen-Feld, bleibt die Ansicht unberührt). */
|
||||
const LEVEL_KEYS = ["cutHeight", "viewTop", "viewBottom", "viewDepth", "shadows", "hiddenLines", "sketch", "cutHatch"] as const;
|
||||
const LEVEL_KEYS = ["cutHeight", "viewTop", "viewBottom", "viewDepth", "shadows", "hiddenLines", "sketch", "cutHatch", "floorFinish"] as const;
|
||||
|
||||
/** Teilobjekt für das Geschoss aus den gesetzten Feldern der Vorlage. */
|
||||
export function levelPatch(t: ViewTemplate): Partial<DrawingLevel> {
|
||||
|
||||
Reference in new issue
Block a user