Mose Müller
55ce32e105
fix: only update connection toast to reconnecting when still disconnected
2023-11-03 08:50:33 +01:00
Mose Müller
621bed94af
removing unnecessary console log commands
2023-11-03 08:50:03 +01:00
Mose Müller
69c5e0397b
fetch data as soon as the client connects to the websocket server
2023-11-02 15:43:11 +01:00
Mose Müller
7f402b45e7
docs: adding docstring to ConnectionToast
2023-11-02 15:34:07 +01:00
Mose Müller
c4056d3ca8
chore: formatting, renaming
2023-11-02 15:31:46 +01:00
Mose Müller
47d64243c3
adds connection toast component to app
2023-11-02 15:23:31 +01:00
Mose Müller
8ae0b7818b
feat (frontend): pressing "-" at the beginning of a number component will add a minus sign
2023-10-30 14:36:52 +01:00
Mose Müller
743531c434
updating frontend packages and config
2023-10-30 14:15:53 +01:00
Mose Müller
1d2325171b
fixing eslint errors
2023-10-30 14:14:32 +01:00
Mose Müller
b149c1b411
fix: component ids adhere to html guidelines now
2023-10-30 14:05:39 +01:00
Mose Müller
7e5861ec22
feat: adding utils module (string manipulation function)
2023-10-30 14:04:25 +01:00
Mose Müller
7dcec88c9a
frontend: updating addNotification type hints
2023-10-30 13:26:25 +01:00
Mose Müller
d334ec5284
Merge pull request #41 from tiqi-group/39-feat-add-customcss-option-to-pydaseserver
...
adds custom css option to pydase.Server
2023-10-17 17:04:30 +02:00
Mose Müller
04b9976a3b
turns of frontend notifications by default
2023-10-17 11:49:42 +02:00
Mose Müller
785ed92b45
adds link element to frontend header if services exposes /custom.css endpoint
2023-10-17 11:48:07 +02:00
Mose Müller
5ad15c1cae
frontend: fix div ids
2023-10-17 11:45:50 +02:00
Mose Müller
34e46e05ee
feat: adding ColouredEnum component
2023-10-11 14:03:07 +02:00
Mose Müller
23ef229eb1
frontend: removes unused import
2023-09-14 10:29:23 +02:00
Mose Müller
ee124ead89
removes buttons from number components
2023-09-14 10:17:25 +02:00
Mose Müller
bbee77e231
feat: adds simple functionality to buttons in number component
2023-09-14 10:12:51 +02:00
Mose Müller
27520864c4
frontend: 'instant update' defaults to false
2023-09-14 08:35:10 +02:00
Mose Müller
050a718e44
feat: highlighted digits are overwritten in number components
2023-09-14 08:28:38 +02:00
Mose Müller
b275446960
adapts slider frontend component (highlights pressed settigns button)
2023-08-17 11:15:39 +02:00
Mose Müller
55620bc6e7
make Image collapsible in frontend
2023-08-16 11:14:52 +02:00
Mose Müller
f7579c3a89
feat: components implement their notifications now
...
- removing nestedObjectUtils and useNotification hook
- passing addNotification method to all components
- components can use the addNotification method to create their
notifications
2023-08-10 15:07:49 +02:00
Mose Müller
8205e4d463
chore: changing parent_path to parentPath
2023-08-10 14:24:30 +02:00
Mose Müller
04e0e9e8b2
feat: updating useNotification hook
...
- automatically generates id and timestamp
- components just have to provide a message
2023-08-10 11:05:07 +02:00
Mose Müller
48dd4d58b7
feat (frontend): adding useNotification hook
2023-08-10 10:47:22 +02:00
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