Skip to content

Releases: coderoad/coderoad-vscode

v0.7.0

21 May 03:29
Compare
Choose a tag to compare
  • Style fixes for tables & bold markdown

  • Support loading subtasks (#340). Subtasks are a list of tests that need to pass before a task is complete. They can be loaded by:

  1. filtering down to a subset of tests by setting the step.setup.filter to a regex pattern that matches the tests you're targeting
  2. setting the step.setup.subtasks variable to true

See an example here: https://github.com/ShMcK/coderoad-tutorial-subtask-demo

  • Change for the test runner config. Changes are backwards compatible.
  1. testRunner.path=> testRunner.directory
  2. testRunner.actions => testRunner.setup
  3. Change command to capture args for "TAP" support, and test "filter"ing support. These changes will help lead to specific test suite presets in the future.
{
  "testRunner": {
    "command": "mocha",
    "args": {
      "filter": "--grep",
      "tap": "--reporter=mocha-tap-reporter"
    },
    "directory": ".coderoad",
    "setup": {
      "commits": ["410bd4f"],
      "commands": ["npm install"]
    }
  }
}

v0.6.1

10 May 03:53
7ab72ce
Compare
Choose a tag to compare
  • New configuration environment variables for web compatability
CODEROAD_DISABLE_RUN_ON_SAVE=true // blocks saving on file system changes
CODEROAD_DISPLAY_RUN_TEST_BUTTON=true // adds a run test button to tutorial page
CODEROAD_TUTORIAL_URL='path/to/tutorial_config_file.json' // will load directly into tutorial
  • Improves styles for inline code blocks

  • Replace checkboxes with icons

v0.5.0

06 May 04:01
ebd748a
Compare
Choose a tag to compare
  • Show test fail messages in the webview UI. Adds a link to open logs

fail message in webview

  • Display error messages if React fails to load

v0.4.0

03 May 20:37
9fe11aa
Compare
Choose a tag to compare
  • Various fixes & performance improvements

  • Want to look back at a previous lesson's content? Navigate through text content from previous levels by clicking the "Learn" dropdown.

traverse content

  • Continue an incomplete tutorial started in the same workspace. Choose the "continue" path from the start screen. Progress is stored in local storage in the workspace.

continue tutorial

v0.2.1

12 Apr 02:08
9fe11aa
Compare
Choose a tag to compare
  • Improve error page
  • Tutorial dependency validation in tutorial config. See an example below
{
  "config": {
    "dependencies": [
      {
        "name": "node", // command line process to run
        "version": "^10", // see node-semver for options
        "message": "An optional message to display if the validation fails"
      },
      {
        "name": "npm",
        "version": ">5"
      }
    ]
  }
}

v0.2.0

11 Apr 05:22
464b622
Compare
Choose a tag to compare
  • Improvements to error handling
  • Validate Git installed on startup
  • Validate git remote can connect on tutorial selection
  • Fix component translation issues