You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current recipe editor is a single large Client Component responsible for create, edit, copy, imported-draft review, AI autofill, image upload, cuisine matching, tags, nutrition, ingredients, steps, validation, and submission.
This concentration makes accessibility, validation, performance, testing, and recovery difficult. Closing the modal or navigating away can also discard substantial work without warning or draft recovery.
Scope
Split the editor into a controller and focused sections for basics, planning, image, nutrition, ingredients, and steps.
Extract ingredient and step rows into stable components with durable client line IDs and controlled reordering/removal behavior.
Context
The current recipe editor is a single large Client Component responsible for create, edit, copy, imported-draft review, AI autofill, image upload, cuisine matching, tags, nutrition, ingredients, steps, validation, and submission.
This concentration makes accessibility, validation, performance, testing, and recovery difficult. Closing the modal or navigating away can also discard substantial work without warning or draft recovery.
Scope
aria-invalid/descriptions, and focus the first invalid field after submission.Acceptance criteria
Related
Out of scope