fix(forms): close completed drawers and restore portal styling

This commit is contained in:
DeCentN2Madness committed 2026-10-30 14:21:27 -07:00
1 parent e97f0ea9b4
commit 55adb79705
15 files changed
+598 -9

No files matched your search

@@ -123,3 +123,23 @@ navigation change, new iframe allowance or publication entry. All original
seven production and nine isolated consultation placements remain unchanged.
No diagnostic conditional note or service preselection is introduced. The
clinical and fluent-language review gates remain open.
### 2026-10-30 completion and language correction addendum
On a strictly validated Form A `submission-completed` message, an open activated
consultation drawer records the same shared suppression expiry immediately,
shows localized acknowledgment for five seconds, then uses the existing
slide-out/close/focus-restoration flow. The 500ms slide-out follows the full
five-second acknowledgment; reduced motion closes immediately after that delay.
Manual close/navigation cancels timers. A duplicate message is inert. A later
manual CTA starts a fresh iframe after completion; an unfinished iframe is
retained. This is not analytics, conversion measurement or answer inspection.
The exact source window and exact origin from the gated URL must match. No new
production route is approved. Provider behavior still requires owner acceptance.
The owner-reported Spanish seven-option dropdown conflicts with the intended
five choices. Astro emits one fixed consultation iframe per surface; EN/ES differ
only in language. No option identifiers, duplicate intent field or service
preselection are emitted by Astro. Owner must compare the hosted Spanish form,
then review multilingual option translations and Update Options conditions.
Do not remove options through cross-origin scripts or add another physical form.