fix(ui): distinguish fallback field glyph

DE
3mo ago
+28-12

Fixes #1628

Summary

Use Lucide's neutral dashed-circle glyph for unmapped filter and dashboard-widget fields, keeping them visually distinct from model fields.

Type of Change

  • fix - A bug fix

Details

  • Preserves the explicit count glyph.
  • Adds rendered dropdown coverage for the iconless fallback versus the model glyph.
  • Adds dashboard resolver coverage for unknown fields.

Screenshots / Recordings (if applicable)

Not captured locally; this glyph-only UI change was verified with focused component tests.

Checklist

  • I have read the CONTRIBUTING.md
  • I have added/updated tests where applicable
  • I have added screenshots or recordings for UI changes (if applicable)
  • I have updated documentation where necessary

Validation

  • pnpm --filter traceroot-ui test -- src/features/filters/filter-controls.test.tsx src/features/dashboards/components/field-icons.test.ts (17 passed)
  • pnpm --filter traceroot-ui format:check
  • pnpm --filter traceroot-ui lint (passes with 55 pre-existing warnings outside this change)
  • Full UI suite attempted but blocked by missing generated Prisma client and unrelated mock setup failures in the fresh environment.

Summary by cubic

Use Lucide’s CircleDashed as the neutral fallback icon for unmapped fields in filters and dashboard widgets, replacing the model-like Box so unknown fields are clearly distinct. Adds tests to verify the new fallback and that dropdowns render different glyphs for model vs. unknown fields.