WORKFLOW-APP/app
Dave 7c3847fbb0 feat: BizPortal 2.0 — Python Playwright sidecar
Replaces the brittle agent-driven /api/bizportal/search queue with a
deterministic Python FastAPI service that drives BizPortal via a real
headless Chromium. The old flow is untouched.

What this adds:
- scripts/bizportal_service.py — FastAPI + Playwright service with
  /search, /reserve, /health endpoints. Persistent login session
  via storage_state.json. Locator-based selectors (vs eval JS).
- app/bizportal-2/ — new /bizportal-2 page, synchronous fetch
  (no polling), shows round-trip duration, mirrors the existing
  bulk-add + link UX.
- app/api/bizportal-2/{search,reserve,health}/route.ts — thin
  proxies to the Python sidecar.
- scripts/README.md, .env.example, .gitignore, requirements.txt.
- .gitignore: ignore tsconfig.tsbuildinfo (build artefact).

Wiring:
- components/NavBar.tsx: 'BizPortal 2.0' nav entry with TEST badge.
- app/bizportal/page.tsx: 'Try BizPortal 2.0' action link in
  header so the new option is discoverable from the existing page.

Run: cd scripts && source .venv/bin/activate && uvicorn
bizportal_service:app --port 7001
2026-08-17 18:33:36 +02:00
..
(public) feat: initialize full ysterbaard frontend application 2026-07-23 19:10:47 +02:00
(public-register) feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
api feat: BizPortal 2.0 — Python Playwright sidecar 2026-08-17 18:33:36 +02:00
bizportal feat: BizPortal 2.0 — Python Playwright sidecar 2026-08-17 18:33:36 +02:00
bizportal-2 feat: BizPortal 2.0 — Python Playwright sidecar 2026-08-17 18:33:36 +02:00
companies feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
directors feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
groups feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
onboarding Add native Share button to registration link dialog 2026-07-30 16:38:05 +02:00
registrations feat: remove step 2 and step 3 — will rebuild with skill-driven flow 2026-08-14 20:39:18 +02:00
resolutions Add native Share button to registration link dialog 2026-07-30 16:38:05 +02:00
voice-demo feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
error.tsx feat: initialize full ysterbaard frontend application 2026-07-23 19:10:47 +02:00
global-error.tsx feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
globals.css feat: print to PDF button on registration detail view 2026-08-14 19:51:59 +02:00
icon.png Add native Share button to registration link dialog 2026-07-30 16:38:05 +02:00
layout.tsx Add native Share button to registration link dialog 2026-07-30 16:38:05 +02:00
not-found.tsx feat: initialize full ysterbaard frontend application 2026-07-23 19:10:47 +02:00
page.tsx feat: add BizPortal tab + name-already-approved flow + registrations improvements 2026-08-14 18:08:51 +02:00
providers.tsx Add native Share button to registration link dialog 2026-07-30 16:38:05 +02:00