78 Commits

Author SHA1 Message Date
Mose Müller
a333de9957 feat: updating ImageComponent
- adding format
- adding method to read image from file
- adding method to load image from base64 byte string
2023-08-10 10:43:38 +02:00
Mose Müller
8d55f3b853 feat: adding first version of Image component 2023-08-09 17:48:27 +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
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
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
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
cf46dbbdde feat: adding frontend notifications for attribute updates 2023-08-03 12:00:25 +02:00
Mose Müller
53afb139f2 renaming pyDataService -> pydase 2023-08-02 12:09:33 +02:00
Mose Müller
5ae6cfb38c frontend: updating navigation bar 2023-08-02 12:06:23 +02:00
Mose Müller
5400067c18 feat: updating frontend styling
- forms will have red background colour when "instant  update" is enabled
- button styling is in css file now
2023-08-02 12:06:23 +02:00
Mose Müller
c1a250e7e6 feat: adding navigation bar to frontend 2023-08-02 12:06:22 +02:00
Mose Müller
7a89168d14 fix: "instant update" feature
- Components do update to values received from backend even if instant
  update is not selected.
2023-08-02 12:06:22 +02:00
Mose Müller
4ff07aa587 fix: only pass callback in emit_update if given 2023-08-02 12:06:22 +02:00
Mose Müller
5cb30688cf feat: adding instant_update switch 2023-08-02 12:06:22 +02:00
Mose Müller
80fe1051f1 feat: adding "emit_update" function 2023-08-02 12:06:22 +02:00
Mose Müller
c5bbaad58d fix: NumberComponent cursor position change 2023-08-02 12:06:22 +02:00
Mose Müller
b385d728fc fix: do not prevent Tab behaviour in NumericComponent 2023-08-02 12:06:22 +02:00
Mose Müller
7861def541 renaming pyDataInterface -> pyDataService 2023-08-02 12:06:22 +02:00
Mose Müller
c980d35859 fixing EnumComponent notification message format 2023-08-02 12:06:21 +02:00
Mose Müller
42bfa028e0 fixing NumberComponent rendering 2023-08-02 12:06:21 +02:00
Mose Müller
717939e902 fixing GenericComponent exports 2023-08-02 12:06:21 +02:00
Mose Müller
3e925c7087 frontend: only display "render count" when in development mode 2023-08-02 12:06:21 +02:00
Mose Müller
fb0d1c3d07 frontend: updating build command, location of static files 2023-08-02 12:06:21 +02:00
Mose Müller
9d93b55d60 frontend: updating build command, location of static files 2023-08-02 12:06:20 +02:00
Mose Müller
b26bce8556 frontend: npm run build 2023-08-02 12:06:20 +02:00
Mose Müller
49d7ea30ef frontend: getting correct hostname and port 2023-08-02 12:06:20 +02:00
Mose Müller
837f02b0d3 frontend: adding GenericComponent 2023-08-02 12:06:20 +02:00
Mose Müller
ce1442b354 frontend: updating list through reducer is now supported 2023-08-02 12:06:20 +02:00
Mose Müller
cc0397b23e frontend: adding ListComponent 2023-08-02 12:06:20 +02:00
Mose Müller
8c8e22cf70 feat: adding StringComponent 2023-08-02 12:06:20 +02:00
Mose Müller
6c89059792 frontend: passing parent_path via socketio 2023-08-02 12:06:20 +02:00
Mose Müller
78e59640df frontend: updating packages 2023-08-02 12:06:20 +02:00
Mose Müller
3116d98f1c frontend: adding DataServiceComponent. Rendering nested classes is now possible. 2023-08-02 12:06:20 +02:00
Mose Müller
ca794948d0 frontend: updated NumberComponent
- ignoring F1 and F12 keys, as well
- emitting parent_path, as well
- changing Form.Control readOnly -> disabled
- only show buttons when Form isn't read only
2023-08-02 12:06:20 +02:00
Mose Müller
9bbba41309 frontend: updating width of SliderComponent 2023-08-02 12:06:20 +02:00
Mose Müller
2a6574fea1 frontend: implementing distinction between int and float NumberComponent 2023-08-02 12:06:20 +02:00
Mose Müller
50162cdc82 frontend: removing components.tsx 2023-08-02 12:06:20 +02:00
Mose Müller
00c2cf7110 frontend: using MethodComponent and AsyncMethodComponent 2023-08-02 12:06:20 +02:00
Mose Müller
cf740cb058 frontend: adding AsyncMethodComponent 2023-08-02 12:06:20 +02:00
Mose Müller
e2ed88fc82 frontend: updating width of components 2023-08-02 12:06:20 +02:00