-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
Current Limitation
Right now, footer buttons cannot invoke a update_data
I’d like to be able to attach a update_data directly to footer buttons.
Why This Matters
- Single-Screen, Multi-Step Flows
We often guide users through a sequence of steps, surveys, tutorials, onboarding using just one screen definition. Each footer click, next advances the user to the next step based on their journey, same screen different data.
If update_data would be possible, we could send the all steps during the initiation of the flow, and use update_data to set the state, without data exchange
Simple Example
Today’s Flow (no update_data)
- User taps “Next” in the footer.
- Client issues a full
data_exchange. - Server returns a brand-new screen JSON.
- Client discards the old view and renders the new one.
Proposed Flow (with update_data)
- User taps “Next” in the footer with
update_data: { step: 2 }. - Client uploads
{ step: 2 }to the server.
StavroX
Metadata
Metadata
Assignees
Labels
No labels