ramp4-pcar4 / storylines-editor

An editor for RAMP Storylines
5 stars 13 forks source link

Add slide control for including in toc, create config properties for controls #404

Closed IshavSohal closed 1 month ago

IshavSohal commented 1 month ago

Related Item(s)

370

394

Changes

Testing

Steps:

  1. Open any product (ex. 00000000-0000-0000-0000-000000000000)
  2. Open the product's config (in vscode)
  3. Go to the first slide and toggle the 'Include in Table of Contents' checkbox to be off
  4. Click save
  5. In the config, observe that for the first slide, includeInToc is now false
  6. Go to any other slide, and observe that the 'Include in Table of Contents' checkbox is on
  7. Toggle the 'Center Slide Content' checkbox to be on
  8. Click save
  9. In the config, observe that for the corresponding slide, centerSlide is now true
  10. Copy the directory containing the config for this product into your local story-ramp repo, within the public directory
  11. 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

This change is Reviewable

github-actions[bot] commented 1 month ago

Your demo site is ready! 🚀 Visit it here: https://ramp4-pcar4.github.io/storylines-editor/issue-370-fix