299 Commits

Author SHA1 Message Date
Mose Müller
d8aa944e6d using helper function to get component class names
The type of the DataService instance (and instances of derived classes)
should always be "DataService" unless it is a component.
Also changing some logic.
2023-08-09 16:26:33 +02:00
Mose Müller
304f2a7d91 fix: adding readonly keys to json serialization
- enums and methods didn't have that key so far
2023-08-09 15:48:49 +02:00
Mose Müller
b8706f661b tests: adding component tests (NumberSlider) 2023-08-09 11:21:20 +02:00
Mose Müller
c138dc405f fix: NumberSlider init function 2023-08-09 11:06:31 +02:00
Mose Müller
db3f0977c2 number slider: make step_size follow the passed type
step_size will be an integer if value is an integer
2023-08-09 10:57:39 +02:00
Mose Müller
a3be2e35eb NumberSlider: converting public attribute to float
- exception is value whose type can be controlled via "type"
2023-08-09 10:53:47 +02:00
Mose Müller
56e566d2b9 chore: using absolute import path 2023-08-09 10:45:22 +02:00
Mose Müller
779a23b320 fix. read-only attributes are not upated with values from json 2023-08-09 09:06:28 +02:00
Mose Müller
3bf2bd23ca frontend: npm run build 2023-08-08 16:43:21 +02:00
Mose Müller
36ea451d14 frontend: updating packages 2023-08-08 16:42:47 +02:00
Mose Müller
2951a73883 frontend: styling other components 2023-08-08 16:39:29 +02:00
Mose Müller
82a21f1e5d frontend: styling SliderComponent 2023-08-08 16:39:13 +02:00
Mose Müller
32ecc9520f feat: adding NumberComponent to SliderComponent 2023-08-08 15:52:31 +02:00
Mose Müller
b8b503b3d6 feat: adding version test 2023-08-08 14:15:35 +02:00
Mose Müller
b1dcceebf7 fix: version number is not read from pyproject.toml anymore 2023-08-08 14:12:46 +02:00
Mose Müller
3972b52f32 frontend: updating notification message 2023-08-07 16:19:52 +02:00
Mose Müller
6e8fa23a44 feat: moving notifications into separate component 2023-08-07 16:15:42 +02:00
Mose Müller
a447dc2820 linting: ignoring no-explicit-any 2023-08-07 16:14:49 +02:00
Mose Müller
0bb7f9877c fix: notification time string 2023-08-07 16:06:36 +02:00
Mose Müller
14c51a89a9 feat: formatting of notification message
- added function to get the value of a specified key in the serialized
DataService object by the full access path
- formatting notification message in "onNotify" function
2023-08-07 15:51:01 +02:00
Mose Müller
817b22ec85 feat: differentiating between exceptions and other notifications 2023-08-07 14:56:58 +02:00
Mose Müller
218d9f93c3 fixing linting issue 2023-08-07 14:43:06 +02:00
Mose Müller
167636de00 docs: adding Readme section explaining units 2023-08-07 14:39:39 +02:00
Mose Müller
9e0422fb50 updating __ini__.py files
- using full import paths
- removing some exports
2023-08-07 14:08:26 +02:00
Mose Müller
eed309590e feat: adding support for units
With `pint` as the unit package, the user can now define Quantities as
attributes of their DataService class. This will be rendered as a float
in the frontend application with the unit as an additional field
appended to the form.
2023-08-07 14:05:48 +02:00
Mose Müller
90869f07a7 adding .coveragerc file
- skipping `if TYPE_CHECKING` blocks in coverage report
2023-08-07 08:40:47 +02:00
Mose Müller
472f37c6d6 updating filename 2023-08-03 15:39:27 +02:00
Mose Müller
d000ce7410 update frontend dependencies 2023-08-03 15:33:27 +02:00
Mose Müller
91ea07905d feat: adding time string to notifications 2023-08-03 15:30:34 +02:00
Mose Müller
b30295d840 feat: added frontend exception notifications 2023-08-03 15:18:32 +02:00
Mose Müller
85a171c33e cleaning up type hinting (using TYPE_CHECKING) 2023-08-03 14:44:14 +02:00
Mose Müller
cea831f72c fix: crashed if stopping a task that didn't run 2023-08-03 14:20:40 +02:00
Mose Müller
cf46dbbdde feat: adding frontend notifications for attribute updates 2023-08-03 12:00:25 +02:00
Mose Müller
86adba18da Updating readme: adding service persistence section 2023-08-03 08:44:56 +02:00
Mose Müller
88a2ea2b76 update Readme (adding ToC, updating features) 2023-08-02 16:43:00 +02:00
Mose Müller
713ef3170f Updating Readme: adding rpyc usage section 2023-08-02 16:27:25 +02:00
Mose Müller
cb7dcb625e fix: fixing autostart of tasks 2023-08-02 16:23:04 +02:00
Mose Müller
ccd82da946 Updating Readme: adding tasks section 2023-08-02 16:15:04 +02:00
Mose Müller
58053b6ef7 Adding description to pyproject.toml 2023-08-02 15:40:23 +02:00
Mose Müller
bf9753d542 Removing support for python 3.9 2023-08-02 15:34:31 +02:00
Mose Müller
b317cba95f fix flake8 error 2023-08-02 15:30:45 +02:00
Mose Müller
c3e760c483 Update python-package.yml 2023-08-02 15:30:25 +02:00
Mose Müller
bde538cd7e
Create python-package.yml 2023-08-02 15:25:09 +02:00
Mose Müller
63511ec3a1 Updating Readme 2023-08-02 15:16:18 +02:00
Mose Müller
535d3b867d Adding example app image 2023-08-02 15:14:00 +02:00
Mose Müller
d47d467061 Updating Readme 2023-08-02 15:12:58 +02:00
Mose Müller
f1ab0acb05 Updating .flake8 config 2023-08-02 14:47:41 +02:00
Mose Müller
0750bb7727 Adding Readme 2023-08-02 14:46:20 +02:00
Mose Müller
bfeff1839c Adding mypy_path option to pyproject.toml 2023-08-02 14:43:43 +02:00
Mose Müller
6b97b9b70c Adding py.typed marker 2023-08-02 14:43:40 +02:00