Skip to content

Instantly share code, notes, and snippets.

blocks:
- type: layout
path: grid/sdk_twocolumn
metadata: grid/sdk_twocolumn
regions:
- id: region1
blocks:
- type: header
h3:
- h3field1
@mediawrangler
mediawrangler / contactme.json
Created May 31, 2018 17:45
localdata/polls/contactme.json
{
"data": {
"id": "27235e41-02cc-4d43-8e02-3e29406a4923",
"type": "response_sets",
"attributes": {
"time_taken": null,
"fields": {},
"answers": [
{
"question_id": 269,
@mediawrangler
mediawrangler / toysjory.json
Created June 4, 2018 15:27
app/assets/video-metadata/en/toystory.json
{
"file": "app/assets/videos/en/toystory.mp4",
"key": "toystory",
"name": "",
"digest": "00706541dd08db648d8f7ad730c83a67",
"source": {
"base": "toystory.mp4",
"ext": ".mp4",
"onS3": true
},
@mediawrangler
mediawrangler / content.yml
Last active June 7, 2018 22:09
e-signature sample -- (resources.json goes in app/local-data/ directory)
blocks:
type: container
class: anything
- blocks:
- type: component
path: partial/molecules/esignature
parameters:
resource_sub_type: generic-policy
e_sign_caption: clickToSign
@mediawrangler
mediawrangler / content.yml
Created June 19, 2018 19:35
Sample Branching Video
blocks:
- type: container
class: asdf
blocks:
- type: component
path: partial/organelles/branching-video
parameters:
intro:
video:
id: toystory
@mediawrangler
mediawrangler / content.yml
Created June 21, 2018 19:49
Usage of the 'Navigate' component
blocks:
- type: component
path: partial/molecules/navigate
parameters:
direction: forward
text: continueLabel
title: continueTitle
tooltip: completeThePage
configs:
init: true
@mediawrangler
mediawrangler / sample-ahoy-events.json
Created July 3, 2018 17:31
Some sample ahoy event data
[{
"id": "622f83f3-21c5-4902-8e4b-0c17ee15c1fc",
"name": "$view",
"properties": {
"url": "https://agiledesignlabs.everfi-next-staging.net/student/content/8#credit-scores-and-reports/calculation/page-2",
"title": "Credit Scores And Reports",
"page": "/student/dashboard/sean-sandbox/financial-health#credit-scores-and-reports/calculation/page-3",
"user_content_id": 97701
},
"time": 1530638210.329
@mediawrangler
mediawrangler / whatsmyname.toml
Created January 9, 2019 18:13
React JSON Schema Form - Conditionals (Schema Dependency)
[jsonschema]
title = "A registration form"
description = "A simple form example."
type = "object"
[jsonschema.properties]
[jsonschema.properties.hasMiddleName]
type = "boolean"
title = "Has Middle Name?"
@mediawrangler
mediawrangler / whatsmyname.json
Created January 9, 2019 18:16
React JSON Schema Form - Conditionals (Schema Dependency)
{
"title": "A registration form",
"description": "A simple form example.",
"type": "object",
"properties": {
"hasMiddleName": {
"type": "boolean",
"title": "Has Middle Name?"
},
"lastName": {
<h2>Content Template Icon</h2>
<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg">
<g>
<title>Content</title>
<rect fill-opacity="0" fill="#0fffff" id="canvas_background" height="122" width="122" y="-1" x="-1"/>
</g>
<g>
<g id="svg_2">
<line fill="none" stroke="#ffffff" stroke-width="2" fill-opacity="0" x1="4.375191" y1="101.359233" x2="4.375191" y2="3.606691" id="svg_29" stroke-linejoin="null" stroke-linecap="null"/>