Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete Playground Page Manifest implementation #45

Open
pietbrauer opened this issue Sep 29, 2016 · 0 comments
Open

Complete Playground Page Manifest implementation #45

pietbrauer opened this issue Sep 29, 2016 · 0 comments

Comments

@pietbrauer
Copy link
Member

Playground pages can be modified with various arguments (Source]:

Argument Type Description Required
Hints Array of dictionaries An array of static hints and optional spoilers. See Hints Key.
LiveViewEdgeToEdge Boolean Sets the live view to extend past the margin in the area used for live views. See LiveViewEdgeToEdge Key.
LiveViewMode String Sets the live view to show even when it is not running. See LiveViewMode Key.
Name String The name displayed in the user interface. See Name Key.
PlaygroundLoggingMode String Controls the display of results in playground pages. See PlaygroundLoggingMode Key.
PosterReference String An image shown before the live view runs. See PosterReference Key.

Currently we support LiveViewEdgeToEdge, LiveViewMode and Name.

The manifest.plist is written in lib/playgroundbook/page_writer.rb and can easily be extended with the missing parameters described above.

This can be a good first step for someone who is looking to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant