35 Commits

Author SHA1 Message Date
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
47d64243c3 adds connection toast component to app 2023-11-02 15:23:31 +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
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
27520864c4 frontend: 'instant update' defaults to false 2023-09-14 08:35:10 +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
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
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
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
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
5cb30688cf feat: adding instant_update switch 2023-08-02 12:06:22 +02:00
Mose Müller
49d7ea30ef frontend: getting correct hostname and port 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
3116d98f1c frontend: adding DataServiceComponent. Rendering nested classes is now possible. 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
00c2cf7110 frontend: using MethodComponent and AsyncMethodComponent 2023-08-02 12:06:20 +02:00
Mose Müller
9c9e11ac51 frontend: remote states from slider component 2023-08-02 12:06:20 +02:00
Mose Müller
f30cd15d3f frontend: adding EnumComponent 2023-08-02 12:06:20 +02:00
Mose Müller
fa0d69feb8 frontend: adding SliderComponent 2023-08-02 12:06:20 +02:00
Mose Müller
ca4bb85be0 frontend: updating App.tsx 2023-08-02 12:06:19 +02:00
Mose Müller
7fe2cc016d frontend: using reducer to render components 2023-08-02 12:06:19 +02:00
Mose Müller
ab38f034b9 frontend: adding components, rendering serialized data service class 2023-08-02 12:06:19 +02:00
Mose Müller
d3ad419c33 feat: adding frontend code (react) 2023-08-02 12:06:19 +02:00