Commit Graph

54 Commits

Author SHA1 Message Date
9e0adba8dc introduces useLocalStorage hook 2024-07-22 07:05:09 +02:00
7d50bd5759 frontend: cast type instead of ignoring typescript error 2024-07-08 15:11:05 +02:00
fb251649a0 updates eslint config, fixes linting errors 2024-07-08 08:30:55 +02:00
73a3283a7d feat: moving from react-create-app to vite
- loads of type fixes
- configuration changes
2024-07-04 16:45:00 +02:00
9649f914ac feat: persist isInstantUpdate and showNotification state changes to localStorage 2024-07-04 12:44:46 +02:00
639161d373 feat: showing service class name in browser tab and on top of the frontend page 2024-07-04 12:19:19 +02:00
ff3a509132 passing fullAccessPath instead of parentPath and name 2024-03-27 15:20:23 +01:00
dba036c6b3 do not try to update state if it is not yet set
This happens when the backend pushes updates before the frontend has received and set the state when loading the page, first.
2024-03-05 13:19:02 +01:00
1c029e301b updates types 2024-02-20 16:39:06 +01:00
7279fed2aa frontend will can now display any serialization dict 2024-02-01 08:45:40 +01:00
8940a61d4e adds WebSettings context 2023-12-21 07:48:03 +01:00
393bde3280 frontend: removes unused stateRef 2023-12-20 16:57:28 +01:00
aab2b4ee77 updates frontend reducer to accept new sio_callback event data 2023-12-05 10:49:33 +01:00
914997cc6b updates App.tsx to use new NotificationComponent 2023-11-27 15:41:02 +01:00
4a43bda5e2 frontend: updates reducer to process serialized values 2023-11-16 09:14:48 +01:00
45ede860d9 removes JSDoc types (already in typescript) 2023-11-09 13:51:26 +01:00
d643923fd3 fix: only update connection toast to reconnecting when still disconnected 2023-11-03 09:14:36 +01:00
b32bdabfca Revert "Fix/connection toast timeout" 2023-11-03 09:11:40 +01:00
55ce32e105 fix: only update connection toast to reconnecting when still disconnected 2023-11-03 08:50:33 +01:00
69c5e0397b fetch data as soon as the client connects to the websocket server 2023-11-02 15:43:11 +01:00
47d64243c3 adds connection toast component to app 2023-11-02 15:23:31 +01:00
b149c1b411 fix: component ids adhere to html guidelines now 2023-10-30 14:05:39 +01:00
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
04b9976a3b turns of frontend notifications by default 2023-10-17 11:49:42 +02:00
785ed92b45 adds link element to frontend header if services exposes /custom.css endpoint 2023-10-17 11:48:07 +02:00
27520864c4 frontend: 'instant update' defaults to false 2023-09-14 08:35:10 +02:00
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
8205e4d463 chore: changing parent_path to parentPath 2023-08-10 14:24:30 +02:00
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
48dd4d58b7 feat (frontend): adding useNotification hook 2023-08-10 10:47:22 +02:00
3972b52f32 frontend: updating notification message 2023-08-07 16:19:52 +02:00
6e8fa23a44 feat: moving notifications into separate component 2023-08-07 16:15:42 +02:00
0bb7f9877c fix: notification time string 2023-08-07 16:06:36 +02:00
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
817b22ec85 feat: differentiating between exceptions and other notifications 2023-08-07 14:56:58 +02:00
91ea07905d feat: adding time string to notifications 2023-08-03 15:30:34 +02:00
b30295d840 feat: added frontend exception notifications 2023-08-03 15:18:32 +02:00
cf46dbbdde feat: adding frontend notifications for attribute updates 2023-08-03 12:00:25 +02:00
5ae6cfb38c frontend: updating navigation bar 2023-08-02 12:06:23 +02:00
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
c1a250e7e6 feat: adding navigation bar to frontend 2023-08-02 12:06:22 +02:00
5cb30688cf feat: adding instant_update switch 2023-08-02 12:06:22 +02:00
49d7ea30ef frontend: getting correct hostname and port 2023-08-02 12:06:20 +02:00
ce1442b354 frontend: updating list through reducer is now supported 2023-08-02 12:06:20 +02:00
3116d98f1c frontend: adding DataServiceComponent. Rendering nested classes is now possible. 2023-08-02 12:06:20 +02:00
2a6574fea1 frontend: implementing distinction between int and float NumberComponent 2023-08-02 12:06:20 +02:00
00c2cf7110 frontend: using MethodComponent and AsyncMethodComponent 2023-08-02 12:06:20 +02:00
9c9e11ac51 frontend: remote states from slider component 2023-08-02 12:06:20 +02:00
f30cd15d3f frontend: adding EnumComponent 2023-08-02 12:06:20 +02:00
fa0d69feb8 frontend: adding SliderComponent 2023-08-02 12:06:20 +02:00