31 Commits

Author SHA1 Message Date
Mose Müller
2d98ba51f4 moves displayName and id to GenericComponent and pass them as props 2024-02-21 15:45:37 +01:00
Mose Müller
fffe679bf0 defines changeCallback function in GenericComponent and passes it to components (instead of setAttribute)
The components do not use the setAttribute method themselves anymore. This way, you can provide
the changeCallback function if you want and thus reuse the components.
2024-02-21 08:32:59 +01:00
Mose Müller
7ef82e61e5 frontend styling 2024-02-01 13:33:22 +01:00
Mose Müller
0ecaeac3fb replaces js interfaces with types 2024-01-16 12:57:35 +01:00
Mose Müller
0e9832e2f1 updates DocStringComponent placement 2024-01-16 12:55:18 +01:00
Mose Müller
9d90fd2b81 displayName of components is now taken from WebSettingsContext 2023-12-21 10:30:21 +01:00
Mose Müller
8e3a1694ce updates frontend components to not have DataService in the fullAccessPath 2023-12-21 10:03:17 +01:00
Mose Müller
729f375901 adds support for quantities in slider component (passing object instead of number) 2023-12-13 10:35:28 +01:00
Mose Müller
83cd07feee updates SliderComponent to emit attribute updates (instead of full state dict) 2023-12-11 17:30:12 +01:00
Mose Müller
613b1dd6a4 updates addNotification type hints in components 2023-11-27 15:41:30 +01:00
Mose Müller
3cc6399f60 frontend: update style (fix button appearance) 2023-11-09 17:10:21 +01:00
Mose Müller
d18be54284 updates frontend components to use new methods from socket.ts 2023-11-09 13:52:23 +01:00
Mose Müller
1d2325171b fixing eslint errors 2023-10-30 14:14:32 +01:00
Mose Müller
b149c1b411 fix: component ids adhere to html guidelines now 2023-10-30 14:05:39 +01:00
Mose Müller
7dcec88c9a frontend: updating addNotification type hints 2023-10-30 13:26:25 +01:00
Mose Müller
b275446960 adapts slider frontend component (highlights pressed settigns button) 2023-08-17 11:15:39 +02:00
Mose Müller
f7579c3a89 feat: components implement their notifications now
- removing nestedObjectUtils and useNotification hook
- passing addNotification method to all components
- components can use the addNotification method to create their
  notifications
2023-08-10 15:07:49 +02:00
Mose Müller
8205e4d463 chore: changing parent_path to parentPath 2023-08-10 14:24:30 +02:00
Mose Müller
82a21f1e5d frontend: styling SliderComponent 2023-08-08 16:39:13 +02:00
Mose Müller
32ecc9520f feat: adding NumberComponent to SliderComponent 2023-08-08 15:52:31 +02:00
Mose Müller
5400067c18 feat: updating frontend styling
- forms will have red background colour when "instant  update" is enabled
- button styling is in css file now
2023-08-02 12:06:23 +02:00
Mose Müller
5cb30688cf feat: adding instant_update switch 2023-08-02 12:06:22 +02:00
Mose Müller
80fe1051f1 feat: adding "emit_update" function 2023-08-02 12:06:22 +02:00
Mose Müller
3e925c7087 frontend: only display "render count" when in development mode 2023-08-02 12:06:21 +02:00
Mose Müller
6c89059792 frontend: passing parent_path via socketio 2023-08-02 12:06:20 +02:00
Mose Müller
9bbba41309 frontend: updating width of SliderComponent 2023-08-02 12:06:20 +02:00
Mose Müller
a2502c1e74 frontend: updating SliderComponent (using mui slider) 2023-08-02 12:06:20 +02:00
Mose Müller
9c9e11ac51 frontend: remote states from slider component 2023-08-02 12:06:20 +02:00
Mose Müller
bae1752e48 frontend: introducing DocStringComponent 2023-08-02 12:06:20 +02:00
Mose Müller
68c3f6659e frontend: removing unused imports 2023-08-02 12:06:20 +02:00
Mose Müller
fa0d69feb8 frontend: adding SliderComponent 2023-08-02 12:06:20 +02:00