Commit Graph

818 Commits

Author SHA1 Message Date
ff3a509132 passing fullAccessPath instead of parentPath and name 2024-03-27 15:20:23 +01:00
1a01222cb3 updates changeCallback and SerializedObject in GenericComponent.tsx 2024-03-27 12:08:10 +01:00
2eb996b382 updates frontend socket to use new sio events 2024-03-27 12:08:10 +01:00
8addcd26aa fixes state manager enum handlign 2024-03-27 12:08:10 +01:00
4db15f2fe8 updates sio events in web server 2024-03-27 12:08:10 +01:00
27f22d472d updates Deserializer (handle components at last) 2024-03-27 12:06:14 +01:00
c1aa678384 clients will now receive updates from socketio server and notify the observer 2024-03-27 12:06:14 +01:00
11670addc4 replaces ClientDeserializer with ProxyClassFactory 2024-03-27 12:06:14 +01:00
1c663e9a2e updates Deserializer (type hints, adding keyword to argument) 2024-03-27 12:06:14 +01:00
ada9dcce4a adds websocket-client package 2024-03-27 12:06:14 +01:00
bd5c162148 adds socketio client code 2024-03-27 12:06:14 +01:00
4e1ec90dee adds Deserializer, converting SerializedObject objects back to actual objects 2024-03-27 12:06:14 +01:00
4406acf4dd adds support for serializing exceptions 2024-03-27 12:06:14 +01:00
1ad917a423 removes rpyc 2024-03-27 12:06:14 +01:00
57e7deb552 Serializer adds full_access_path to serialized object representation 2024-03-26 10:52:06 +01:00
d9ea33abb6 adds enum name to serialized object representation 2024-03-26 10:50:16 +01:00
75c5bc6877 updates to version v0.7.4 v0.7.4 2024-03-19 08:28:13 +01:00
a606194c48 Merge pull request #116 from tiqi-group/feat/customisable_frontend_src
feat: adds option for custom frontend_src directory
2024-03-14 16:45:04 +01:00
5da7bdea78 updates Readme 2024-03-14 16:43:59 +01:00
c6a52914c5 adds option for custom frontend_src directory 2024-03-14 16:30:57 +01:00
ae68a89f48 Merge pull request #115 from tiqi-group/feat/add_custom_css_default_response
feat: add "custom.css" endpoint default Response
2024-03-12 14:41:09 +01:00
386e69b048 custom.css endpoint defaults to empty Response now 2024-03-12 14:37:12 +01:00
8310a51a74 Merge pull request #113 from tiqi-group/feat/frontend_display_toggle
Feat: frontend display toggle
2024-03-12 07:40:50 +01:00
2a8cbf7a4a updates Readme 2024-03-12 07:35:45 +01:00
857b81d213 updates tests 2024-03-11 15:37:56 +01:00
25834534ad npm run build 2024-03-11 15:37:56 +01:00
4a948f9155 adds "display" web settings support to frontend
Components with a "display" equals false in the web settings will not be displayed
in the frontend.
2024-03-11 15:37:56 +01:00
df42f41f53 adds "display" key in web settings 2024-03-11 15:37:56 +01:00
b8d421eb90 fix: readonly value is not overwritten anymore when changing attribute type 2024-03-11 15:37:26 +01:00
877ab42905 fixes webserver (apparently FastAPI need the correct type hints...) 2024-03-07 17:52:03 +01:00
51ffd8be4d simplifies serializer logic 2024-03-06 18:56:15 +01:00
a88a0c6133 Updates python dependencies 2024-03-06 18:28:11 +01:00
390a375777 Merge pull request #111 from tiqi-group/refactor/updates_serialized_object_type_hints
updates type hints for serialized objects
2024-03-06 18:27:21 +01:00
4aee899dbe updates type hints for serialized objects 2024-03-06 18:23:26 +01:00
c7d452d7db adds tests for Image component v0.7.3 2024-03-05 16:32:20 +01:00
b7926b730d updates version to v0.7.3 2024-03-05 16:32:07 +01:00
0c175fc706 Merge pull request #109 from tiqi-group/fix/task_disappears_after_changing_state
Fix/task disappears after changing state
2024-03-05 16:08:55 +01:00
7d21bca8b1 adds test for changing task state 2024-03-05 16:05:09 +01:00
d1628ae8c9 fixes updating task state 2024-03-05 16:05:01 +01:00
441658ebc1 Merge pull request #108 from tiqi-group/fix/cache_update_on_type_change
Fix/cache update on type change
2024-03-05 14:44:19 +01:00
99c7ad0ec8 updates serializer tests 2024-03-05 14:28:53 +01:00
24a01c0982 removes keys from cache entry if they are not part of the new value serialization 2024-03-05 14:17:05 +01:00
b8a52c2e6a only update cache and execute notification callbacks if attribute is public and has changed 2024-03-05 13:56:02 +01:00
7aacc21010 removes processing of value from sio_callback (cached value is up-to-date already) 2024-03-05 13:54:24 +01:00
8787cb0509 get cached value before executing custom notification callbacks 2024-03-05 13:53:41 +01:00
8971cebfcd adds todos 2024-03-05 13:24:54 +01:00
f2cf0d9c1a fixes update of cache when the type has changed
When an attribute changes from, say, a quantity to an enumeration, the enum key in the serialization was not added to the
cache, and thus the frontend was not able to render the enum.
2024-03-05 13:23:26 +01:00
36c863e845 Merge pull request #107 from tiqi-group/fix/update_frontend_before_setting_state
Fix/update frontend before setting state
2024-03-05 13:20:54 +01:00
836c1e14df npm run build 2024-03-05 13:19:10 +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