Skip to content

Feature request: enable update_data on footer components #35

@mickbut-ler

Description

@mickbut-ler

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)

  1. User taps “Next” in the footer.
  2. Client issues a full data_exchange.
  3. Server returns a brand-new screen JSON.
  4. Client discards the old view and renders the new one.

Proposed Flow (with update_data)

  1. User taps “Next” in the footer with update_data: { step: 2 }.
  2. Client uploads { step: 2 } to the server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions