Skip to content

Commit

Permalink
Complete rewrite of the JS part of the UI
Browse files Browse the repository at this point in the history
With this commit the previous frameworks:
 - backbone,
 - foundation,
 - rickshaw,
 - bower.

Are replaced by:
 - VueJS,
 - Vuetify,
 - d3,
 - vitejs.

Co-authored-by: Marion Giusti <[email protected]>
Co-authored-by: Pierre-Louis GONON <[email protected]>
  • Loading branch information
3 people authored and rjuju committed Jul 13, 2024
1 parent 6945a9e commit f4ea911
Show file tree
Hide file tree
Showing 50 changed files with 10,107 additions and 357 deletions.
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ charset = utf-8
indent_style = space
indent_size = 4

[*.{css,js,json,yml}]
[*.{css,scss,js,jsx,ts,vue,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
powa/static/dist
29 changes: 29 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
root: true,
env: {
node: true,
},
extends: ["eslint:recommended", "plugin:vue/vue3-recommended", "prettier"],
rules: {
"vue/multi-word-component-names": [
"error",
{
ignores: [
"Content",
"Dashboard",
"Graph",
"Grid",
"Tabcontainer",
"Wizard",
],
},
],
"vue/valid-v-slot": [
"error",
{
allowModifiers: true,
},
],
"vue/no-v-html": "off",
},
};
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ powa/static/build/
powa-web.conf
build
powa.egg.info
dist
.*.sw?
.pypirc
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint
npm run format
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading

0 comments on commit f4ea911

Please sign in to comment.