The interaction dispatcher gives every parked interaction step the same hard-coded page title, "Continue", from InteractionController::title(). A step cannot name its own page, so a payment step, a form step and a message step all show the generic "Continue" heading.

Proposed resolution

Add an optional title() method to InteractionInterface, defaulting to NULL in InteractionBase. Change InteractionController::title() to resolve the parked interaction the same way step() does and return its title(), falling back to "Continue" when the interaction has none or the request carries no valid token. Each interaction can then title its own page (for example a payment step "Complete your payment"); interactions that do not override it keep the generic default.

Remaining tasks

Review the merge request.

Issue fork orchestra-3606872

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

  • mably committed f856ae27 on 1.x
    feat: #3606872 Let each interaction provide its own dispatcher page...
mably’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.