optimize(adminui-vue,ubs): ubs_message UI
- Optimize querying of messages inside the
UNavbarNotificationsButton
:
- add limit;
- remove from the field list non-used attributes;
- add the
expireDate>#now
filter to omit the expired notifications; - to manage read/unread messages load only ids of non-expired unread ones and filter them on
portal:notify:readed
.
- Delete excessive msgTypeXXX locales and use the
$lookups.getEnum('UBS_MESSAGE_TYPE', ...)
instead - Add the "Mark all a read" button to read all unread notification messages at once
- Add the infinite scroll pagination on the
ubs_message-fm
- Some other tiny optimizations in vue files
On big production environments ubs_message.getCached
queries are failing because of the huge amount of entries with errors like ERR_RESOURCE_LIMITS_EXCEED
Edited by Mazur Volodymyr