bshah added a comment.

  Great! Since phab ate my nice commit message here we go,
  
  I've re-worked previous revision of patch little bit differently,
  
  - Instead of originally planned Watcher class, now there is 
WatchedNotificationsModel
  - Most if not all of original NotificationsModel code is now moved to 
AbstractNotificationsModel (this move is why the patch looks giant, but there's 
not that much extra code)
  - WatchedNotificationsModel extends AbstractNM, and instead of connecting to 
notification server instance directly, it talks with notificationmanager dbus 
interface
  - And when methods on this bus are called, it adds data in model.
  
  There's some bugs and todos, but they are small enough:
  
  - Unregister watcher when dbus service disappears
  - Fix the notification body being weird xml
  - Maybe add the test.qml I used for testing in repository
  
  I particularly need direction/help for issue 2.
  
  As for testing this, I made sure that all functions of notifications are 
functional in the notification applet in plasmoidviewer and on watcher side 
checked if actions are correctly invoked, notifications are added removed 
properly.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D28509

To: bshah, #plasma, broulik, davidedmundson
Cc: nicolasfella, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart

Reply via email to