-
Notifications
You must be signed in to change notification settings - Fork 1
smart import and updates #472
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| .. meta:: | ||
| :description: Use Smart Import to import assignments into Codio. Smart Import automatically generates a Codio Guide for each imported assignment. | ||
|
|
||
|
|
||
| .. _smartimport: | ||
|
|
||
|
|
||
| Smart Import | ||
| ============ | ||
|
|
||
| Use Smart Import to import existing content into your Codio course as assignments. Smart Import automatically creates a Codio Guide for each assignment. It converts your source document into Markdown that best represents its structure, including heading levels, lists, and code blocks. It also adds the code files from your source to the assignment layout, so the guide displays on the right and the code files display on the left. | ||
|
|
||
| Smart Import examines the contents of your uploaded materials to determine the programming language used and assigns the appropriate technology stack to the assignment. You do not have to build the guide, configure the layout, or manually select a stack. | ||
|
|
||
|
|
||
| Smart Import supports three sources: | ||
|
|
||
| - **Files** — Upload individual files from your computer (32 MB limit). | ||
| - **Archive** — Upload an archive file from your computer. | ||
| - **GitHub** — Import the contents of a GitHub repository, including repositories used with GitHub Classroom. | ||
|
|
||
| Each Smart Import operation creates one assignment, but you can run multiple imports concurrently. Start an import, then begin the next one while the first is still processing. | ||
|
LolaValente marked this conversation as resolved.
|
||
|
|
||
| Import an Assignment | ||
| -------------------- | ||
|
|
||
| 1. Open your course and click **Edit Assignments** in the navigation pane on the left. | ||
|
|
||
| 2. If your course does not have a module yet, click **Add Module** to create one. | ||
|
|
||
| 3. Click **Add Assignment**. | ||
|
|
||
| 4. Click **Smart Import**. | ||
|
|
||
| 5. Click the **Source** drop-down and select your source: | ||
|
|
||
|
|
||
| - **Files** — Click the **Select files** box and select the files you want to import in the file browser window that opens. | ||
| - **Archive** — Click the **Select archive file** box and select the archive file you want to import in the file browser window that opens. | ||
| - **GitHub** — Enter your GitHub repository URL. | ||
|
|
||
| .. image:: /img/guides/smart-import-source.png | ||
| :alt: Smart Import in the Select your Starting Point window, showing the Source drop-down and the GitHub Repository URL field | ||
| :width: 450px | ||
|
|
||
| 6. Enter a name for the assignment. You can also enter a description. | ||
|
|
||
| 7. Click **Create**. | ||
|
|
||
| The assignment appears in your module with an importing status. When the import completes, Codio generates the guide and layout from your source content automatically. | ||
|
|
||
| .. note:: To import all of your GitHub Classroom assignments at once, see :ref:`importfromgithubclassroom`. Assignments imported with that method retain your README and coding files but do not include an automatically generated guide. | ||
|
|
||
| Preview and Publish an Assignment | ||
| --------------------------------- | ||
|
|
||
| Assignments created with Smart Import are saved as drafts. Students cannot access a draft assignment until you publish it. Preview each assignment to confirm the generated guide meets your needs, and then publish it to make it available to your students. | ||
|
|
||
| 1. Click **Edit Assignments** and click the assignment to preview it. | ||
|
|
||
| 2. To make changes, click **Edit**, modify the assignment, and then click **Preview** to review your updates. | ||
|
|
||
| 3. When the assignment is ready for your students, click **Publish**, and then click **Publish** again to confirm. | ||
|
|
||
| The assignment status changes from draft to published, and students can now access it. Published assignments also appear on your course **Overview** dashboard. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.