fix: low audit items — email channel, debug cleanup, roadmap sync, bare except logging

L18: remove comingSoon from email notification channel (SMTP backend already exists).
L19: remove console.debug useEffect from InlineCadViewer.tsx.
L20: sync ROADMAP.md priority status sections (P1/P2/P3/P8) with status snapshot — all Done.
L22: replace 8 bare except blocks in step_processor.py with logger.debug/warning
     so geometry calculation failures are visible in logs instead of silently discarded.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-22 14:06:31 +02:00
co-authored by Claude Sonnet 4.6
parent 507858cf31
commit 10a8bbd977
5 changed files with 29 additions and 35 deletions
@@ -395,21 +395,6 @@ export default function InlineCadViewer({
}, [modelReady, pinnedPart, isolateMode, hideAssigned, partMaterials])
// Dev-only: log normalized GLB mesh names vs stored keys to diagnose mismatches
useEffect(() => {
if (!import.meta.env.DEV || !modelReady || meshRegistryRef.current.length === 0) return
const names = new Set<string>(meshRegistryRef.current.map(e => e.partKey))
const keys = Object.keys(partMaterials)
const matched = keys.filter(k => names.has(k))
const unmatched = keys.filter(k => !names.has(k))
console.debug('[CAD] Match status:', {
totalGlbMeshes: names.size,
totalStoredKeys: keys.length,
matched: matched.length,
unmatched: unmatched.length,
unmatchedKeys: unmatched,
glbNames: [...names].sort(),
})
}, [modelReady, partMaterials])
const generateMut = useMutation({
mutationFn: () => generateGltfGeometry(cadFileId),
+1 -1
View File
@@ -20,7 +20,7 @@ const EVENT_LABELS: Record<string, string> = {
const ALL_EVENTS = Object.keys(EVENT_LABELS)
const CHANNELS: Array<{ key: 'in_app' | 'email'; label: string; comingSoon?: boolean }> = [
{ key: 'in_app', label: 'In-App' },
{ key: 'email', label: 'E-Mail', comingSoon: true },
{ key: 'email', label: 'E-Mail' },
]
const FREQUENCY_OPTIONS: Array<{ value: string; label: string }> = [