#597 — Update Edit Merchant dialog UX and validation
Repo: Twill-AI/twill-ai-ui State: closed | Status: done Assignee: raymondehizoba
Created: 2025-08-13 · Updated: 2025-08-21
Description
Caused by https://github.com/Twill-AI/twill-ai-ui/issues/578 last 2 issues:
- If press “Submit” navigate to other (than “Review”) step, press “Save Draft” and return back to “Review” section then all errors from “Submit” are being cleaned out (because of “autoSave” feature which calls “Save Draft” if navigate between tabs).
- “Incomplete sections” in “Review” section is not updated on its own, only by “Save draft” click (https://twill-network.slack.com/archives/C078KS0R05B/p1754987308135679)
AC:
- There is no auto-save - form data is saved only on “Save Draft”, “Submit Merchant” or “Yes, save changes” button in new “You have unsaved changes. Do you want to save them before leaving?” dialog.
- “Save Draft” doesn’t connected with validation at all.
- “Incomplete/Complete Sections” are populated only with internal validation messages and refreshed each time user navigates to “Review” step.
- Red square at bottom of “Review” step is populated with back-end validation messages after pressing “Submit Application” and refreshed only on new button press.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets