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
ref(onboarding): Report project-details completion through one callback
The project-details hook fired onProjectCreated,
onProjectDetailsFormChange, and onComplete in sequence at the end of a
successful submit, an artifact of extracting the inline step logic. The
single-view project-creation host needs the created project (id and
slug) and the submitted form at the same moment to snapshot its wizard
session and navigate, so replace the three callbacks with one onComplete
carrying both, and widen the payload from the project slug to the
project itself.
The onboarding step forwards the same values to its existing context
setters, so its behavior is unchanged. The reuse path now reports the
reused project and form state, which match what the host already has
stored.
0 commit comments