Files
MuditaOS/module-apps/notifications
Michał Kamoń 48f7cf171d [EGD-6755] Add updated notification icons
This PR adds/updates notification icons to latest version provided
by designs.

Also this PR provides new implementation for CallLogDetailsWindow.
The window was using one of the icons updated. To avoid making
temporary corrections on the icon's hardcoded (x,y,w,h) properties,
the entire window was redesign to use up-to-date ModuitaOS GUI
features.
2021-05-19 08:10:49 +02:00
..

Home Screen Notifications

General structure

The general structure is based on the Model-View pattern on the front-end, supplied with a Provider's back-end notifications as follows:

Provider structure

On the provider's end, Notifications are managed by NotificationProvider and sent as an NotificationsChanged action with NotificationsChangedParams via ApplicationManger's Controller.

The NotificationProvider is responsible for creating and managing Notifications. Each Notification represents a unique event and thus at most single object (of a respective type) can be stored in the provider. The provider's structure is shown on following diagram:

Model-View structure

NotificationsModel is responsible for creating and decorating NotificationListItems based on NotificationsChangedParams received. The model serves also as a local provider for gui::ListView.