Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch Title Errors #27

Open
pantheredeye opened this issue Sep 1, 2022 · 2 comments
Open

Catch Title Errors #27

pantheredeye opened this issue Sep 1, 2022 · 2 comments

Comments

@pantheredeye
Copy link
Collaborator

Catch title related errors & prompt user to resubmit with different title

Too Short
Already Used
Nonsensical
No Title

Desired Action

  1. Display error message to user
  2. Prompt for manual title creation
  3. Try submittal again
@pantheredeye
Copy link
Collaborator Author

{"action":"create_post","errors":["Title has already been used"]}

@pantheredeye
Copy link
Collaborator Author

pantheredeye commented Sep 21, 2022

{"action":"create_post","errors":["Title seems unclear, most of the words contain the same letters over and over?"]}

this was for a short title; status code 422(?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant