26 Commits

Author SHA1 Message Date
Yonas Habteab
b619dd2186 Add activateEntry() & getActiveEntry() interface methods 2023-07-14 20:05:35 +02:00
Yonas Habteab
ee829fd4dc Unify error messages & add some class docblocks 2023-07-14 20:05:35 +02:00
Yonas Habteab
a6483e6e28 Pane: Implement DashboardEntry & add some return type decs & fixlets 2023-07-14 20:05:35 +02:00
Yonas Habteab
e689959839 Redirect properly when the currently active home/pane is removed/moved
When the currently request home/pane is being removed/moved and we're still redirecting
with the `__CLOSE__` url, the removed/moved home/pane will sill remain in the history
state and will produce http not found exceptions
2023-07-14 20:05:34 +02:00
raviks789
8f9a55fcbf Allow adding and editing of dashlet description. 2023-07-14 20:05:34 +02:00
Yonas Habteab
a2e9d3c946 Allow creating same dashlets from different modules 2023-07-14 20:05:34 +02:00
Yonas Habteab
77e759fe8e Pane: Don't break the foreach prematurely when managing dashlets from multiple modules 2023-07-14 20:05:34 +02:00
Yonas Habteab
3058983011 Force to refresh the menu container when removing a home & unset moved entry from the original widget 2023-07-14 20:05:34 +02:00
Yonas Habteab
89b95d74bf Replace usage of LogicException with AlreadyExistsException where applicable 2023-07-14 20:05:34 +02:00
Yonas Habteab
12af0d2ce1 Don't silenty ignore duplicate errors when managing Panes/Dashlets 2023-07-14 20:05:34 +02:00
Yonas Habteab
c4112b40d5 Don't access Request except in controller & activate home/pane by a given name 2023-07-14 20:04:31 +02:00
Yonas Habteab
a8a4738944 Update priority order of the widget being moved properly 2023-07-14 19:51:08 +02:00
Yonas Habteab
0ad7fdca53 Fix some signature inconsistencies 2023-07-14 19:51:08 +02:00
Yonas Habteab
8ba46ac3d3 Don't load orphaned/unusable module dashlets 2023-07-14 19:51:08 +02:00
Yonas Habteab
04495e6276 Adjust Dashboard::getConn() calls & filtering by username 2023-07-14 19:51:08 +02:00
Yonas Habteab
871e1f7191 Move from/toArray() methods to BaseDashboard 2023-07-14 19:51:08 +02:00
Yonas Habteab
d859522c31 Allow browsing predefined dashlets when creating a new dashlet 2023-07-14 19:51:08 +02:00
Yonas Habteab
443a963307 Adjust how module dashlets are handled 2023-07-14 19:51:08 +02:00
Yonas Habteab
4d47f710ae Clean up codes 2023-07-14 19:51:08 +02:00
Yonas Habteab
b597c7c489 Adjust dashbaord conent layouts & don't redirect when sorting only dashlets 2023-07-14 19:51:07 +02:00
Yonas Habteab
e0ee07fc39 Remove some unused interfaces/attrs 2023-07-14 19:51:07 +02:00
Yonas Habteab
8b73811fa7 Adjust param description & extract home properties from a homeitem properly 2023-07-14 19:51:07 +02:00
Yonas Habteab
e688d48167 Pane: Utilize query with dashboard when selecting dashlets 2023-07-14 19:51:07 +02:00
Yonas Habteab
cdd60f965b Do some code refactoring 2023-07-14 19:51:07 +02:00
Yonas Habteab
14bc749556 Dashboard: Provide mini welcome wizard for new users 2023-07-14 19:51:07 +02:00
Yonas Habteab
b11a692780 Introduce new Pane widget 2023-07-14 19:51:07 +02:00