[263] UX-Prüfung: unbekannter Befehl meldet sich, Layout-Werkzeugleiste umbrechen, Quellen-Auswahl im Attribute-Panel und Bezugspunkt-Felder lesbar, Rand-Hinweis der Ansichtsleiste, Schweizer Schreibweise (ss) und en-Begriffe vereinheitlicht; offene Befunde in TODO

This commit is contained in:
Claude committed 2026-11-15 22:07:34 +00:00
1 parent 2b92b23d59
commit 2d0fc3c31d
17 files changed
+237 -67

No files matched your search

+3 -3
View File
@@ -484,7 +484,7 @@ export function ContextImportDialog({
<div className="imp-section-title">{t("ctxImport.refPoint")}</div>
<div className="cim-radius-row">
<input
className="cim-input cim-input-num"
className="cim-input cim-input-num cim-input-coord"
type="number"
step={0.01}
value={refPoint.e}
@@ -493,7 +493,7 @@ export function ContextImportDialog({
aria-label={t("ctxImport.refPoint.e")}
/>
<input
className="cim-input cim-input-num"
className="cim-input cim-input-num cim-input-coord"
type="number"
step={0.01}
value={refPoint.n}
@@ -502,7 +502,7 @@ export function ContextImportDialog({
aria-label={t("ctxImport.refPoint.n")}
/>
<input
className="cim-input cim-input-num"
className="cim-input cim-input-num cim-input-coord"
type="number"
step={0.01}
value={refPoint.h}
+19 -1
View File
@@ -1117,8 +1117,26 @@ export const ViewRibbonTab = memo(function ViewRibbonTab({
{ value: "__custom__", label: t("topbar.scale.custom") },
];
// [263] Die Ansichts-Leiste scrollt ohne sichtbare Leiste: bei schmalem Fenster (1280 px) liegen Massstab,
// Zoom und Schrift rechts ausserhalb. Ein Ausblenden am rechten Rand (Klasse `has-more`) zeigt, dass es weitergeht.
const ribbonRef = useRef<HTMLDivElement | null>(null);
useEffect(() => {
const el = ribbonRef.current;
if (!el) return;
const update = () => el.classList.toggle("has-more", el.scrollWidth - el.clientWidth - el.scrollLeft > 2);
update();
el.addEventListener("scroll", update, { passive: true });
const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(update) : null;
ro?.observe(el);
for (const c of Array.from(el.children)) ro?.observe(c);
return () => {
el.removeEventListener("scroll", update);
ro?.disconnect();
};
});
return (
<div className="ribbon-views">
<div className="ribbon-views" ref={ribbonRef}>
{/* Reihenfolge: Grundriss · Ansichten · Iso · Axo — ohne Trennstriche
(eine zusammenhängende Symbol-Zeile, Nutzer-Wunsch). */}
<span className="tb-viewtoggle" role="group" aria-label={t("topbar.viewGroup")}>