Commit Graph

1145 Commits

Author SHA1 Message Date
7bc12b340f updates vscode debugging config 2024-07-24 13:41:48 +02:00
e996966388 Merge pull request #144 from tiqi-group/feat/useLocalStorage_hook
Feat: useLocalStorage hook
2024-07-22 07:09:04 +02:00
c07efe056b npm run build 2024-07-22 07:05:16 +02:00
9e0adba8dc introduces useLocalStorage hook 2024-07-22 07:05:09 +02:00
1789a6ad7e Merge pull request #143 from tiqi-group/fix/logging
configures pydase's logger only (not root logger anymore)
2024-07-12 07:46:32 +02:00
0e5f1ede20 fixes logging test 2024-07-12 07:45:11 +02:00
f8cae28128 fix tests: need to propagate logger when testing (due to pytest) 2024-07-11 19:49:55 +02:00
e31af9ae31 moves log_config out of setup_logging method to make it configurable, removes argument from function 2024-07-11 17:04:11 +02:00
60c671eb0d configures pydase's logger (not root logger anymore) 2024-07-11 16:53:12 +02:00
203059822c Merge pull request #142 from tiqi-group/feat/allow_monkey_patching_sio_setup
Allow monkey-patching of serialization methods in socketio setup
2024-07-09 16:27:35 +02:00
e7f9ad799c uses loads instead of Deserializer, allows for monkey-patching loads and dump 2024-07-09 16:25:35 +02:00
3e5a56446f Merge pull request #141 from tiqi-group/feat/serialize_datetime
Adds support for datetime serialization
2024-07-09 15:55:00 +02:00
cf0780b2ca adds support for datetime serialization 2024-07-09 15:41:30 +02:00
8afee54c51 Merge pull request #140 from tiqi-group/feat/make_serializer_methods_properly_overridable
serializer: converting staticmethods to classmethods
2024-07-09 15:19:53 +02:00
6e4e000c28 serializer: converting staticmethods to classmethods
This helps developers that want to add functionality to the serializer.
2024-07-09 15:15:30 +02:00
b719684702 Merge pull request #139 from tiqi-group/chore/remove_pillow_dependency
removes Pillow dependency, updates Image component
v0.8.4
2024-07-09 08:42:02 +02:00
7254482b35 updates pint to fix numpy dependency issue 2024-07-09 08:39:35 +02:00
44d5a98449 removes Pillow dependency, updates Image component 2024-07-09 07:52:18 +02:00
29558758af Merge pull request #138 from tiqi-group/fix/unnecessary_component_rendering
Fixes unnecessary component rendering
2024-07-08 15:24:54 +02:00
f9be97a910 npm run build 2024-07-08 15:16:32 +02:00
fa45ee566b fixes eslint error 2024-07-08 15:16:13 +02:00
6e8ad98282 frontend: updates when slider notifications are shown 2024-07-08 15:15:42 +02:00
c42872aad4 moves functions from component to the outside (to not cause re-rendering) 2024-07-08 15:15:12 +02:00
34eb4a0e7c frontend: introduces propsAreEqual function passed to React.memo to reduce re-rendering
This function accepts the component’s previous props, and its new props.
It should return true if the old and new props are equal: that is, if the component will
render the same output and behave in the same way with the new props as with the old.
I need to use this function as state objects that are passed as props will always have different references.
2024-07-08 15:15:12 +02:00
7d50bd5759 frontend: cast type instead of ignoring typescript error 2024-07-08 15:11:05 +02:00
c98f191d20 frontend: updates EnumComponent
- replaces type with SerializedEnum from types.ts
- passing props instead of attribute directly
2024-07-08 15:10:37 +02:00
b1e6663c66 frontend: introduces useRenderCount hook
The useRenderCount hook contains all the necessary logic to count the re-render events.
This reduces duplication and code complexity.
2024-07-08 15:10:37 +02:00
a5a957d290 using tseslint.config in eslint config (for types) 2024-07-08 08:58:04 +02:00
b856ed3a12 using tsParser in eslint config 2024-07-08 08:51:01 +02:00
b83e241b32 Merge pull request #137 from tiqi-group/chore/update_eslint
chore: update eslint config
2024-07-08 08:32:53 +02:00
fb251649a0 updates eslint config, fixes linting errors 2024-07-08 08:30:55 +02:00
a2ee8d02d6 Merge pull request #136 from tiqi-group/fix/allow_unserializable_objects_on_priv_attrs
Fix: allow unserializable objects on priv attrs
2024-07-04 17:43:32 +02:00
44d73c3b77 adds function testing if private attributes can take values that are not serializable 2024-07-04 17:37:44 +02:00
cddb83451a observer: first check if full access path contains private or protected attributes
As protected and private attributes are not stored in the cache, it does not make sense to
compare the cached value against the new value.
2024-07-04 17:26:32 +02:00
218dab1ade Merge pull request #135 from tiqi-group/chore/move_to_vite
Replace unmaintained create-react-app with vite
2024-07-04 17:01:18 +02:00
81af62dc6e frontend: updates set of packages 2024-07-04 16:53:44 +02:00
6ffb068f47 npm run build 2024-07-04 16:45:05 +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
c0734d58ce updates package-lock.json 2024-07-04 12:53:19 +02:00
b5a7d90d81 Merge pull request #134 from tiqi-group/fix/frontend_instant_string_update
Fix: frontend instant string update
2024-07-04 12:50:42 +02:00
b91eaaaf90 npm run build 2024-07-04 12:49:28 +02:00
4039d29f42 fix: instant string update through frontend 2024-07-04 12:48:56 +02:00
e8428e4a31 Merge pull request #133 from tiqi-group/81-use-web-storage-api-to-store-client-settings
Use web storage api to store client settings
2024-07-04 12:48:25 +02:00
25459949a0 npm run build 2024-07-04 12:44:46 +02:00
9649f914ac feat: persist isInstantUpdate and showNotification state changes to localStorage 2024-07-04 12:44:46 +02:00
4ecc44fdd8 feat: persist state of Collapse components on the client using localStorage 2024-07-04 12:44:46 +02:00
4cea7eeb59 Merge pull request #132 from tiqi-group/feat/proper_frontend_title
Feat/proper frontend title
2024-07-04 12:27:18 +02:00
3c48a23277 fix: ruff warning 2024-07-04 12:23:58 +02:00
bfcf72fec7 npm run build 2024-07-04 12:20:07 +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