Skip to content

Add "go back" navigation to the wizard #10

@ericof

Description

@ericof

The wizard is forward-only. If a user makes a mistake on an earlier question,
their only option is to abort (Ctrl+C) and start over. For forms with many
questions this is a frustrating experience.

Proposed solution: Make Form bidirectional by maintaining a question
history stack and allowing the current answer to be reset. Renderers would
support a special input command (e.g. typing < or !back) to step back to
the previous question, pre-filled with the previously given answer.

This is a significant change to the core Form state machine and all renderer
input loops.

Related: Once bidirectional navigation exists, the summary/confirmation
screen (issue #9) can offer a "go back" option that re-enters the wizard with
all existing answers as defaults.


Reported by @mpalomaki

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions