Commit Graph

1029 Commits

Author SHA1 Message Date
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
6f3910efd0 docs: fixing typos 2024-05-28 13:17:58 +02:00
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
a11ab1520f updates version to v0.8.4 2024-05-28 13:12:15 +02:00
ae79150252 adds tests for validate_set timeout 2024-05-28 13:08:01 +02:00
7fdd08021a ignore mypy error 2024-05-28 12:56:43 +02:00
00c6d4c068 adds validate_set decorator precision test 2024-05-28 12:08:23 +02:00
f49cdd87e4 updates Readme 2024-05-28 11:45:43 +02:00
052bf79487 adds setattr validation to observable if validate_set decorator is used 2024-05-28 11:22:18 +02:00
203cc0f0f5 adds validate_set decorator 2024-05-28 11:22:18 +02:00
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
381e73d624 using latest versions of github actions 2024-05-27 15:33:15 +02:00
9f27f07ccb adds python 3.12 to python package checks 2024-05-27 15:33:01 +02:00
94cef50e03 combines two lines in _ObservableList.append 2024-05-27 15:22:30 +02:00
9fa8f06280 Merge pull request #127 from tiqi-group/feature/ignore_coroutine
Skip coroutines with arguments instead of raising an exception
v0.8.3
2024-05-27 15:10:46 +02:00
84abd63d56 Merge branch 'main' into feature/ignore_coroutine 2024-05-27 15:08:14 +02:00
999a6016ff using __future__.annotations instead of quoted types 2024-05-27 14:51:49 +02:00