Skip to content

AO3-6084 Improve error behavior for Add Prompt form (prompt memes)#5706

Open
techlingyi wants to merge 3 commits intootwcode:masterfrom
techlingyi:AO3-6084
Open

AO3-6084 Improve error behavior for Add Prompt form (prompt memes)#5706
techlingyi wants to merge 3 commits intootwcode:masterfrom
techlingyi:AO3-6084

Conversation

@techlingyi
Copy link
Copy Markdown

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-6084

Purpose

Add a potential error message section to the Add Prompt form. When the user uses the Add Prompt form to add a prompt with a noncanonical tag, instead of redirecting to the Edit Sign-up form, just re-render the Add Prompt form (preserving the user's input); the noncanonical tag error message (already set up for Edit Sign-up and Edit Prompt) automatically appears in the potential error message section.

(n.b. I didn't add any extra tests, just edited the ones that covered the original behavior)

Credit

Ling-Yi (any pronouns)

@techlingyi techlingyi changed the title AO3-6084 Using the Add Prompt form to add a prompt with a noncanonical tag gives unhelpful error and loses input AO3-6084 Improve error behavior for Add Prompt form (prompt memes) Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant