feat(review): remove species picker; species stays from Measure

Species is chosen on the merged Measure screen; the Review select was a
duplicate. Keep species_id on the slab from createSlab (Capture→draft→Woo)
and gate Create title from the hydrated value without offering edit.
This commit is contained in:
grokbot_ty
2026-09-26 08:47:40 -07:00
parent 89bc7d4ee9
commit 610b0883fe
6 changed files with 28 additions and 30 deletions
+4
View File
@@ -20,6 +20,8 @@ export interface SeedMeasure {
sqft: number;
bdft: number;
widthIn: number;
/** Woo species leaf; required for Review-ready e2e now that Review has no species picker. */
speciesId?: number | null;
}
const toEighths = (inches: number) => Math.round(inches * 8);
@@ -58,6 +60,7 @@ export async function seedMeasureDraft(
axisBbox: null,
lengthEighths: payload.lengthEighths,
thicknessEighths: payload.thicknessEighths,
species_id: payload.speciesId ?? null,
results: {
lengthEighths: payload.lengthEighths,
thicknessEighths: payload.thicknessEighths,
@@ -97,6 +100,7 @@ export async function seedMeasureDraft(
widthEighths,
sqft: d.sqft,
bdft: d.bdft,
speciesId: d.speciesId ?? null,
},
);
}