[283] UX-Prüfung Wettbewerbs-Funktionen: Träger-Titel, Filter Neu, Wohnungsspiegel-Karten, Geländer-Beschriftungen, offene Mängel

This commit is contained in:
Claude committed 2026-11-18 01:36:05 +00:00
1 parent 8e11ba0ee2
commit 172dd557c7
7 files changed
+26 -11

No files matched your search

+2 -1
View File
@@ -2195,6 +2195,7 @@ export const de = {
"cmd.gelaender.next": "Nächster Punkt (Enter beendet, Zahl = Höhe):",
"cmd.gelaender.kind": "Art",
"objinfo.kind.railing": "Geländer",
"objinfo.kind.beam": "Träger",
"objinfo.railing.many": "{n} Geländer",
"objinfo.railing.section": "Geländer",
"objinfo.railing.kind": "Art",
@@ -4812,7 +4813,7 @@ export const de = {
"renovation.filter.none": "kein Filter",
"renovation.filter.bestand": "Bestand",
"renovation.filter.abbruch": "Abbruch",
"renovation.filter.neubau": "Neubau",
"renovation.filter.neubau": "Neu",
"renovation.filter.umbauplan": "Umbauplan",
"renovation.filter.endzustand": "Endzustand",
"renovation.short": "Umbau: {status}",
+2 -1
View File
@@ -2183,6 +2183,7 @@ export const en: Record<TranslationKey, string> = {
"cmd.gelaender.next": "Next point (Enter finishes, number = height):",
"cmd.gelaender.kind": "Type",
"objinfo.kind.railing": "Railing",
"objinfo.kind.beam": "Beam",
"objinfo.railing.many": "{n} railings",
"objinfo.railing.section": "Railing",
"objinfo.railing.kind": "Type",
@@ -4798,7 +4799,7 @@ export const en: Record<TranslationKey, string> = {
"renovation.filter.none": "no filter",
"renovation.filter.bestand": "Existing",
"renovation.filter.abbruch": "Demolition",
"renovation.filter.neubau": "New construction",
"renovation.filter.neubau": "New",
"renovation.filter.umbauplan": "Renovation plan",
"renovation.filter.endzustand": "Final state",
"renovation.short": "Renovation: {status}",
+8 -2
View File
@@ -24,11 +24,11 @@ export function ReportTable({ section: s }: { section: ReportSection }) {
{r.cells.map((c, ci) =>
typeof c === "string" ? (
// Kurze Textzellen in Zahlenspalten (Strich, ja/nein) stehen wie die Zahlen rechts.
<td key={ci} data-label={ci > 0 ? s.columns[ci] : undefined} className={ci > 0 && c.length <= 4 ? "num" : undefined}>
<td key={ci} data-label={ci > 0 ? s.columns[ci] : undefined} data-span={cardSpan(c, s.columns[ci])} className={ci > 0 && c.length <= 4 ? "num" : undefined}>
{c}
</td>
) : (
<td key={ci} data-label={ci > 0 ? s.columns[ci] : undefined} className="num">
<td key={ci} data-label={ci > 0 ? s.columns[ci] : undefined} data-span={cardSpan("", s.columns[ci])} className="num">
{c.n === null ? "–" : c.n.toFixed(c.d)}
</td>
),
@@ -41,3 +41,9 @@ export function ReportTable({ section: s }: { section: ReportSection }) {
</div>
);
}
/** 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;
}
+9 -3
View File
@@ -5643,12 +5643,14 @@ body {
.attr-panel .objinfo-flabel,
.objinfo-group-body .objinfo-flabel,
.objinfo-camera .objinfo-flabel,
.objinfo-railing .objinfo-flabel,
.objinfo-tree .objinfo-flabel {
flex: 0 0 104px;
width: 104px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
/* Lange Beschriftungen („Verdeckte Kanten“, „Schnitt-Tiefe (m)“) brechen um statt mit „…“ abzuschneiden ([283]). */
white-space: normal;
overflow-wrap: anywhere;
line-height: 1.25;
padding-right: 8px;
color: var(--label);
}
@@ -5656,6 +5658,7 @@ body {
.attr-panel .objinfo-fval,
.objinfo-group-body .objinfo-fval,
.objinfo-camera .objinfo-fval,
.objinfo-railing .objinfo-fval,
.objinfo-tree .objinfo-fval {
flex: 1 1 auto;
text-align: left;
@@ -7535,8 +7538,10 @@ body {
}
.balance-head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 4px 8px;
margin-bottom: 8px;
}
.balance-title {
@@ -7549,6 +7554,7 @@ body {
border-radius: 4px;
padding: 4px 10px;
font-size: 12px;
white-space: nowrap;
cursor: pointer;
}
.balance-export:hover {