[haiku-bugs] Re: [Haiku] #12809: Implement a Haiku notification Center

  • From: "perelandra" <trac@xxxxxxxxxxxx>
  • Date: Tue, 03 Jan 2017 20:25:18 -0000

#12809: Implement a Haiku notification Center
----------------------------+--------------------
   Reporter:  richienyhus   |      Owner:  nobody
       Type:  enhancement   |     Status:  new
   Priority:  normal        |  Milestone:  R2
  Component:  Applications  |    Version:
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+--------------------

Comment (by perelandra):

 I have notifications being archived by the server now.  Under
 /boot/home/config/cache/Notifications I am saving one file for each
 "group" notifications are sent to.  This file is a flattened BMessage,
 which stores BMessages containing data for each notification received by
 the server.  Each of the notification data messages stores:
 -A copy of the original notification BMessage received by the server.
 This preserves all notification data including onclick values.
 -A timestamp when the message was received by the server.
 -A bool indicating if the notification was shown when it was received.
 Looking at the code indicates there were plans to implement filtering to
 disallow specified notifications from being shown.  If we do this, then
 now the notification can still be archived to view later even if it is not
 shown when sent.

 Looking at the current Notifications preflet the way it is now would only
 show limited information about archived notifications, no icon or onclick
 info is preserved.  I am thinking maybe we can change it so that instead
 of a ColumnListView just showing text data we should actually preview the
 notification view as it was displayed.  Saving the entire original
 notification message as I have done should make that possible.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12809#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: