Commit Graph

1033 Commits

Author SHA1 Message Date
Mose Müller cf0780b2ca adds support for datetime serialization 2024-07-09 15:41:30 +02:00
Mose Müller 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
Mose Müller 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
Mose Müller 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
Mose Müller 7254482b35 updates pint to fix numpy dependency issue 2024-07-09 08:39:35 +02:00
Mose Müller 44d5a98449 removes Pillow dependency, updates Image component 2024-07-09 07:52:18 +02:00
Mose Müller 29558758af Merge pull request #138 from tiqi-group/fix/unnecessary_component_rendering
Fixes unnecessary component rendering
2024-07-08 15:24:54 +02:00
Mose Müller f9be97a910 npm run build 2024-07-08 15:16:32 +02:00
Mose Müller fa45ee566b fixes eslint error 2024-07-08 15:16:13 +02:00
Mose Müller 6e8ad98282 frontend: updates when slider notifications are shown 2024-07-08 15:15:42 +02:00
Mose Müller c42872aad4 moves functions from component to the outside (to not cause re-rendering) 2024-07-08 15:15:12 +02:00
Mose Müller 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
Mose Müller 7d50bd5759 frontend: cast type instead of ignoring typescript error 2024-07-08 15:11:05 +02:00
Mose Müller 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
Mose Müller 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
Mose Müller a5a957d290 using tseslint.config in eslint config (for types) 2024-07-08 08:58:04 +02:00
Mose Müller b856ed3a12 using tsParser in eslint config 2024-07-08 08:51:01 +02:00
Mose Müller b83e241b32 Merge pull request #137 from tiqi-group/chore/update_eslint
chore: update eslint config
2024-07-08 08:32:53 +02:00
Mose Müller fb251649a0 updates eslint config, fixes linting errors 2024-07-08 08:30:55 +02:00
Mose Müller 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
Mose Müller 44d73c3b77 adds function testing if private attributes can take values that are not serializable 2024-07-04 17:37:44 +02:00
Mose Müller 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
Mose Müller 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
Mose Müller 81af62dc6e frontend: updates set of packages 2024-07-04 16:53:44 +02:00
Mose Müller 6ffb068f47 npm run build 2024-07-04 16:45:05 +02:00
Mose Müller 73a3283a7d feat: moving from react-create-app to vite
- loads of type fixes
- configuration changes
2024-07-04 16:45:00 +02:00
Mose Müller c0734d58ce updates package-lock.json 2024-07-04 12:53:19 +02:00
Mose Müller 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
Mose Müller b91eaaaf90 npm run build 2024-07-04 12:49:28 +02:00
Mose Müller 4039d29f42 fix: instant string update through frontend 2024-07-04 12:48:56 +02:00
Mose Müller 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
Mose Müller 25459949a0 npm run build 2024-07-04 12:44:46 +02:00
Mose Müller 9649f914ac feat: persist isInstantUpdate and showNotification state changes to localStorage 2024-07-04 12:44:46 +02:00
Mose Müller 4ecc44fdd8 feat: persist state of Collapse components on the client using localStorage 2024-07-04 12:44:46 +02:00
Mose Müller 4cea7eeb59 Merge pull request #132 from tiqi-group/feat/proper_frontend_title
Feat/proper frontend title
2024-07-04 12:27:18 +02:00
Mose Müller 3c48a23277 fix: ruff warning 2024-07-04 12:23:58 +02:00
Mose Müller bfcf72fec7 npm run build 2024-07-04 12:20:07 +02:00
Mose Müller 639161d373 feat: showing service class name in browser tab and on top of the frontend page 2024-07-04 12:19:19 +02:00
Mose Müller 6f3910efd0 docs: fixing typos 2024-05-28 13:17:58 +02:00
Mose Müller fe5d0eed2d Merge pull request #131 from tiqi-group/85-optionally-call-getter-after-setter
Adding validate_set decorator to ensure values are set correctly
2024-05-28 13:12:39 +02:00
Mose Müller a11ab1520f updates version to v0.8.4 2024-05-28 13:12:15 +02:00
Mose Müller ae79150252 adds tests for validate_set timeout 2024-05-28 13:08:01 +02:00
Mose Müller 7fdd08021a ignore mypy error 2024-05-28 12:56:43 +02:00
Mose Müller 00c6d4c068 adds validate_set decorator precision test 2024-05-28 12:08:23 +02:00
Mose Müller f49cdd87e4 updates Readme 2024-05-28 11:45:43 +02:00
Mose Müller 052bf79487 adds setattr validation to observable if validate_set decorator is used 2024-05-28 11:22:18 +02:00
Mose Müller 203cc0f0f5 adds validate_set decorator 2024-05-28 11:22:18 +02:00
Mose Müller 0c54c9d4b7 Merge pull request #130 from tiqi-group/chore/update_workflow_action_versions
Chore/update workflow action versions
2024-05-27 15:35:48 +02:00
Mose Müller 381e73d624 using latest versions of github actions 2024-05-27 15:33:15 +02:00
Mose Müller 9f27f07ccb adds python 3.12 to python package checks 2024-05-27 15:33:01 +02:00