Commit Graph

788 Commits

Author SHA1 Message Date
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
8b1f1ef1b1 updates to version v0.7.2 v0.7.2 2024-03-04 17:46:44 +01:00
698db4881b Merge pull request #106 from tiqi-group/fix/enum_sio_callback
fixes sio callback when attribute changes to an enum which was not present before
2024-03-04 17:38:33 +01:00
d709d43d75 ignores complexity of sio_server setup (will be changed anyway soon 2024-03-04 17:36:09 +01:00
691bf809cb fixes sio callback when attribute changes to an enum which was not present before 2024-03-04 17:32:45 +01:00
86ccdd77f1 updates to version v0.7.1 v0.7.1 2024-03-04 11:52:06 +01:00
f29fb87054 Merge pull request #105 from tiqi-group/fix/enum_rendering
Fix/enum rendering
2024-03-04 11:51:31 +01:00
cf5bc1e4e6 npm run build 2024-03-04 11:48:22 +01:00
af36ed6c43 changes rendering of enums 2024-03-04 11:48:01 +01:00
853472be94 updates enumValue when backend value changes 2024-03-04 11:47:51 +01:00
f97a138e65 updates version to v0.7.0 v0.7.0 2024-02-28 11:37:07 +01:00
e5d7f4709f Merge pull request #103 from tiqi-group/90-display-the-functions-its-names-differently-in-the-ui
feat: updates functions and how they are rendered
2024-02-28 11:28:04 +01:00
416ae6f0b4 updates Adding_Components.md to account for new component structure 2024-02-28 11:15:37 +01:00
8f0a9ad21a npm run build 2024-02-28 11:01:23 +01:00
6ed6fe5be1 cleanup: changing some frontend components 2024-02-28 10:59:28 +01:00
9c6323d38f updates Readme 2024-02-28 09:12:34 +01:00
5c11202e08 removes print statement 2024-02-27 18:04:09 +01:00
e551af68f9 adds image to Readme 2024-02-27 17:44:08 +01:00
e213931cb7 npm run build 2024-02-27 17:41:55 +01:00
fe29530eb6 updates Readme 2024-02-27 17:38:39 +01:00
151467b36f fixes tests 2024-02-27 17:38:09 +01:00
990add216c moves frontend decorator into decorators module 2024-02-27 17:35:35 +01:00
a05b703bb8 adds tests for methods exposed by DataService 2024-02-27 16:38:08 +01:00
9616c57c38 changes exception raised by @frontend decorator 2024-02-27 16:37:43 +01:00
a7ce321506 updates / fixes method serialization tests 2024-02-27 16:32:47 +01:00
a72a551f54 fixes tests for DataServiceCache and TaskManager 2024-02-27 16:19:11 +01:00
26689d8578 updates AsyncMethodComponent to work with backend 2024-02-27 16:07:54 +01:00
74fc5d9aab updates task serialization 2024-02-27 16:07:29 +01:00
da8d07a8b2 frontend decorator uses helper function (function_has_arguments) now 2024-02-27 15:59:35 +01:00
ca2182c19b tasks are not allowed to have arguments anymore 2024-02-27 15:59:35 +01:00
b2f828ff6f adds function_has_arguments helper function 2024-02-27 15:30:47 +01:00