From 1a4e97e474e8643269a5f8c7d5bac5ce3688480d Mon Sep 17 00:00:00 2001 From: Rizel Scarlett Date: Mon, 6 Feb 2023 20:22:48 -0500 Subject: [PATCH 1/3] adding code tour --- .devcontainer/devcontainer.json | 4 ++++ main.tour | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 main.tour diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f2315ead8..52e20f443 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,6 +10,9 @@ "server": "npm start" }, "customizations": { + "extensions": [ + "vsls-contrib.codetour" + ], "codespaces": { "openFiles": [ "src/App.js" @@ -24,3 +27,4 @@ }, "forwardPorts": [3000] } + diff --git a/main.tour b/main.tour new file mode 100644 index 000000000..3b8ca79b0 --- /dev/null +++ b/main.tour @@ -0,0 +1,26 @@ +{ + "$schema": "https://aka.ms/codetour-schema", + "title": "Navigate your first Codespace", + "steps": [ + { + "file": "App.js", + "line": 2, + "description": "Hey! 👋 You've opened your first GitHub Codespaces template. This template is written in React. To get familiar with the code, we'll ask you to edit it! But don't worry, we'll give you directions each step of the way\n\nClick the `Next` link below to keep learning 👇" + }, + { + "file": "App.js", + "line": 9, + "description": "Our app says GitHub Codespaces loves React, but we know you love React, too! Update 9 line where it says `

GitHub Codespaces ♥️ React

` to say `

@Your_username_here ♥️ React

`!\n\nSave your changes and then click `Next` to move forward. ⬇️" + }, + { + "file": "App.css", + "line": 11, + "description": "Great job at updating the words on your web app. Now let's update the background colors for this app. On line 11, the color is current `#282c34`, which is the color code for dark grey. Let's update it to `purple`. \n\nDon't forget to press save and check your updated changes in the browser! 💜" + }, + { + "file": "App.js", + "line": 27, + "description": "Mission complete! You added code to you first GitHub Codespace. Feel free to continue expirementing!" + } + ] +} From 54258ba824db93595d5fbe73575541ba8725fc06 Mon Sep 17 00:00:00 2001 From: Rizel Scarlett Date: Tue, 7 Feb 2023 01:50:21 +0000 Subject: [PATCH 2/3] fixing devcontainer --- .devcontainer/devcontainer.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 52e20f443..9ec8338c2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,14 +10,16 @@ "server": "npm start" }, "customizations": { - "extensions": [ - "vsls-contrib.codetour" - ], "codespaces": { "openFiles": [ "src/App.js" ] - } + }, + "vscode": { + "extensions": [ + "vsls-contrib.codetour" + ] + } }, "portsAttributes": { "3000": { From 6c728a5d7e0c8769946e22b43581f72fb44d3d4d Mon Sep 17 00:00:00 2001 From: Urxzy <103091212+Urxzy@users.noreply.github.com> Date: Tue, 7 Feb 2023 18:02:44 +0700 Subject: [PATCH 3/3] Update launch.json --- .vscode/launch.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 374d16e50..d3a726d6c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -13,8 +13,8 @@ "start" ], "skipFiles": [ - "/**" + "/**" ] } ] -} \ No newline at end of file +}