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
@@ -28,7 +28,7 @@ const OVERRIDE_TYPE_OPTIONS: { value: OverrideConditionType; labelKey: string }[
|
||||
|
||||
/** [33] Feste Werte je Kriterium (Auswahl statt Freitext); Beschriftung `resources.overrides.val.<typ>.<wert>`. */
|
||||
const ENUM_VALUES: Partial<Record<OverrideConditionType, readonly string[]>> = {
|
||||
element_kind: ["wall", "slab", "ground_slab", "roof", "stair", "column", "opening", "room", "shadow", "terrain", "mesh"],
|
||||
element_kind: ["wall", "slab", "ground_slab", "roof", "stair", "column", "opening", "room", "shadow", "terrain", "mesh", "floor_finish"],
|
||||
layer_function: ["structure", "insulation", "screed", "finish", "plaster", "substructure", "membrane", "cladding", "air"],
|
||||
layer_position: ["above", "structure", "below"],
|
||||
view_kind: ["plan", "section", "elevation"],
|
||||
|
||||
@@ -157,6 +157,15 @@ function TemplateDetail({
|
||||
{bool("scaleLineWeights", t("resources.viewTemplates.scaleLineWeights"))}
|
||||
{bool("sketch", t("resources.viewTemplates.sketch"))}
|
||||
{bool("cutHatch", t("resources.viewTemplates.cutHatch"))}
|
||||
<Optional label={t("resources.viewTemplates.floorFinish")} on={tpl.floorFinish !== undefined} onToggle={(on) => patch({ floorFinish: on ? "off" : null })}>
|
||||
<select className="res-input" aria-label={t("resources.viewTemplates.floorFinish")} value={tpl.floorFinish ?? "off"} onChange={(e) => patch({ floorFinish: e.target.value })}>
|
||||
{(["off", "wet", "all"] as const).map((v) => (
|
||||
<option key={v} value={v}>
|
||||
{t(`resources.viewTemplates.floorFinish.${v}`)}
|
||||
</option>
|
||||
))}
|
||||
</select>
|
||||
</Optional>
|
||||
<RulesSection tpl={tpl} project={project} h={h} />
|
||||
<div className="res-hint">{t("resources.viewTemplates.rangeHint")}</div>
|
||||
{num("cutHeight", t("resources.viewTemplates.cutHeight"), 1.0)}
|
||||
|
||||
Reference in new issue
Block a user