Joas Schilling
900439ea42
Fix(CI): Satisfy old psalm by being less specific
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-22 13:15:13 +02:00
Richard Steinmetz
3fd18ce450
feat(dashboard): implement widget item api v2
...
This API enables the dashboard to render all widgets from the API data
alone without having apps to provide their own bundles. This saves a lot
of traffic and execution time as a lot less javascript has to be parsed
on the frontend.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-22 10:38:46 +02:00
Julien Veyssier
da74da8a9c
adjust empty array check
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:24:43 +02:00
Robin Appelman
d9e75f00b1
move widget options into a Option class
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:06:21 +02:00
Julien Veyssier
845149bb7c
add IItemOptionWidget to define some item-related parameters, only getItemIconsRound() for now
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:06:21 +02:00
Robin Appelman
a3912e264a
change widget button api to support multiple button types
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman
79adca6b8b
allow adding button to dashboard api output
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman
7f52a99ffb
allow filtering dashboard items api by widgets
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman
0e5944748d
add dashboard api to list widgets
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Julien Veyssier
e15270cbb9
implement dashboard API for clients, new WidgetItem class, new IAPIWidget interface
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-06-15 21:34:00 +02:00