Added a slide control checkbox for including a slide in the table of contents (defaults to true)
Added all slide controls to the slide's config, so that each slide
Testing
Steps:
Open any product (ex. 00000000-0000-0000-0000-000000000000)
Open the product's config (in vscode)
Go to the first slide and toggle the 'Include in Table of Contents' checkbox to be off
Click save
In the config, observe that for the first slide, includeInToc is now false
Go to any other slide, and observe that the 'Include in Table of Contents' checkbox is on
Toggle the 'Center Slide Content' checkbox to be on
Click save
In the config, observe that for the corresponding slide, centerSlide is now true
Copy the directory containing the config for this product into your local story-ramp repo, within the public directory
Using your local story-ramp repo, open the preview for this product, and observe that the only slides in the toc are the ones for which includeInToc is set to true
Related Item(s)
370
394
Changes
Testing
Steps:
includeInToc
is now falsecenterSlide
is now truestory-ramp
repo, within thepublic
directorystory-ramp
repo, open the preview for this product, and observe that the only slides in the toc are the ones for whichincludeInToc
is set to trueThis change is