Skip to content

Add preview and configurable column mapping for breadboard wiring CSV imports - #4329

Draft
cdrogers wants to merge 11 commits into
fritzing:developfrom
cdrogers:feature/breadboard-csv-import
Draft

cdrogers wants to merge 11 commits into
fritzing:developfrom
cdrogers:feature/breadboard-csv-import

Conversation

@cdrogers

@cdrogers cdrogers commented Aug 18, 2026

Copy link
Copy Markdown

Summary

This adds a breadboard wiring CSV import workflow with source preview, configurable column mapping, validation, DIP component resolution, and placement.

Screenshots

SCR-20260817-vn4 SCR-20260817-vmu SCR-20260817-vmf SCR-20260817-vlx

Import and mapping

  • Preview source CSV data before making sketch changes
  • Detect comma, semicolon, tab, and pipe delimiters
  • Support UTF-8, UTF-8 BOM, and UTF-16 BOM input
  • Detect whether the first row contains column names
  • Suggest mappings from recognized column names
  • Allow manual mapping of all supported fields
  • Show source and mapped previews
  • Remember confirmed mappings for matching column schemas
  • Preserve one-sided component-evidence rows used during DIP resolution

Validation and placement

  • Validate breadboard coordinate references and connector IDs
  • Resolve 300 mil and 600 mil DIP geometry
  • Prefer compatible native Fritzing components
  • Support exact LibrePCB MPN resolution where available
  • Request explicit confirmation where package geometry cannot be safely inferred
  • Place the three RSR 03MB102 breadboards and resolved DIP components
  • Preserve grouped undo and redo behavior
  • Make no sketch changes until placement is confirmed

Validation performed

  • 17/17 automated test cases passed
  • 137/137 assertions passed
  • Full Qt 6.10.3 release build completed successfully
  • Dialog and Qt MOC objects compiled successfully
  • All resulting objects and the application executable verified as macOS arm64
  • Bundled LibrePCB resource manifest and SQLite integrity verified
  • Application dependency, ad-hoc signature, and startup tests passed
  • Original 294-record CSV imported and placed successfully
  • Reordered semicolon-delimited manual-mapping fixture imported successfully
  • Saved mapping restoration verified
  • Placement undo and redo verified

Current scope

The placement workflow currently targets three RSR 03MB102 breadboards and supported 300 mil/600 mil DIP layouts. The mapping and parsing layer is designed to accept differing CSV column orders and supported delimiters rather than requiring one fixed source format.

@cdrogers
cdrogers marked this pull request as draft August 18, 2026 03:39
@sonarqubecloud

Copy link
Copy Markdown

@cdrogers cdrogers changed the title Add preview-able and configurable breadboard wiring CSV import Add preview and configurable column mapping for breadboard wiring CSV imports Aug 18, 2026
@cdrogers
cdrogers marked this pull request as ready for review August 18, 2026 03:50
@cdrogers
cdrogers marked this pull request as draft August 18, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant