-
Notifications
You must be signed in to change notification settings - Fork 0
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
Write the course steps #4
base: master
Are you sure you want to change the base?
Conversation
Co-Authored-By: github-learning-lab[bot] <37936606+github-learning-lab[bot]@users.noreply.github.com>
Great! Now, the repository will have an issue for the learner. Step 9: Creating a responseIn the last step, we referenced a file titled ⌨️ Activity: Adding a response
I'll respond below when I detect a commit on this branch. |
Great! The learner's repository will now be setup with a single issue. Steps in Learning LabLet's now dive into the Each step maps directly to something that the user will do. User interaction on GitHub triggers the step, and Learning Lab responds. The user interaction could be creating a pull request, closing an issue, or editing a file. When designing a course, it's important to plan for the user interactions to reflect what you want them to learn. Best practices for stepsFor example, you could write a lot of text and have the user close the issue when they're done. But, unless your text was telling them how to close an issue, that reaction doesn't make sense. Try to find a way to have the user demonstrate their knowledge, like by committing a function to a branch. Let the user show they understand to trigger the next step. See 📖 best practices in the Learning Lab docs for more suggestions. Step 9: Naming our first stepLet's name our first step. We will give it a title and a description. These will be shown on Learning Lab, and they help course authors stay organized in the ⌨️ Activity: Naming our first step
I'll respond below when I detect a commit on this branch. |
- title: # the title of the step, shown to the learner in the course progress page | ||
description: # the event that will trigger the actions to be executed, full list at https://developer.github.com/v3/activity/events/types/ | ||
event: # a list of the actions that will occur when the step is triggered by an event | ||
- title: # the title of the step, shown to the learner in the course progress page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- title: # the title of the step, shown to the learner in the course progress page | |
- title: Create a new PR |
description: # the event that will trigger the actions to be executed, full list at https://developer.github.com/v3/activity/events/types/ | ||
event: # a list of the actions that will occur when the step is triggered by an event | ||
- title: # the title of the step, shown to the learner in the course progress page | ||
description: # the event that will trigger the actions to be executed, full list at https://developer.github.com/v3/activity/events/types/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: # the event that will trigger the actions to be executed, full list at https://developer.github.com/v3/activity/events/types/ | |
description: Add your name to the README.md file in your new PR |
Great! Now let's work on the
before:
block.before:
Anything in this block occurs before the learner can access their course repository.
Learning Lab actions
Actions are reusable modules that each course has access to. They are each designed to do very specific things, and nothing more. This is to optimize for reusability and simplicity. The documentation contains a listing of 📖 all available actions.
Step 7: Add to the
before
blockWe'll use the 📖
createIssue
action to create an issue for the learner with some initial instructions. ThecreateIssue
action requires two 📖 options:We'll define both of those here, but we'll create the body in the next step.
⌨️ Activity: Add the
createIssue
actioncreateIssue
action in thebefore:
blockI'll respond below when I detect a commit on this branch.