Merge branch 'worktree-agent-ac19ea2d9f670cb36' into claude/practical-noether-1hb2s1

This commit is contained in:
Claude committed 2026-11-16 10:53:37 +00:00
commit 9f196afcdd
22 files changed
+643 -30

No files matched your search

+4 -1
View File
@@ -33,6 +33,7 @@ export interface AppMenuBarProps {
onImportPointCloud?: () => void;
onImportMesh?: () => void;
/** Datei: Export-Dialoge (im Browser/Electron die einzige Quelle — das native Menü gibt es nur unter Tauri). */
onExportPdf?: () => void;
onExportDxf?: () => void;
onExportIfc?: () => void;
onExportObj?: () => void;
@@ -79,6 +80,7 @@ export const AppMenuBar = memo(function AppMenuBar({
onImport,
onImportPointCloud,
onImportMesh,
onExportPdf,
onExportDxf,
onExportIfc,
onExportObj,
@@ -116,7 +118,8 @@ export const AppMenuBar = memo(function AppMenuBar({
{ label: t("file.import"), onSelect: onImport },
...(onImportPointCloud ? [{ label: t("menu.native.importPointCloud"), onSelect: onImportPointCloud }] : []),
...(onImportMesh ? [{ label: t("menu.native.importMesh"), onSelect: onImportMesh }] : []),
...(onExportDxf || onExportIfc || onExportObj || onExportStl ? [{ divider: true }] : []),
...(onExportPdf || onExportDxf || onExportIfc || onExportObj || onExportStl ? [{ divider: true }] : []),
...(onExportPdf ? [{ label: `${t("menu.native.export")}: PDF`, onSelect: onExportPdf }] : []),
...(onExportDxf ? [{ label: `${t("menu.native.export")}: DXF`, onSelect: onExportDxf }] : []),
...(onExportIfc ? [{ label: `${t("menu.native.export")}: IFC`, onSelect: onExportIfc }] : []),
...(onExportObj ? [{ label: `${t("menu.native.export")}: OBJ`, onSelect: onExportObj }] : []),
+2
View File
@@ -47,6 +47,7 @@ export type TopBarEvents = Required<
| "onOpenHistory"
>
> & {
onOpenExportPdf: () => void;
onOpenExportDxf: () => void;
applyScale: ViewRibbonTabProps["onApplyScale"];
fitPlan: ViewRibbonTabProps["onFit"];
@@ -139,6 +140,7 @@ export function useTopBarElements(opts: {
onImport={ev.onImport}
onImportPointCloud={ev.onImportPointCloud}
onImportMesh={ev.onImportMesh}
onExportPdf={ev.onOpenExportPdf}
onExportDxf={ev.onOpenExportDxf}
onExportIfc={ev.onExportIfc}
onExportObj={ev.onExportObj}