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

Form Validation: Post editor (block editor) #7343

Open
7 tasks
Tracked by #6958
sc0ttkclark opened this issue Aug 27, 2024 · 1 comment · May be fixed by #7369
Open
7 tasks
Tracked by #6958

Form Validation: Post editor (block editor) #7343

sc0ttkclark opened this issue Aug 27, 2024 · 1 comment · May be fixed by #7369
Assignees
Labels
Component: UI Issues related to user experience and interfaces Type: Feature Features that add entirely new functionality that was not there before
Milestone

Comments

@sc0ttkclark
Copy link
Member

sc0ttkclark commented Aug 27, 2024

We need to prevent the block editor saving process when there are fields in an invalid state (required, bad format, etc).

  • Stop saving of a new post
  • Stop saving of a draft
  • Stop updating of a published post

Stop saving/updating means:

  • Do not save the post
  • Do not save the metaboxes

Bonus points:

  • Show the error in the publish flow (when publishing a new post)
  • Show a notice on the screen about errors being highlighted in the form below (maybe link to the first metabox?)
@sc0ttkclark
Copy link
Member Author

@alexstandiford is going to have a go at a proof of concept to give us a head start here.

@sc0ttkclark sc0ttkclark added Type: Feature Features that add entirely new functionality that was not there before Component: UI Issues related to user experience and interfaces labels Aug 27, 2024
@sc0ttkclark sc0ttkclark added this to the Pods 3.3 milestone Aug 27, 2024
@sc0ttkclark sc0ttkclark self-assigned this Aug 27, 2024
@sc0ttkclark sc0ttkclark changed the title Form: Post editor (block editor) Form Validation: Post editor (block editor) Aug 30, 2024
@JoryHogeveen JoryHogeveen linked a pull request Oct 15, 2024 that will close this issue
4 tasks
@JoryHogeveen JoryHogeveen self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: UI Issues related to user experience and interfaces Type: Feature Features that add entirely new functionality that was not there before
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants