Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
5890361
phases to use in instant charging
LKuemmel Jan 16, 2025
88ff3f8
pv
LKuemmel Jan 16, 2025
04e8e94
draft scheudled charging
LKuemmel Jan 16, 2025
e7aa3d7
time charging
LKuemmel Jan 16, 2025
838c508
eco
LKuemmel Jan 16, 2025
25ad3ac
fixes
LKuemmel Jan 17, 2025
cf83d44
fix
LKuemmel Jan 17, 2025
91a7ebb
fix
LKuemmel Jan 17, 2025
dcae278
update tests
LKuemmel Jan 17, 2025
63db164
refactor scheduled charging
LKuemmel Jan 20, 2025
601f0de
tests
LKuemmel Jan 21, 2025
ab0e47b
test
LKuemmel Jan 21, 2025
444dc39
update config
LKuemmel Jan 23, 2025
8ad5ad2
update charge template, merge max phases
LKuemmel Jan 30, 2025
1b27584
fixes
LKuemmel Jan 30, 2025
f554667
fixes
LKuemmel Jan 30, 2025
10f4d13
fix
LKuemmel Jan 31, 2025
6da6c74
fix tests
LKuemmel Jan 31, 2025
1f0da9a
plan once use todays date
LKuemmel Jan 31, 2025
1d22c54
standard-legacy web-theme
benderl Feb 11, 2025
2872f77
cards display-theme
benderl Feb 12, 2025
c0f35ab
update setdata topics
LKuemmel Feb 13, 2025
37e8885
Feature dashboard temporary settings (#2218)
LKuemmel Feb 14, 2025
b75c9cc
temporary settings in standard_legacy web theme
benderl Feb 17, 2025
3a4f085
adopt standard_legacy web theme for complete charge template objects
benderl Feb 17, 2025
a60bcf7
temporary settings in cards display theme
benderl Feb 18, 2025
9156bcd
remove obsolet code
LKuemmel Feb 18, 2025
3d7979a
ammend
LKuemmel Feb 18, 2025
5e4feef
update temporary settings if persistent settings are updated
LKuemmel Feb 21, 2025
ffed60f
allow dis-/enabling of plans in standard-legacy web theme
benderl Feb 24, 2025
597014e
display wrapper: limit log messages
benderl Feb 24, 2025
9d76df4
enhance cards display theme
benderl Feb 24, 2025
973e25e
move vehicle select modal into own component
benderl Feb 26, 2025
2734e4b
restructure display of plan details
benderl Feb 26, 2025
bd7bc0b
enhance format of weekday and date ranges
benderl Feb 26, 2025
db8aafa
display absolute values in flow chart
benderl Feb 27, 2025
3230cfd
display cards: add price chart to eco settings
benderl Mar 5, 2025
0b45c7a
remove hammerjs package dependency
benderl Mar 7, 2025
3b33cc7
fix after rebase
benderl Mar 25, 2025
def8db3
update docs
benderl Mar 25, 2025
160205a
build settings
benderl Apr 1, 2025
229ca0b
adapt to new charge mode concept
cshagen Apr 3, 2025
81ed459
Merge pull request #2297 from cshagen/feature_simplify_chargemode
benderl Apr 4, 2025
f1d57d8
standard-legacy: fix history chart data truncation
benderl Apr 4, 2025
badd808
migration
benderl Apr 1, 2025
0ed2016
fix soc display without limit
benderl Apr 1, 2025
09c8a53
temporary disable smart home tab
benderl Apr 1, 2025
c2b240e
Add chargepoint table view
Brett-S-OWB Apr 7, 2025
390fb80
Charge modes migrated to composable
Brett-S-OWB Apr 7, 2025
80eb53b
Add formating for longer text in state message
Brett-S-OWB Apr 7, 2025
a8dfa0b
Formatting
Brett-S-OWB Apr 7, 2025
04af9a3
Add display mode to drawer component in mainlayout
Brett-S-OWB Apr 7, 2025
06400b1
Formatting
Brett-S-OWB Apr 7, 2025
19633ab
update wiki
LKuemmel Apr 8, 2025
82494c9
Quasar table moved into a reuseable component
Brett-S-OWB Apr 8, 2025
ef57503
Chargepoint message text format
Brett-S-OWB Apr 9, 2025
d6e6c4a
Update packages/modules/web_themes/koala/config.py
benderl Apr 9, 2025
30b2ce5
fix merge error
LKuemmel Apr 9, 2025
95b2a3b
Merge pull request #2310 from Brett-S-OWB/koala-web-theme
benderl Apr 9, 2025
4d2ca58
update README
benderl Apr 9, 2025
fc15fdd
temporary disable vehicle tab
benderl Apr 9, 2025
5383946
Merge branch 'feature_simplify_chargemode' into feature-koala-web-theme
benderl Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file.
30 changes: 30 additions & 0 deletions packages/modules/web_themes/koala/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
from helpermodules.auto_str import auto_str

from modules.common.abstract_device import DeviceDescriptor


@auto_str
class KoalaWebThemeConfiguration:
def __init__(self,
history_chart_range: int = 3600,
card_view_breakpoint: int = 4,
table_search_input_field: bool = False) -> None:
self.history_chart_range = history_chart_range
self.card_view_breakpoint = card_view_breakpoint
self.table_search_input_field = table_search_input_field


@auto_str
class KoalaWebTheme:
def __init__(self,
name: str = "Koala (in Entwicklung)",
type: str = "koala",
official: bool = True,
configuration: KoalaWebThemeConfiguration = None) -> None:
self.name = name
self.type = type
self.official = official
self.configuration = configuration or KoalaWebThemeConfiguration()


theme_descriptor = DeviceDescriptor(configuration_factory=KoalaWebTheme)
9 changes: 9 additions & 0 deletions packages/modules/web_themes/koala/source/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
7 changes: 7 additions & 0 deletions packages/modules/web_themes/koala/source/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/dist
/src-capacitor
/src-cordova
/.quasar
/node_modules
.eslintrc.cjs
/quasar.config.*.temporary.compiled*
89 changes: 89 additions & 0 deletions packages/modules/web_themes/koala/source/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
module.exports = {
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
// This option interrupts the configuration hierarchy at this file
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
root: true,

// https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
// Must use parserOptions instead of "parser" to allow vue-eslint-parser to keep working
// `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted
parserOptions: {
parser: require.resolve('@typescript-eslint/parser'),
extraFileExtensions: [ '.vue' ]
},

env: {
browser: true,
es2021: true,
node: true
},

// Rules order is important, please avoid shuffling them
extends: [
// Base ESLint recommended rules
// 'eslint:recommended',

// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#usage
// ESLint typescript rules
'plugin:@typescript-eslint/recommended',

// Uncomment any of the lines below to choose desired strictness,
// but leave only one uncommented!
// See https://eslint.vuejs.org/rules/#available-rules
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)

// https://github.com/prettier/eslint-config-prettier#installation
// usage with Prettier, provided by 'eslint-config-prettier'.
'prettier'
],

plugins: [
// required to apply rules which need type information
'@typescript-eslint',

// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
// required to lint *.vue files
'vue'

// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
// Prettier has not been included as plugin to avoid performance impact
// add it as an extension for your IDE

],

globals: {
ga: 'readonly', // Google Analytics
cordova: 'readonly',
__statics: 'readonly',
__QUASAR_SSR__: 'readonly',
__QUASAR_SSR_SERVER__: 'readonly',
__QUASAR_SSR_CLIENT__: 'readonly',
__QUASAR_SSR_PWA__: 'readonly',
process: 'readonly',
Capacitor: 'readonly',
chrome: 'readonly'
},

// add your custom rules here
rules: {

'prefer-promise-reject-errors': 'off',

quotes: ['warn', 'single', { avoidEscape: true }],

// this rule, if on, would require explicit return type on the `render` function
'@typescript-eslint/explicit-function-return-type': 'off',

// in plain CommonJS modules, you can't use `import foo = require('foo')` to pass this rule, so it has to be disabled
'@typescript-eslint/no-var-requires': 'off',

// The core 'no-unused-vars' rules (in the eslint:recommended ruleset)
// does not work with type definitions
'no-unused-vars': 'off',

// allow debugger during development only
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
}
33 changes: 33 additions & 0 deletions packages/modules/web_themes/koala/source/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.DS_Store
.thumbs.db
node_modules

# Quasar core related directories
.quasar
/dist
/quasar.config.*.temporary.compiled*

# Cordova related directories and files
/src-cordova/node_modules
/src-cordova/platforms
/src-cordova/plugins
/src-cordova/www

# Capacitor related directories and files
/src-capacitor/www
/src-capacitor/node_modules

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
*.suo
*.ntvs*
*.njsproj
*.sln

# local .env files
.env.local*
5 changes: 5 additions & 0 deletions packages/modules/web_themes/koala/source/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# pnpm-related options
shamefully-hoist=true
strict-peer-dependencies=false
# to get the latest compatible packages when creating the project https://github.com/pnpm/pnpm/issues/6463
resolution-mode=highest
4 changes: 4 additions & 0 deletions packages/modules/web_themes/koala/source/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"semi": true
}
15 changes: 15 additions & 0 deletions packages/modules/web_themes/koala/source/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"vue.volar",
"wayou.vscode-todo-highlight"
],
"unwantedRecommendations": [
"octref.vetur",
"hookyqr.beautify",
"dbaeumer.jshint",
"ms-vscode.vscode-typescript-tslint-plugin"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": ["source.fixAll.eslint"],
"eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"],
"typescript.tsdk": "node_modules/typescript/lib"
}
43 changes: 43 additions & 0 deletions packages/modules/web_themes/koala/source/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# openWB Koala web theme (openwb-koala-web-theme)

Koala web theme for openWB

## Install the dependencies

```bash
yarn
# or
npm install
```

### Start the app in development mode (hot-code reloading, error reporting, etc.)

```bash
quasar dev
```

### Lint the files

```bash
yarn lint
# or
npm run lint
```

### Format the files

```bash
yarn format
# or
npm run format
```

### Build the app for production

```bash
quasar build
```

### Customize the configuration

See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js).
44 changes: 44 additions & 0 deletions packages/modules/web_themes/koala/source/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!doctype html>
<html>
<head>
<title><%= productName %></title>

<meta charset="utf-8" />
<meta name="description" content="<%= productDescription %>" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta
name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
/>

<link
rel="icon"
type="image/png"
sizes="128x128"
href="icons/favicon-128x128.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="icons/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="icons/favicon-16x16.png"
/>
<link rel="icon" type="image/ico" href="favicon.ico" />
</head>
<body>
<!-- quasar:entry-point -->
</body>
</html>
Loading
Loading