[283] UX-Prüfung Teil 2: Wohnungsspiegel-Umbruch, Varianten-Knöpfe, Träger-Klasse 35, Geländer-Abschnitt, Englisch (Kürzel, Abbruch)
This commit is contained in:
9 files changed
+26
-16
No files matched your search
@@ -2,7 +2,7 @@
|
||||
// 1) „Anfang des Trägers:" → Punkt
|
||||
// 2) „Ende des Trägers:" → Punkt → commit (ein Träger, Befehl endet)
|
||||
//
|
||||
// Der Träger sitzt auf dem aktiven Geschoss, Klasse „25“ (Stützen), sonst „50“ (Tragwerk), die Oberkante bündig an der Deckenunterkante
|
||||
// Der Träger sitzt auf dem aktiven Geschoss, Klasse „35“ (Träger), sonst „25“ (Stützen), sonst „50“ (Tragwerk), die Oberkante bündig an der Deckenunterkante
|
||||
// (Unterzug); der Kern (`cmd_create.rs`, Befehl `beam`) legt ihn an. Optionen (IMMER sichtbar): Profil = Vorgabe aus
|
||||
// einer kurzen Liste (Rechteck-Unterzug 25/40 … oder Stahlprofil als Text mit Aussenmassen). Eine getippte Zahl setzt
|
||||
// die Querschnittshöhe (Meter) PERSISTENT über Aufrufe, die Breite bleibt die des Profils.
|
||||
|
||||
@@ -117,7 +117,7 @@ const UNDO: CmdOption = { id: "undo", labelKey: "cmd.polyline.undo" };
|
||||
const arcOption = (on: boolean): CmdOption => ({ id: "arc", labelKey: "cmd.polyline.arcOpt", value: on ? "on" : "off" });
|
||||
const tangentOption = (on: boolean): CmdOption => ({ id: "tangent", labelKey: "cmd.polyline.tangentOpt", value: on ? "on" : "off" });
|
||||
const typeOption = (s: ArcMode): CmdOption => ({ id: "wtype", labelKey: "cmd.wall.typeOpt", value: s.typeName ?? t("cmd.wall.typeActive"), key: "W" });
|
||||
const extOption = (s: ArcMode): CmdOption => ({ id: "ext", labelKey: "cmd.wall.extOpt", value: t(`cmd.wall.ext.${s.ext}`), key: "A" });
|
||||
const extOption = (s: ArcMode): CmdOption => ({ id: "ext", labelKey: "cmd.wall.extOpt", value: t(`cmd.wall.ext.${s.ext}`), key: t("cmd.wall.extKey") });
|
||||
|
||||
/**
|
||||
* Bänder der schon gesetzten Segmente: sie ändern sich je Mausschritt nicht und werden nur neu gerechnet,
|
||||
|
||||
+2
-1
@@ -2062,6 +2062,7 @@ export const de = {
|
||||
"cmd.wall.typeOpt": "Wandtyp",
|
||||
"cmd.wall.typeActive": "aktiv",
|
||||
"cmd.wall.extOpt": "Aussenbauteil",
|
||||
"cmd.wall.extKey": "A",
|
||||
"cmd.wall.ext.auto": "nach Typ",
|
||||
"cmd.wall.ext.yes": "ja",
|
||||
"cmd.wall.ext.no": "nein",
|
||||
@@ -2217,7 +2218,7 @@ export const de = {
|
||||
"objinfo.kind.railing": "Geländer",
|
||||
"objinfo.kind.beam": "Träger",
|
||||
"objinfo.railing.many": "{n} Geländer",
|
||||
"objinfo.railing.section": "Geländer",
|
||||
"objinfo.railing.section": "Ausbildung",
|
||||
"objinfo.railing.kind": "Art",
|
||||
"objinfo.railing.kind.bars": "Stäbe",
|
||||
"objinfo.railing.kind.glass": "Glas",
|
||||
|
||||
+3
-2
@@ -2051,6 +2051,7 @@ export const en: Record<TranslationKey, string> = {
|
||||
"cmd.wall.typeOpt": "Wall type",
|
||||
"cmd.wall.typeActive": "active",
|
||||
"cmd.wall.extOpt": "External",
|
||||
"cmd.wall.extKey": "E",
|
||||
"cmd.wall.ext.auto": "by type",
|
||||
"cmd.wall.ext.yes": "yes",
|
||||
"cmd.wall.ext.no": "no",
|
||||
@@ -2205,7 +2206,7 @@ export const en: Record<TranslationKey, string> = {
|
||||
"objinfo.kind.railing": "Railing",
|
||||
"objinfo.kind.beam": "Beam",
|
||||
"objinfo.railing.many": "{n} railings",
|
||||
"objinfo.railing.section": "Railing",
|
||||
"objinfo.railing.section": "Detailing",
|
||||
"objinfo.railing.kind": "Type",
|
||||
"objinfo.railing.kind.bars": "Bars",
|
||||
"objinfo.railing.kind.glass": "Glass",
|
||||
@@ -4837,7 +4838,7 @@ export const en: Record<TranslationKey, string> = {
|
||||
"renovation.filter": "Renovation filter",
|
||||
"renovation.filter.none": "no filter",
|
||||
"renovation.filter.bestand": "Existing",
|
||||
"renovation.filter.abbruch": "Demolition",
|
||||
"renovation.filter.abbruch": "To be demolished",
|
||||
"renovation.filter.neubau": "New",
|
||||
"renovation.filter.umbauplan": "Renovation plan",
|
||||
"renovation.filter.endzustand": "Final state",
|
||||
|
||||
@@ -45,5 +45,5 @@ export function ReportTable({ section: s }: { section: ReportSection }) {
|
||||
/** Kartenansicht im schmalen Dock: lange Texte und lange Spaltenköpfe („Aussenraum m²“) belegen zwei bzw. drei Rasterspalten, damit nichts mitten im Wort bricht. */
|
||||
function cardSpan(text: string, head: string | undefined): string | undefined {
|
||||
if (text.length > 22) return "3";
|
||||
return text.length > 9 || (head?.length ?? 0) > 9 ? "2" : undefined;
|
||||
return text.length > 7 || (head?.length ?? 0) > 9 ? "2" : undefined;
|
||||
}
|
||||
@@ -10156,6 +10156,12 @@ body {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.rm-option-actions {
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
.rm-design-option-primary {
|
||||
flex: 0 0 auto;
|
||||
margin: 0 2px 0 0;
|
||||
|
||||
@@ -145,12 +145,14 @@ export function DesignOptionsTab({ project, handlers, embedded, view }: { projec
|
||||
<span className="rm-design-option-count" title={t("designOption.count")}>
|
||||
{n.get(`${s.id}/${o.id}`) ?? 0}
|
||||
</span>
|
||||
<button type="button" className="rm-add-btn" disabled={!handlers.onAcceptDesignOption} onClick={() => handlers.onAcceptDesignOption?.(s.id, o.id)} title={t("designOption.accept.hint")} data-testid="rm-design-option-accept">
|
||||
{t("designOption.accept")}
|
||||
</button>
|
||||
<button type="button" className="rm-icon-btn" title={t("designOption.option.delete")} aria-label={t("designOption.option.delete")} disabled={!handlers.onDeleteDesignOption} onClick={() => setDeleting({ setId: s.id, optionId: o.id })} data-testid="rm-design-option-delete">
|
||||
<span className="material-symbols-outlined" aria-hidden="true">delete</span>
|
||||
</button>
|
||||
<span className="rm-option-actions">
|
||||
<button type="button" className="rm-add-btn" disabled={!handlers.onAcceptDesignOption} onClick={() => handlers.onAcceptDesignOption?.(s.id, o.id)} title={t("designOption.accept.hint")} data-testid="rm-design-option-accept">
|
||||
{t("designOption.accept")}
|
||||
</button>
|
||||
<button type="button" className="rm-icon-btn" title={t("designOption.option.delete")} aria-label={t("designOption.option.delete")} disabled={!handlers.onDeleteDesignOption} onClick={() => setDeleting({ setId: s.id, optionId: o.id })} data-testid="rm-design-option-delete">
|
||||
<span className="material-symbols-outlined" aria-hidden="true">delete</span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in new issue
Block a user