Add "Enable `restart` button" option to Interactive Book

Description

Acceptance criteria

“As an author, I can enable/disable the “Restart” button for the summary page in order to control the user experience.”

Expected behavior:

  • The option is available within the Behavioural settings section of the editor.

  • When disabled, there’s no “Restart” button on the summary page.

  • When disabled, there’s no “Restart” button within the submission feedback message.

  • When enabled, there is a “Restart” button on the summary page, and the user can use it to restart the interactive book.

  • When enabled, there is a “Restart” button within the submission feedback message, and the user can use it to restart the interactive book.

  • The default setting is “enabled” (true).

  • The behavior of existing content will not change after the patch is applied, so the option should be enabled and the “Restart” button should be visible.

Background

There was a user request to make the “Restart” button on the summary page optional. That feature was green-lit by on the forum.

Suggestion

Pull request at

Acceptance Criteria

None

Activity

Dhanyashree Neechadi Santosh September 19, 2023 at 10:48 AM

Enable Restart button Option present under Behavioral settings

Restart button disabled

Restart button enabled

New content

Existing content

Done

Details

Assignee

Reporter

Tester

Priority

Created July 28, 2023 at 9:27 AM
Updated September 19, 2023 at 10:49 AM
Resolved July 28, 2023 at 10:29 AM