Skip to content
This repository was archived by the owner on May 11, 2022. It is now read-only.

FUSETOOLS2-1119 - start of poc #551

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
f51357c
FUSETOOLS2-1119 - start of poc
bfitzpat May 7, 2021
0bf6665
quickstarts
jschuler May 7, 2021
44dac72
wip
jschuler May 7, 2021
fe16b58
executable commands in quick starts
jschuler May 8, 2021
d672d06
cleanup
jschuler May 8, 2021
cf2c690
updates after local build to get around build fail
bfitzpat May 10, 2021
172d09f
leaner build
jschuler May 11, 2021
09adad5
webpack
jschuler May 11, 2021
9538353
remove quickstartsPreview folder
jschuler May 11, 2021
0617652
cleanup
jschuler May 11, 2021
fb33906
undo some changes
jschuler May 11, 2021
1fc318c
remove a space
jschuler May 11, 2021
ed99f21
Merge pull request #9 from jschuler/leaner-build
bfitzpat May 11, 2021
5767471
rebuild package-lock
bfitzpat May 11, 2021
dc23e9c
updating circleci config
bfitzpat May 11, 2021
532de24
removing lock file
bfitzpat May 11, 2021
906cd1c
adding vsix temporarily for testing
bfitzpat May 11, 2021
2a6ee32
adding some diagnosis
bfitzpat May 11, 2021
b09ffab
updating vsix
bfitzpat May 11, 2021
1137c9f
more yaml diagnostic
bfitzpat May 11, 2021
4fc27db
update vsix again
bfitzpat May 11, 2021
7323623
adding nonces
bfitzpat May 11, 2021
fa286af
update vsix
bfitzpat May 11, 2021
f925eec
once more with feeling
bfitzpat May 11, 2021
d5791ec
working around CSP
bfitzpat May 11, 2021
695d869
fixing issue with opening default url
bfitzpat May 11, 2021
f1e87d6
fixing fetch issue
bfitzpat May 12, 2021
61468f9
manually merged in package version changes
bfitzpat May 18, 2021
de3660f
adding setting to append tutorials
bfitzpat May 18, 2021
8c16903
adding vsix for appending
bfitzpat May 18, 2021
9080beb
uncomment line
bfitzpat May 18, 2021
0a040ea
adding more diagnostic
bfitzpat May 18, 2021
7557e21
updated vsix
bfitzpat May 18, 2021
e61ca74
adding more diagnostic
bfitzpat May 19, 2021
a25a978
update 3
bfitzpat Jun 7, 2021
cd10215
update with try catch
bfitzpat Jun 9, 2021
a1482f2
update
bfitzpat Jun 9, 2021
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
command: npm run vscode:prepublish
- run:
name: vsce-package
command: vsce package
command: vsce package --yarn
- run:
name: test
command: npm test
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
out
quickstartsPreview/
node_modules
.vscode-test/
*.vsix
/example/**/.project
test Fixture with speci@l chars/*
test Fixture with speci@l chars/readme.md
!test Fixture with speci@l chars/.gitkeep
!test Fixture with speci@l chars/.gitkeep
.DS_Store
6 changes: 3 additions & 3 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
.vscode/**
.vscode-test/**
docs/**
out/**/*.map
out/test/**
src/**
src/
test Fixture with speci@l chars/**
test-archive/**
**/.gitignore
Expand All @@ -14,3 +12,5 @@ test-archive/**
**/tsconfig.json
**/*.ts
**/*.vsix
webpack.*.config.js
node_modules
135 changes: 135 additions & 0 deletions examples/test.didact.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
metadata:
name: didact-quickstarts
spec:
displayName: Using didact with quick starts
durationMinutes: 10
icon: ''
description: Let's use didact with quick starts
prerequisites: [You learned how to use didact commands]
introduction: |-
### This quick start shows you how to use didact commands in quick starts
Learn more about didact here: [Didact](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-didact)
tasks:
- title: Clipboard Commands
description: |-
[Copy text to clipboard](didact://?commandId=vscode.didact.copyToClipboardCommand&text=The%20fox%20jumped%20over%20the%20lazy%20dog.)

[Copy text from file to clipboard](didact://?commandId=vscode.didact.copyFileTextToClipboardCommand&extFilePath=redhat.vscode-didact/examples/clipboardTextToTerminal.txt)
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
- title: Output Channel Commands
description: |-
[Open Named Output Channel](didact://?commandId=vscode.didact.openNamedOutputChannel&text=newOutputChannel)

[Send Text to Named Output Channel](didact://?commandId=vscode.didact.sendTextToNamedOutputChannel&text=Hello%20Didact!$$newOutputChannel)
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
- title: Project Scaffolding Commands
description: |-
[Create the tutorial project](didact://?commandId=vscode.didact.scaffoldProject&extFilePath=redhat.vscode-didact/create_extension/md-tutorial.project.didact.json)
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
- title: Requirements Commands
description: |-
[Validate all Requirements](didact://?commandId=vscode.didact.validateAllRequirements)

| Requirement | Status |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
| [Red Hat Camel Extension Pack is Installed](didact://?commandId=vscode.didact.extensionRequirementCheck&text=extension-requirement-status$$redhat.apache-camel-extension-pack) | *Status: unknown*{#extension-requirement-status} |
| [Workspace has at least one root folder](didact://?commandId=vscode.didact.workspaceFolderExistsCheck&text=workspace-folder-status) | *Status: unknown*{#workspace-folder-status} |
| [CLI command is successful](didact://?commandId=vscode.didact.cliCommandSuccessful&text=cli-requirement-status$$echo%20blah) | *Status: unknown*{#cli-requirement-status} |
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
- title: Terminal Commands
description: |-
[Open the Named Terminal](didact://?commandId=vscode.didact.startTerminalWithName&text=NamedTerminal)

[Send Named Terminal a String](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=NamedTerminal$$echo%20And%20The%20Bunnymen)

[Send Named Terminal a Ctrl+C](didact://?commandId=vscode.didact.sendNamedTerminalCtrlC&text=NamedTerminal)

[Close the Named Terminal](didact://?commandId=vscode.didact.closeNamedTerminal&text=NamedTerminal)
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
- title: Tutorial Commands
description: |-
[Open default Didact URL](didact://?commandId=vscode.didact.openTutorial)
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
- title: Utility Commands
description: |-
[Create a workspace folder -- useful when in a workspace with no folder](didact://?commandId=vscode.didact.createWorkspaceFolder)

[Verify all Commands](didact://?commandId=vscode.didact.verifyCommands)
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
- title: View Commands
description: |-
[Reload the Tutorials view](didact://?commandId=vscode.didact.reload)

[Set focus to Tutorials view](didact://?commandId=didact.tutorials.focus)
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
- title: Useful VS Code Commands
description: |-
[Open file in folder](didact://?commandId=vscode.open&projectFilePath=first-tutorial.didact.md)

[Start the task named 'start.task'](didact://?commandId=workbench.action.tasks.runTask&text=start.task)
review:
instructions: |-
#### To verify that didact is working with quick starts:
Were you able to execute the commands?
failedTaskHelp: This task isn’t verified yet. Try the task again.
summary:
success: You have executed didact commands!
failed: Try the steps again.
conclusion: You have gone through a didact-powered quick start!
nextQuickStart: []
Loading