diff options
author | 2024-08-09 17:17:06 -0400 | |
---|---|---|
committer | 2024-08-09 17:17:06 -0400 | |
commit | f31d4665c1cbb0918b9e00ba1431fb6f264025f7 (patch) | |
tree | 794dd492e4c00530f4ad28db5495c84deb167955 /examples/framework-lit/src/components/calc-add.js | |
parent | 685361f3a4d96dbb45cd35ce02cf9816ccb31c52 (diff) | |
download | astro-f31d4665c1cbb0918b9e00ba1431fb6f264025f7.tar.gz astro-f31d4665c1cbb0918b9e00ba1431fb6f264025f7.tar.zst astro-f31d4665c1cbb0918b9e00ba1431fb6f264025f7.zip |
Actions: auto-redirect action response to avoid "confirm form resubmission" dialog (#11603)
* feat: redirect with result to avoid resubmission dialog
* fix: use standard POST for react forms
* fix(test): handle redirect responses
* refactor: actionresultbehavior -> disableredirect
* refactor: next() -> throw internal error
* fix(test): bad referer link
* refactor: followRedirect -> followExpectedRedirect
* refactor: remove encryption TODO
* feat: changeset
* chore: whitespace
* feat: laravel note
* refactor: clean up cookie -> action payload
* refactor: actionsinternal -> actionpayload
* refactor: use _astroAction const
* refactor: actionRedirect string as const
* refactor: simplify error check
* chore: remove stray console log
* refactor: only delete cookies on error
* fix: check cookie after handling POST requests
* chore: remove unused tgz
* Revert "fix: check cookie after handling POST requests"
This reverts commit 607f90f07b26a9358faf7bde947ba2e34674b3ff.
* Revert "refactor: only delete cookies on error"
This reverts commit 52aab84b6b16c7e6166fbe1a77655827d2efb71c.
Diffstat (limited to 'examples/framework-lit/src/components/calc-add.js')
0 files changed, 0 insertions, 0 deletions