This is pretty nice, I really like it :D. Although get_single_post can cause a lot of queries, perhaps some caching or grouping can be useful here? This can get slightly tricky given the modular nature of notifications. Or store the body in data column of notifications for preview?
PS: Bug, marking a notification as read when the preview is open doesn't remove the preview container but just the notification
I had another idea though, make the notification's preview appear on hover and on swipedown event for touch devices? That'll be pretty cool.
PS: Bug, marking a notification as read when the preview is open doesn't remove the preview container but just the notification
Posted: May 29th, 2013, 02:37 PM
I had another idea though, make the notification's preview appear on hover and on swipedown event for touch devices? That'll be pretty cool.