I am implementing an activity feed aspect to my app and I’m thinking through different ways to flag when a user has ‘seen’ a message that has been added to a feed.
A couple of thoughts I’ve had are;
- always assume that when the user clicks the ‘Activity Feed’ button that it timestamps on the user datatype so the unread notes counter will count the number of notes with a created or modified date greater than the current users last activity timestamp.
- implement a workflow that looks at whether the current cell (i.e. the activity feed item) ‘has focus’ by the user and write the current user username into a list on the activity (not sure how I would go about this).
Do either of these resemble good practice or is there another best practice way of doing this in Bubble??