target-revenue/src/target_revenue
tegwick e103937e21 fix(control-plane): bridge whynot-design forms into native submission
wn-input/wn-select/wn-button aren't form-associated custom elements —
their real <input>/<select>/<button> live inside shadow DOM, invisible
to an ancestor <form>. Clicking Sign In (or any wn-button[type=submit])
silently did nothing, and even a submitted form would have carried none
of the field values. Bridges both gaps generically in base.html without
touching the vendored library: mirrors each shadow-DOM control's live
value into a hidden native input on submit, and explicitly calls
form.requestSubmit() on wn-button[type=submit] clicks.

Reported by the user clicking Sign In in the running local instance —
missed by test_control_plane_app.py because TestClient POSTs directly
and never exercises real button clicks or shadow DOM.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 16:46:31 +02:00
..
service fix(control-plane): bridge whynot-design forms into native submission 2026-07-30 16:46:31 +02:00
__init__.py Implement TREV-WP-0002 Stage 0 foundation: schemas, pure fold, golden Phase 2026-07-28 18:47:29 +02:00
attestation.py Implement hosted Conversion Attestation publication (WP-0006-T06) 2026-07-29 21:50:02 +02:00
breach_record.py Implement hosted Breach/Compliance Record publication (WP-0006-T09) 2026-07-29 22:23:41 +02:00
control_plane.py Implement Control Plane backend: rights enforcement + audit log (WP-0009-T03) 2026-07-30 15:08:59 +02:00
conversion.py Implement TREV-WP-0002 Stage 0 foundation: schemas, pure fold, golden Phase 2026-07-28 18:47:29 +02:00
effort_calculator.py Apply Development Effort Calculator to real pilot candidates (WP-0010-T03) 2026-07-30 13:29:06 +02:00
fold.py Merge spec/ into specs/: one specs directory for the whole repo 2026-07-29 10:22:14 +02:00
hashing.py Implement TREV-WP-0002 Stage 0 foundation: schemas, pure fold, golden Phase 2026-07-28 18:47:29 +02:00
ledger.py Extend WP-0006 auth for per-human sub-credentials (WP-0009-T02) 2026-07-30 14:26:33 +02:00
metrics.py Implement public metrics service (WP-0006-T05) 2026-07-29 21:42:52 +02:00
registry.py Implement WP-0009-T04: Control Plane interactive UI on whynot-design 2026-07-30 15:43:16 +02:00
validation.py Implement TREV-WP-0002 Stage 0 foundation: schemas, pure fold, golden Phase 2026-07-28 18:47:29 +02:00