Skip to content

preview: mirror fork PR #7770 - #7771

Closed
github-actions[bot] wants to merge 3 commits into
mainfrom
cf-preview/pr-7770
Closed

github-actions[bot] wants to merge 3 commits into
mainfrom
cf-preview/pr-7770

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

This PR mirrors fork PR #7770 for Cloudflare Pages preview builds.

Source PR: #7770
Source fork branch: tenderdeve/cowswap:fix/7768-captcha-dismiss
Mirrored SHA: 2e4fb605abeb

Do not merge this PR. Close the source PR to clean up this mirror.

…the form

The Turnstile widget only unmounted once the exchanged JWT was stored, so
its built-in "Success!" box lingered on the trade form after the challenge
was solved — and stayed indefinitely whenever the token exchange was slow or
failed. Hide the widget as soon as the challenge succeeds while the exchange
runs in the background, and reveal it again on expiry/error so a fresh
challenge can be solved.
@github-actions github-actions Bot added the DONT_MERGE Indicates the PR should not be merged. Probably a WIP or PoC. label Jun 30, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 30, 2026 •

Copy link
Copy Markdown

Deploying explorer-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2e4fb60
Status: ✅  Deploy successful!
Preview URL: https://c74a72fd.explorer-dev-dxz.pages.dev
Branch Preview URL: https://cf-preview-pr-7770.explorer-dev-dxz.pages.dev

View logs

@vercel

vercel Bot commented Jun 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cowfi Ready Ready Preview Jul 1, 2026 11:51am
storybook Ready Ready Preview Jul 1, 2026 11:51am
widget-configurator Ready Ready Preview Jul 1, 2026 11:51am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
cosmos Ignored Ignored Jul 1, 2026 11:51am
sdk-tools Ignored Ignored Preview Jul 1, 2026 11:51am

Request Review

@vercel
vercel Bot temporarily deployed to Preview – storybook June 30, 2026 13:31 Inactive
@vercel
vercel Bot temporarily deployed to Preview – widget-configurator June 30, 2026 13:32 Inactive
@vercel
vercel Bot temporarily deployed to Preview – cowfi June 30, 2026 13:33 Inactive
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 30, 2026 •

Copy link
Copy Markdown

Deploying swap-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2e4fb60
Status: ✅  Deploy successful!
Preview URL: https://9e0b5835.swap-dev-5u6.pages.dev
Branch Preview URL: https://cf-preview-pr-7770.swap-dev-5u6.pages.dev

View logs

tenderdeve and others added 2 commits July 1, 2026 14:40
…success

The previous approach hid the solved widget via display:none during the JWT
exchange and re-showed it on failure, which re-rendered Cloudflare's stale
"Success!" box even though the exchange had failed.

Instead, leave the solved widget visible while the exchange runs, then:
- on success, store the JWT (the widget unmounts, so the "Success!" box leaves
  the form) — the original issue;
- on failure (or onError), reset the widget so it drops the stale "Success!"
  box and re-runs the challenge for the user to re-confirm.
@vercel
vercel Bot temporarily deployed to Preview – storybook July 1, 2026 11:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – widget-configurator July 1, 2026 11:50 Inactive
@vercel
vercel Bot temporarily deployed to Preview – cowfi July 1, 2026 11:51 Inactive
@github-actions github-actions Bot closed this Jul 6, 2026
@github-actions
github-actions Bot deleted the cf-preview/pr-7770 branch July 6, 2026 12:29

This branch was previously deployed

3 inactive deployments
Preview – cowfi — 2e4fb605 Deployed Jul 1, 2026 by vercel[bot]
Preview – widget-configurator — 2e4fb605 Deployed Jul 1, 2026 by vercel[bot]
Preview – storybook — 2e4fb605 Deployed Jul 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DONT_MERGE Indicates the PR should not be merged. Probably a WIP or PoC.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants