Skip to content

Commit 0069efb

Browse files
committed
Working version of the UI and upgrades
NEW Added api endpoint to get infos of all configured brains NEW First draft of a single overview page for brains NEW BrainsService NEW Initial brain overview finished NEW debug stacktrace on catch all exceptions FIX Loading of trained brains, if class is changed FIX Branch names in documentation UPDATE Change to one single page for brains UPDATE Move models to the modules they belong UPDATE Routing to default new brain default page UPDATE Sidenav to represent new page structure UPDATE Refactored GET endpoint for info of brain UPDATE Info method now returns infos about configured and trained brains now UPDATE Brain dependent variable is now same as name UPDATE **Change format of sensors file (use update script in scripts folder)** UPDATE ListModel now implements all list interface methods UPDATE Sensors file now has Sensor objects in a list, for adding more attributes UPDATE Configuration service now changed for new format UPDATE log exception on catch all unknown error UPDATE Refactored sensor API for compatibility with future database UPDATE Preparation for sensor objects with state UPDATE Upgrade to Angular 16 UPDATE Changed README to use UI for configuration UPDATE Rewrited README with ChatGPT REMOVE Brains configuration page Signed-off-by: Johannes Ott <mail@johannes-ott.net>
1 parent 91dd948 commit 0069efb

79 files changed

Lines changed: 5116 additions & 4353 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/settings.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,17 @@
3333
"[python]": {
3434
"editor.defaultFormatter": "ms-python.autopep8"
3535
},
36-
"python.formatting.provider": "none"
36+
"python.formatting.provider": "none",
37+
"colorTabs.config": [
38+
{
39+
"regex": ".*/core/.*",
40+
"color": "#FF0000",
41+
"label": "CORE"
42+
},
43+
{
44+
"regex": ".*/ui/.*",
45+
"color": "#00FF00",
46+
"label": "UI"
47+
}
48+
]
3749
}

.vscode/tasks.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,25 @@
44
{
55
"type": "npm",
66
"script": "start",
7-
"path": "ui",
8-
"problemMatcher": [],
9-
"label": "npm: start - ui",
10-
"detail": "ng serve"
7+
"isBackground": true,
8+
"problemMatcher": {
9+
"owner": "typescript",
10+
"source": "ts",
11+
"severity": "error",
12+
"pattern": {
13+
"regexp": "^(.*)\\((\\d+),(\\d+)\\):\\s+(error|warning)\\s+(TS\\d+):\\s+(.*)$",
14+
"file": 1,
15+
"line": 2,
16+
"column": 3,
17+
"severity": 4,
18+
"code": 5,
19+
"message": 6
20+
}
21+
},
22+
"group": {
23+
"kind": "build",
24+
"isDefault": true
25+
}
1126
},
1227
{
1328
"type": "npm",

README.md

Lines changed: 95 additions & 143 deletions
Large diffs are not rendered by default.

THIRD-PARTY-NOTICES

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ may be distributed under licenses different from LearningHouseService/learningho
55
software.
66
In the event that we overlooked to list a required notice, please bring this
77
to our attention by opening an issue on:
8-
https://github.com/LearningHouseService/learninghouse-monorepo/issues
8+
https://github.com/LearningHouseService/learninghouse/issues
99

1010
Components:
1111
-----------
1212

1313
Component: Python3
14-
Licensor: Python Software Foundatio
14+
Licensor: Python Software Foundation
1515
Website: https://www.python.org
1616
License: PSF License
1717

@@ -26,8 +26,13 @@ Website: https://www.uvicorn.org/
2626
License: BSD-3-Clause License
2727

2828
Component: Pydantic
29-
Licensor: Samuel Colvin
30-
Website: https://github.com/samuelcolvin/pydantic
29+
Licensor: Pydantic Contributors
30+
Website: https://github.com/pydantic/pydantic
31+
License: MIT License
32+
33+
Component: Pydantic-Settings
34+
Licensor: pydantic-settings Contributors
35+
Website: https://github.com/pydantic/pydantic-settings
3136
License: MIT License
3237

3338
Component: Loguru

core/.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
# LEARNINGHOUSE_HOST=127.0.0.1
1919
# LEARNINGHOUSE_PORT=5000
2020

21+
# Count of parallel workers for processing
22+
# default: 5
23+
# LEARNINGHOUSE_WORKERS=5
24+
2125
# Set base url for external access
2226
# default:
2327
# LEARNINGHOUSE_BASE_URL=

0 commit comments

Comments
 (0)