Skip to content

Commit

Permalink
Use Webview to manage cluster settings
Browse files Browse the repository at this point in the history
Fixes jlandersen#88

Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr committed May 26, 2021
1 parent 632c49f commit db41b46
Show file tree
Hide file tree
Showing 28 changed files with 1,527 additions and 15 deletions.
5 changes: 4 additions & 1 deletion build/node-extension.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ const config = {
},
resolve: {
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
extensions: ['.ts', '.js']
extensions: ['.ts', '.js'],
alias: {
'handlebars' : 'handlebars/dist/handlebars.js'
}
},
module: {
rules: [
Expand Down
40 changes: 34 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"onCommand:vscode-kafka.open.docs.page",
"onCommand:vscode-kafka.explorer.addcluster",
"onCommand:vscode-kafka.explorer.selectcluster",
"onCommand:vscode-kafka.explorer.editcluster",
"onCommand:vscode-kafka.cluster.delete",
"onCommand:vscode-kafka.explorer.createtopic",
"onCommand:vscode-kafka.explorer.refresh",
Expand Down Expand Up @@ -278,6 +279,11 @@
"title": "Select Cluster",
"category": "Kafka"
},
{
"command": "vscode-kafka.explorer.editcluster",
"title": "Edit Cluster",
"category": "Kafka"
},
{
"command": "vscode-kafka.consumer.start",
"title": "Start Consumer (UTF-8 record values)",
Expand Down Expand Up @@ -372,6 +378,11 @@
"when": "view == kafkaExplorer && viewItem =~ /^cluster.*$/ && !listMultiSelection",
"group": "1_kafka"
},
{
"command": "vscode-kafka.explorer.editcluster",
"when": "view == kafkaExplorer && viewItem =~ /^cluster$|^selectedCluster$/ && !listMultiSelection",
"group": "1_kafka"
},
{
"command": "vscode-kafka.explorer.copylabel",
"when": "view == kafkaExplorer",
Expand Down Expand Up @@ -451,13 +462,15 @@
"test": "node ./out/test/runTest.js"
},
"dependencies": {
"@redhat-developer/vscode-wizard": "^0.2.4",
"faker": "^5.5.2",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"js-yaml": "^3.14.0",
"kafkajs": "^1.15.0"
},
"devDependencies": {
"@redhat-developer/vscode-wizard": "^0.1.0",
"@types/faker": "^5.1.5",
"@types/fs-extra": "^8.0.0",
"@types/glob": "^7.1.3",
Expand Down
7 changes: 7 additions & 0 deletions pages/shared/bootstrap/css/bootstrap.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions pages/shared/bootstrap/js/bootstrap.min.js

Large diffs are not rendered by default.

Binary file added pages/shared/codicon.ttf
Binary file not shown.
Binary file added pages/shared/imgs/contact.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/extention.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/logo/dropbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/logo/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/logo/github_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/logo/gitlab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/logo/google-driver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/logo/npm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/logo/oss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/logo/s3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/shared/imgs/twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions pages/shared/jquery/jquery-3.4.1.slim.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions pages/shared/popper.js/popper.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit db41b46

Please sign in to comment.