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

teacher tool carousel content #5509

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions docs/teachertool/carousels/rubrics-for-games/cards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"cards": [
{
"cardType": "rubric-resource",
"cardTitle": "Rock Paper Scissors",
"imageUrl": "/static/mb/projects/a4-motion.png",
"rubricUrl": "/teachertool/rubrics/rock-paper-scissors.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Rock Paper Scissors V2",
"imageUrl": "/static/mb/projects/a4-motion-v2.png",
"rubricUrl": "/teachertool/rubrics/rock-paper-scissors-mbv2.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Coin Flipper",
"imageUrl": "/static/mb/projects/coin-flipper.png",
"rubricUrl": "/teachertool/rubrics/coin-flipper.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "7 seconds",
"imageUrl": "/static/mb/projects/7-seconds.png",
"rubricUrl": "/teachertool/rubrics/7-seconds.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Hot Potato",
"imageUrl": "/static/mb/projects/hot-potato.png",
"rubricUrl": "/teachertool/rubrics/hot-potato.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Heads Guess!",
"imageUrl": "/static/mb/projects/heads-guess.png",
"rubricUrl": "/teachertool/rubrics/heads-guess.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Reaction Time",
"imageUrl": "/static/mb/projects/reaction.jpg",
"rubricUrl": "/teachertool/rubrics/reaction-time.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Tug-Of-LED",
"imageUrl": "/static/mb/projects/tug-of-led.png",
"rubricUrl": "/teachertool/rubrics/tug-of-led.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Magic Button Trick",
"imageUrl": "/static/mb/projects/magic-button-trick.png",
"rubricUrl": "/teachertool/rubrics/magic-button-trick.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Snap the dot",
"imageUrl": "/static/mb/projects/snap-the-dot.png",
"rubricUrl": "/teachertool/rubrics/snap-the-dot.json"
}
]
}
40 changes: 40 additions & 0 deletions docs/teachertool/carousels/rubrics-for-tutorials-v2/cards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"cards": [
{
"cardType": "rubric-resource",
"cardTitle": "Pet Hamster",
"imageUrl": "/static/mb/projects/pet-hamster.png",
"rubricUrl": "/teachertool/rubrics/pet-hamster-mbv2.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Countdown",
"imageUrl": "/static/mb/projects/countdown.png",
"rubricUrl": "/teachertool/rubrics/countdown-mbv2.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Morse Chat",
"imageUrl": "/static/mb/projects/morse-chat.png",
"rubricUrl": "/teachertool/rubrics/morse-chat-mbv2.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Clap Lights",
"imageUrl": "/static/mb/projects/clap-lights.png",
"rubricUrl": "/teachertool/rubrics/clap-lights-mbv2.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Blow Away",
"imageUrl": "/static/mb/projects/blow-away.png",
"rubricUrl": "/teachertool/rubrics/blow-away-mbv2.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Cat Napping",
"imageUrl": "/static/mb/projects/cat-napping/1_lychee.png",
"rubricUrl": "/teachertool/rubrics/cat-naping-mbv2.json"
}
]
}
40 changes: 40 additions & 0 deletions docs/teachertool/carousels/rubrics-for-tutorials/cards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"cards": [
{
"cardType": "rubric-resource",
"cardTitle": "Flashing Heart",
"imageUrl": "/static/mb/projects/a1-display.png",
"rubricUrl": "/teachertool/rubrics/flashing-heart.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Name Tag",
"imageUrl": "/static/mb/projects/name-tag.png",
"rubricUrl": "/teachertool/rubrics/name-tag.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Smiley Buttons",
"imageUrl": "/static/mb/projects/a2-buttons.png",
"rubricUrl": "/teachertool/rubrics/smiley-buttons.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Dice",
"imageUrl": "/static/mb/projects/dice.png",
"rubricUrl": "/teachertool/rubrics/dice.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Love Meter",
"imageUrl": "/static/mb/projects/a3-pins.png",
"rubricUrl": "/teachertool/rubrics/love-meter.json"
},
{
"cardType": "rubric-resource",
"cardTitle": "Micro Chat",
"imageUrl": "/static/mb/projects/a9-radio.png",
"rubricUrl": "/teachertool/rubrics/micro-chat.json"
}
]
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/7-seconds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "7 Seconds",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/blow-away-mbv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Blow Away",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/cat-napping-mbv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Cat Napping",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/clap-lights-mbv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Clap Lights",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/coin-flipper.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Coin Flipper",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/countdown-mbv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Countdown",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/dice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Dice",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/flashing-heart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Flashing Heart",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/heads-guess.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Heads Guess!",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/hot-potato.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Hot Potato",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/love-meter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Love Meter",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/magic-button-trick.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Magic Button Trick",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/micro-chat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Micro Chat",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/morse-chat-mbv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Morse Chat",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/name-tag.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Name Tag",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/pet-hamster-mbv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Pet Hamster",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/reaction-time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Reaction Time",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/rock-paper-scissors-mbv2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Rock Paper Scissors V2",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/rock-paper-scissors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Rock Paper Scissors",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/smiley-buttons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Smiley Buttons",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/snap-the-dot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Snap the dot",
"criteria": []
}
4 changes: 4 additions & 0 deletions docs/teachertool/rubrics/tug-of-led.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Tug-Of-LED",
"criteria": []
}
16 changes: 16 additions & 0 deletions targetconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,22 @@
"youTube": true
}
},
"teachertool": {
"carousels": [
{
"title": "Rubrics for Tutorials",
"cardsUrl": "teachertool/carousels/rubrics-for-tutorials/cards.json"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocking question, I don't have a strong opinion either way, I just wanted to ask why we have each of the cards for the different carousels in separate folders instead of files. As in, keep the carousels directory, but in that directory, you just have games-rubric-cards.json, v2-tutorials-rubric-cards.json, and tutorial-rubric-cards.json instead of the folders. I think I just have a hard time imagining something else will go in the separate folders other than cards.json.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the same question

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to model it after how the editor home page works, but it is inconsistent. I chose to go with the per-folder layout because it seemed more organized. Planning for a time when we have lots of rubric content, I wanted to make sure content editors would be able find the files they're looking for if/when we have lots of rubrics and carousels.

},
{
"title": "Rubrics for V2 Tutorials",
"cardsUrl": "teachertool/carousels/rubrics-for-tutorials-v2/cards.json"
},
{
"title": "Rubrics for Games",
"cardsUrl": "teachertool/carousels/rubrics-for-games/cards.json"
}
]
},
"electronManifest": {
"latest": "v6.0.19"
}
Expand Down
Loading