Skip to content

Commit b3c4c2b

Browse files
committed
WIP: lumos headlamp plugin
note: section drawer toggle Signed-off-by: Vincent T <[email protected]>
1 parent 486fb99 commit b3c4c2b

13 files changed

+35839
-0
lines changed

lumos-headlamp/.gitignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
25+
# The output for npm run storybook-book, static html built storybook for the plugin
26+
storybook-static
27+
28+
/dist
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
5+
}

lumos-headlamp/.vscode/settings.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"editor.formatOnSave": true,
4+
"editor.defaultFormatter": "esbenp.prettier-vscode",
5+
"[javascript]": {
6+
"editor.defaultFormatter": "esbenp.prettier-vscode"
7+
},
8+
"[javascriptreact]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
11+
"[typescript]": {
12+
"editor.defaultFormatter": "esbenp.prettier-vscode"
13+
},
14+
"[typescriptreact]": {
15+
"editor.defaultFormatter": "esbenp.prettier-vscode"
16+
}
17+
}

lumos-headlamp/.vscode/tasks.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "start",
9+
"problemMatcher": ["$tsc-watch", "$eslint-compact"],
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
},
19+
{
20+
"type": "npm",
21+
"script": "test",
22+
"problemMatcher": ["$tsc-watch", "$eslint-compact"],
23+
"isBackground": true,
24+
"presentation": {
25+
"reveal": "always"
26+
},
27+
"group": {
28+
"kind": "test",
29+
"isDefault": true
30+
}
31+
}
32+
]
33+
}

lumos-headlamp/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# lumos-headlamp
2+
3+
This is the default template README for [Headlamp Plugins](https://github.com/headlamp-k8s/headlamp).
4+
5+
- The description of your plugin should go here.
6+
- You should also edit the package.json file meta data (like name and description).
7+
8+
## Developing Headlamp plugins
9+
10+
For more information on developing Headlamp plugins, please refer to:
11+
12+
- [Getting Started](https://headlamp.dev/docs/latest/development/plugins/), How to create a new Headlamp plugin.
13+
- [API Reference](https://headlamp.dev/docs/latest/development/api/), API documentation for what you can do
14+
- [UI Component Storybook](https://headlamp.dev/docs/latest/development/frontend/#storybook), pre-existing components you can use when creating your plugin.
15+
- [Plugin Examples](https://github.com/headlamp-k8s/headlamp/tree/main/plugins/examples), Example plugins you can look at to see how it's done.

0 commit comments

Comments
 (0)