Commit Graph

8 Commits (fb901b0d93da99b0a49e963a6a35fd82b7051a98)

Author SHA1 Message Date
Julien Veyssier da74da8a9c
adjust empty array check
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:24:43 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Robin Appelman 0e5944748d
add dashboard api to list widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +07: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 +07:00