mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-07 01:22:11 -04:00
The BOM import dialog's Parts table now binds to the BomPartRow objects themselves (a BindingList with Designer-defined columns) instead of a DataTable of strings: - Columns: Item #, File Name, Description, Material, Thickness, Qty, Status. Only Material, Thickness and Qty are editable, and only on rows that have a drawing; those rows are grey and locked. Rows that still need input are tinted amber. - Qty is editable. Anything but a whole number of 1 or more is refused in the cell with an error icon; Esc restores the old value. A blank-in-BOM quantity shows a tooltip saying 1 is used. - A thickness that is not a number above 0 is refused the same way; blanking it marks the row "Needs thickness". - Every edit goes through the row's bound part, so the Groups tab (part count and Total Qty) and the summary follow at once, and an edit can never land on a different part. Rows stay in BOM order: the headers no longer sort, which removes the sort-then-edit defect where index mapping applied an edit to another part. - Create Nests first finishes the cell being edited. BomImportFormTests (OpenNest.WinForms.Tests) cover the columns, the quantity edit and its group total, refused quantities, edits after the rows are reloaded in another order, locked rows and blanked material/thickness. They first run on the windows-desktop CI job; the sort defect's red evidence is source review, not an executed test. Project Memory: 5b0808d1-7353-4a34-87df-d1fbfc38f2b4