Commit Graph

6 Commits

Author SHA1 Message Date
f1b46b788d Adds structured logging and fixes event reactivity. 2023-09-26 13:32:46 +02:00
fdf10196a0 Refactors Initinialization.
Now we should take care to initialize in the right order.
2023-09-22 17:46:20 +02:00
8450226211 Refactors services with defaultConfig and polled data.
Much more simpler code base. Each service requires a poll functioon to poll its
status. If type is defined, and the registered '+service.ts' exports a poll
ServicePoller, it will be used. Otherwise, a generic poll mechanism is used.
2023-09-22 10:34:51 +02:00
f10e380bb2 Fixes production build with custom services 2023-09-20 15:44:36 +02:00
edbbd2f0f6 Refactors loading function
* Initialize service component and handler in hooks
* Dynamically watch the config instead of a reload on each page
* Uses derived store for public server config
* Moves service data in its own page data property
* Reverts to a array to store group/services
2023-08-13 14:19:39 +02:00
f23f268b60 automatic service registration à la Svelte 2023-08-11 18:49:06 +02:00