mozilla / learning.mozilla.org

This repo is for tracking initiatives of the Mozilla Learning Networks team.
https://learning.mozilla.org
Mozilla Public License 2.0
61 stars 91 forks source link

Generate sample Teaching Activity JSON data. #2307

Closed flukeout closed 7 years ago

flukeout commented 8 years ago

I'd like to work on the Results component for the Search & Filter stuff here - https://flukeout.github.io/curriculum-search-react/

To do so, I'd like some JSON data to work with:

There is some data here already, but apparently the structure has changed since that was created.

cc @gideonthomas let me know if this makes sense. You can just paste the raw JSON into this issue.

Cheers!

gideonthomas commented 8 years ago

Activities (in their compressed form):

[{
   "id": 1,
   "title": "Kraken the Code",
   "subtitle": "Understanding credibility",
   "description": "Learners use the Internet to solve the mystery of The Kraken, a legendary sea creature, while also learning about search terms, keywords, and how to assess the validity and relevance of web sources.",
   "image_url": "https://learning.mozilla.org/img/pages/web-lit-basics/img-kraken-code.jpg",
   "image_retina_url": "https://learning.mozilla.org/img/pages/web-lit-basics/img-kraken-code%402x.jpg",
   "url": "https://mozilla.github.io/mozilla-club-activity-kraken-the-code",
   "difficulty": "Beginner",
   "age_range": "Teens",
   "duration": "15 minutes to 1 hour",
   "twenty_first_century_skills": [ "Problem Solving" ],
   "teaching_kits": [ "Web Literacy Basics" ],
   "authors": [ "Mouse" ],
   "weblit_skills": [ "Search", "Synthesize", "Evaluate" ],
   "locale": "en-US"
}, {
   "id": 2,
   "title": "CSS Fonts",
   "subtitle": "Coding/Scripting, Composing, Design",
   "description": "Learners will use webfonts to create moods and tones on webpages, learning about coding, composing, designing, and remixing.",
   "image_url": "https://learning.mozilla.org/img/pages/intermediate-web-lit/letterpress.jpg",
   "url": "https://chadsansing.github.io/curriculum-testing/curriculum-migration/intermediate-web-lit-css-one-migrated/session02-css-fonts.html",
   "difficulty": "Intermediate",
   "age_range": "Teens",
   "duration": "15 minutes to 1 hour",
   "tags": [ "CSS", "Coding" ],
   "twenty_first_century_skills": [ "Problem Solving", "Communication", "Creativity" ],
   "teaching_kits": [ "Intermediate Web Literacy I: Intro to CSS" ],
   "authors": [ "Mozilla" ],
   "weblit_skills": [ "Code", "Compose", "Design", "Evaluate", "Remix", "Revise" "Research", "Search" ],
   "locale": "en-US"
}, {
   "id": 3,
   "title": "HTML Puzzle Boxes",
   "subtitle": "Understanding composing for the web",
   "description": "Learners race to sequence the paper boxes labeled with HTML tags, becoming familiar with the most common HTML tags and how to structure a web page.",
   "image_url": "https://learning.mozilla.org/img/pages/web-lit-basics/img-puzzle-boxes.jpg",
   "image_retina_url": "https://learning.mozilla.org/img/pages/web-lit-basics/img-puzzle-boxes%402x.jpg",
   "url": "https://mozilla.github.io/mozilla-club-activity-html-puzzle-boxes",
   "difficulty": "Beginner",
   "age_range": "Kids",
   "duration": "1 to 2 hours",
   "tags": [ "HTML", "Offline" ],
   "twenty_first_century_skills": [ "Creativity" ],
   "teaching_kits": [ "Web Literacy Basics", "Offline Icebreakers" ],
   "authors": [ "Yofie Setiawan, Mozilla Indonesia" ],
   "weblit_skills": [ "Code", "Remix" ],
   "locale": "en-US"
}, {
   "id": 4,
   "title": "Design a Story for the Web",
   "subtitle": "Understanding Designing",
   "description": "Learners will ideate, sketch and structure a story to create with Webmaker. By brainstorming offline, learners will start thinking about the different ways to create for the Web and get more comfortable with the idea of creating their own content.",
   "image_url": "https://learning.mozilla.org/img/pages/webmaker/designing-webmaker.jpg",
   "url": "http://mozilla.github.io/webmaker-curriculum/MobileWeb/design-webmaker-project.html",
   "difficulty": "Advanced",
   "age_range": "Adults",
   "duration": "2 to 4 hours",
   "teaching_kits": [ "Read, Write, and Participate with Webmaker" ],
   "authors": [ "Laura", "Bobby" ],
   "weblit_skills": [ "Design", "Remix", "Compose" ],
   "locale": "en-US"
}, {
   "id": 5,
   "title": "Privacy Coach",
   "subtitle": "Understanding privacy and open practices",
   "description": "Learners mentor their peers to enhance their privacy through their online or digital activities. Knowledge and expertise is shared through discussion or by remixing a response template to report on experiences.",
   "image_url": "https://learning.mozilla.org/img/pages/protect-your-data/img-privacycoach.png",
   "image_retina_url": "https://learning.mozilla.org/img/pages/protect-your-data/img-privacycoach%402x.png 2x",
   "url": "http://mozilla.github.io/webmaker-curriculum/ProtectingYourData/session03-privacycoach.html",
   "difficulty": "Beginner",
   "age_range": "Adults",
   "duration": "15 minutes to 1 hour",
   "teaching_kits": [ "Protect Your Data" ],
   "authors": [ "Hive Toronto" ],
   "weblit_skills": [ "Privacy", "Open Practices" ],
   "locale": "en-US"
}]

We can also get activities and expand some of the properties inside each activity. For example, if we get all activities like above and expand the following properties, in each activity, the property's value can look like:

"twenty_first_century_skills": [{
   "id": 3,
   "name": "Problem Solving",
   "description": "Using research, analysis, rapid prototyping, and feedback to formulate a problem and develop, test, and refine the solution/plan.",
   "image_url": "https://learning.mozilla.org/img/pages/web-literacy/21cskills/21c-skill-icon_problem-solving.svg"
}, {
   "id": 1,
   "name": "Communication",
   "description": "Understanding and presenting verbal and nonverbal messages effectively.",
   "image_url": "https://learning.mozilla.org/img/pages/web-literacy/21cskills/21c-skill-icon_communication.svg",
   "image_retina_url": "https://learning.mozilla.org/img/pages/web-literacy/21cskills/21c-skill-icon_communication.svg"
}]
"teaching_kits": [{
   "id": 5,
   "title": "Web Literacy Basics",
   "short_description": "This six-part series helps learners become familiar with reading, writing and participating on the web. They'll discover the foundations of the web through production and collaboration. This is an ideal kit for Mozilla Clubs.",
   "description": "Learners get familiar with reading, writing and participating on the web in this six-part module. Discover the foundations of the web through production and collaboration.",
   "authors": [ "Mozilla Learning" ],
   "image_url": "https://learning.mozilla.org/img/pages/activities/img-activity-curriculum.png",
   "image_retina_url": "https://learning.mozilla.org/img/pages/activities/img-activity-curriculum%402x.png"
}, {
   "id": 6,
   "title": "Offline Icebreakers",
   "short_description": "Solve puzzles and play games to get to know your fellow learners and the web.",
   "authors": [ "Mozilla", "Digital Corps", "ginger coons", "Marc Lesser", "Thomas Park", "Yofie Setiawan", "Karen Smith" ],
   "image_url": "https://learning.mozilla.org/img/pages/offline-icebreakers/html-puzzleboxes.jpg"
}]
[{
   "id": 13,
   "name": "Bobby Richter",
   "url": "https://twitter.com/secretrobotron"
}, {
   "id": 1,
   "name": "Laura de Reynal"
}]
[{
   "id": 12,
   "name": "Open Practices"
}, {
   "id": 11,
   "name": "Privacy"
}]
flukeout commented 8 years ago

@gideonthomas the expanded teaching_kits property seems to be missing a url, yeah?

"teaching_kits": [{
   "id": 5,
   "title": "Web Literacy Basics",
   "short_description": "This six-part series helps learners become familiar with reading, writing and participating on the web. They'll discover the foundations of the web through production and collaboration. This is an ideal kit for Mozilla Clubs.",
   "description": "Learners get familiar with reading, writing and participating on the web in this six-part module. Discover the foundations of the web through production and collaboration.",
   "authors": [ "Mozilla Learning" ],
   "image_url": "https://learning.mozilla.org/img/pages/activities/img-activity-curriculum.png",
   "image_retina_url": "https://learning.mozilla.org/img/pages/activities/img-activity-curriculum%402x.png"
}, {
   "id": 6,
   "title": "Offline Icebreakers",
   "short_description": "Solve puzzles and play games to get to know your fellow learners and the web.",
   "authors": [ "Mozilla", "Digital Corps", "ginger coons", "Marc Lesser", "Thomas Park", "Yofie Setiawan", "Karen Smith" ],
   "image_url": "https://learning.mozilla.org/img/pages/offline-icebreakers/html-puzzleboxes.jpg"
}]
gideonthomas commented 8 years ago

no, I don't think so? what url will it point to? The activities have a url because they live on Github Pages/Thimble/Google Docs, but the teaching kits will live in the learning site itself so it shouldn't have the url right?

flukeout commented 8 years ago

There needs to be some mechanism to navigating to the Collection page. How should users get there then?

For reference, here's what that view might look like...

https://redpen.io/ro89ab1ced25908016

hannahkane commented 7 years ago

@flukeout - okay to close this ticket?

flukeout commented 7 years ago

Yep, closing.