Skip to content

Commit

Permalink
simply plugin config, remove some deadwood.
Browse files Browse the repository at this point in the history
  • Loading branch information
eapearson committed Oct 7, 2020
1 parent 88858a3 commit 3b776e0
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 704 deletions.
Binary file modified dist.tgz
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"build": "bash scripts/build-plugin.bash",
"build-dist": "bash scripts/build-plugin-dist.bash",
"build-dev": "bash scripts/build-plugin-dev.bash"
},
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions scripts/build-dist.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd build
yarn install && \
yarn clean && \
yarn install && \
yarn install-bower && \
yarn install-npm && \
yarn remove-source-maps
cd ..
7 changes: 1 addition & 6 deletions scripts/build-plugin-dev.bash
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
yarn build
cd build
yarn install && \
yarn clean && \
yarn install && \
yarn install-bower && \
yarn install-npm && \
yarn remove-source-maps && \
yarn install-dev
cd ..
6 changes: 0 additions & 6 deletions scripts/build-plugin.bash
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
cd build
yarn install && \
yarn clean && \
yarn install && \
yarn install-bower && \
yarn install-npm && \
yarn remove-source-maps && \
yarn install-dist
cd ..
3 changes: 0 additions & 3 deletions scripts/install-plugin.bash

This file was deleted.

7 changes: 1 addition & 6 deletions src/plugin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@ package:
type: iframe
install:
routes:
- path: ["dashboard", {type: "rest", name: "path"}]
- path: dashboard
view: main
component: /pluginSupport/Plugin
authorization: true
# TODO: get rid of this!!
params:
view: main
plugin: dashboard
menu:
- name: dashboard
definition:
Expand Down
5 changes: 0 additions & 5 deletions src/plugin/iframe_root/modules/dashboardPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ define(['bluebird', 'kb_lib/html', 'kb_lib/observed', 'kbaseUI/widget//widgetSet
viewState: viewState
})
}),
// div({
// id: widgetSet.addWidget('dashboardMetrics', {
// viewState: viewState
// })
// }),
div({
id: widgetSet.addWidget('dashboardCollaborators', {
viewState: viewState
Expand Down
314 changes: 0 additions & 314 deletions src/plugin/iframe_root/modules/widgets/MetricsWidget.js

This file was deleted.

Loading

0 comments on commit 3b776e0

Please sign in to comment.