DV Lens Picker — Test Harness
Sandbox for testing the cascading lens picker before wiring it into the real tools.
Settings
Last selection
No selection yet — open a picker above and confirm to see the output.
What this test harness verifies
- Catalog loads from Supabase using current practice's active suppliers
- Cascading filters reduce options correctly at each step
- Treatment filter (None / Photochromic / Polarised) only shows when applicable
- Coating step appears for surfaced lenses, doesn't appear for stock single vision
- Same-supplier coating filter works (e.g. Hoya base → only Hoya coatings)
- Private/MedAid toggle updates prices live
- Breadcrumbs let you jump back to any prior step
- Skip-coating override works for surfaced lenses
- Search box filters base lens list
- Confirm button only enables when selection is complete